Created
April 19, 2019 12:13
-
-
Save Spijkervet/a47eefadd58ecde1595ab20567029a24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#SBATCH --job-name=pytorch_1 | |
#SBATCH --ntasks=1 | |
#SBATCH --cpus-per-task=3 | |
#SBATCH --ntasks-per-node=1 | |
#SBATCH --time=1:00:00 | |
#SBATCH --mem=60000M | |
#SBATCH --partition=gpu_shared_course | |
#SBATCH --gres=gpu:1 | |
module purge | |
module load eb | |
module load Python/3.6.3-foss-2017b | |
module load cuDNN/7.0.5-CUDA-9.0.176 | |
module load NCCL/2.0.5-CUDA-9.0.176 | |
export LD_LIBRARY_PATH=/hpc/eb/Debian9/cuDNN/7.1-CUDA-8.0.44-GCCcore-5.4.0/lib64:$LD_LIBRARY_PATH | |
pip3 install --user torch torchvision | |
srun python3 -u train_convnet_pytorch.py --dataset=cifar10 --dataroot=. --cuda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment