forked from marcobornstein/SWIFT
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest-script.sh
19 lines (15 loc) · 1.02 KB
/
test-script.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash
# Lines that begin with #SBATCH specify commands to be used by SLURM for scheduling
#SBATCH --job-name=SWIFT # sets the job name if not set from environment
#SBATCH --time=04:00:00 # how long you think your job will take to complete; format=hh:mm:ss
#SBATCH --account=scavenger # set QOS, this will determine what resources can be requested
#SBATCH --qos=scavenger # set QOS, this will determine what resources can be requested
#SBATCH --partition=scavenger
#SBATCH --gres=gpu:2
#SBATCH --ntasks=4
#SBATCH --mem 32gb # memory required by job; if unit is not specified MB will be assumed
#SBATCH --nice=0
#SBATCH --mail-type=END # Valid type values are NONE, BEGIN, END, FAIL, REQUEUE
module load mpi
module load cuda/11.1.1
mpirun -np 4 python Train.py --name swift-test --graph ring --customLR 1 --sgd_steps 1 --weight_type swift --momentum 0.9 --degree_noniid 0 --noniid 0 --resSize 18 --bs 32 --epoch 10 --wb 1 --description SWIFT-test --randomSeed 3782 --datasetRoot Data --outputFolder Output