Skip to content
Snippets Groups Projects
Commit 0d7d9fae authored by Jan Ebert's avatar Jan Ebert
Browse files

Fix environment with force-purged modules

Also specify `torchvision` version. It's not perfect since it's still
prone to breakage, but at least we forbid known not working versions.

Thanks to @khalfaoui1 for reporting it.
parent f1c468df
No related branches found
No related tags found
No related merge requests found
torch>=1.9,<3 torch>=1.9,<3
torchrun_jsc>=0.0.4 torchrun_jsc>=0.0.4
torchvision torchvision>=0.13
...@@ -20,7 +20,8 @@ export SRUN_CPUS_PER_TASK="$SLURM_CPUS_PER_TASK" ...@@ -20,7 +20,8 @@ export SRUN_CPUS_PER_TASK="$SLURM_CPUS_PER_TASK"
[ -x "$(command -v deactivate)" ] && deactivate [ -x "$(command -v deactivate)" ] && deactivate
module purge module --force purge
module load Stages
source "$curr_dir"/modules.sh source "$curr_dir"/modules.sh
if ! [ -d "$curr_dir"/env ]; then if ! [ -d "$curr_dir"/env ]; then
......
torch>=2,<3 torch>=2,<3
torchrun_jsc>=0.0.4 torchrun_jsc>=0.0.4
torchvision torchvision>=0.13
...@@ -20,7 +20,8 @@ export SRUN_CPUS_PER_TASK="$SLURM_CPUS_PER_TASK" ...@@ -20,7 +20,8 @@ export SRUN_CPUS_PER_TASK="$SLURM_CPUS_PER_TASK"
[ -x "$(command -v deactivate)" ] && deactivate [ -x "$(command -v deactivate)" ] && deactivate
module purge module --force purge
module load Stages
source "$curr_dir"/modules.sh source "$curr_dir"/modules.sh
if ! [ -d "$curr_dir"/env ]; then if ! [ -d "$curr_dir"/env ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment