Skip to content

Commit f18de05

Browse files
committed
update slurms.
1 parent 1401e9a commit f18de05

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

scripts/integrated_gradients.slurm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
#
33
#SBATCH --nodes=1
44
#SBATCH --tasks-per-node=1
5-
#SBATCH --partition=A40short
5+
#SBATCH --partition=A100devel
66
#SBATCH --job-name=tr_net
77
#SBATCH --output=./out/train_net-%j.out
88
#SBATCH --error=./out/train_net-%j.err
99
#SBATCH --gres gpu:1
1010
#SBATCH --cpus-per-task=8
1111
echo "training network..."
1212

13-
module load cuDNN
14-
module load Python
15-
pip install "jax[cuda11_cudnn82]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
13+
module load Anaconda3
1614
pip install -r requirements.txt
1715

1816
python ./src/mnist_integrated.py

scripts/train.slurm

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
#
33
#SBATCH --nodes=1
44
#SBATCH --tasks-per-node=1
5-
#SBATCH --partition=A40short
5+
#SBATCH --partition=A40devel
66
#SBATCH --job-name=tr_net
77
#SBATCH --output=./out/train_net-%j.out
88
#SBATCH --error=./out/train_net-%j.err
99
#SBATCH --gres gpu:1
1010
#SBATCH --cpus-per-task=8
1111
echo "training network..."
1212

13-
module load cuDNN
14-
module load Python
15-
pip install "jax[cuda11_cudnn82]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
13+
module load Anaconda3
1614
pip install -r requirements.txt
1715

1816
python ./src/deepfake_interpretation.py

0 commit comments

Comments
 (0)