-
Notifications
You must be signed in to change notification settings - Fork 0
/
infer.sh
executable file
·32 lines (26 loc) · 907 Bytes
/
infer.sh
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
#!/bin/sh
#SBATCH --partition=research
#SBATCH --time=15:59:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --gpus-per-node=v100:1
#SBATCH --mem=23000
# Memory per node specification is in MB. It is optional.
# The default limit is 3000MB per core.
#SBATCH --job-name="kanbur-script"
#SBATCH --output=test-srun.out
#SBATCH [email protected]
#SBATCH --mail-type=ALL
#Specifies that the job will be requeued after a node failure.
#The default is that the job will not be requeued.
echo "SLURM_JOBID="$SLURM_JOBID
echo "SLURM_JOB_NODELIST"=$SLURM_JOB_NODELIST
echo "SLURM_NNODES"=$SLURM_NNODES
echo "SLURMTMPDIR="$SLURMTMPDIR
echo "working directory = "$SLURM_SUBMIT_DIR
#module load nvidia/cuda/11.6.0
#module list
pip3 install torch torchvision torchaudio torchgeometry opencv-python tqdm
ulimit -s unlimited
python /srv/home/kanbur/double-u-net/euler_inference.py
echo "All Done!"