Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions bin/example_scripts/dev_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
export SRCDIR=$HOME/src
export WORKDIR=$SCRATCH/work
nvidia-smi
python3 -m venv $SCRATCH/env --system-site-packages
. $SCRATCH/env/bin/activate
python3 -m pip install ipykernel
python3 -m ipykernel install --user --name=env
jupyter lab --no-browser --ip=0.0.0.0 "${@:1}"
7 changes: 7 additions & 0 deletions bin/example_scripts/recipe_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
export SRCDIR=$HOME/projects
export WORKDIR=$SCRATCH/work
nvidia-smi
python3 -m venv $1/env --system-site-packages
. $1/env/bin/activate
python3 bias_transfer_recipes/main.py "${@:1}"
Loading