forked from yale-sys/prompt-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eval_acc.slurm
23 lines (21 loc) · 844 Bytes
/
eval_acc.slurm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/zsh
#SBATCH --mem=128g
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=32 # <- match to OMP_NUM_THREADS
#SBATCH --partition=gpuA100x4 # <- or one of: gpuA100x4 gpuA40x4 gpuA100x8 gpuMI100x8
#SBATCH --account=bccn-delta-gpu
#SBATCH --job-name=eval_acc
#SBATCH --time=10:00:00 # hh:mm:ss for the job
### GPU options ###
#SBATCH --gpus-per-node=4
##SBATCH --gpu-bind=none # <- or closest
#SBATCH [email protected]
#SBATCH --mail-type="BEGIN,END"
module reset # drop modules and explicitly load the ones needed
# (good job metadata and reproducibility)
# $WORK and $SCRATCH are now set
module load python # ... or any appropriate modules
module list # job documentation and metadata
echo "job is starting on `hostname`"
srun python3 eval_acc.py --num_gpus=4