-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSorani-Persian.slurm
More file actions
33 lines (27 loc) · 833 Bytes
/
Sorani-Persian.slurm
File metadata and controls
33 lines (27 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
#SBATCH -p gpuq
#SBATCH -q gpu
#SBATCH --job-name=Sorani-Persian
#SBATCH --nodes=1
#SBATCH --ntasks=8
#SBATCH --mem=32GB
#SBATCH --gres=gpu:A100.80gb:1
#SBATCH --export=ALL
#SBATCH -t 5-0:0:0
#SBATCH --array=1,20,40,60,80,100
#SBATCH --output=/scratch/sahmad46/training/Sorani-Persian-%a-%j.txt
#SBATCH --mail-type=ALL
#SBATCH --mail-user=sahmad46@gmu.edu
ml gnu10; ml cuda; ml cudnn; ml nvidia-hpc-sdk; ml python;
echo "Start process"
echo "SLURM_JOBID: " $SLURM_JOBID
echo "SLURM_ARRAY_TASK_ID: " $SLURM_ARRAY_TASK_ID
echo "SLURM_ARRAY_JOB_ID: " $SLURM_ARRAY_JOB_ID
RUNPATH=/scratch/sahmad46
cd $RUNPATH
echo "Starting Venv"
source $RUNPATH/venvs/joeynmt_torch1/bin/activate
echo "Running the script"
python3 -m joeynmt train training/configs/Sorani-Persian_$SLURM_ARRAY_TASK_ID.yaml
deactivate
echo "End process"