Skip to content

Commit d4fdb31

Browse files
authored
Update orchestration/slurm/launchers/accelerate-launcher.slurm
1 parent c9eb196 commit d4fdb31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchestration/slurm/launchers/accelerate-launcher.slurm

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ACCELERATE_CONFIG_FILE=accelerate.yaml
3333
# EDIT if it's not 8-gpus per node
3434
GPUS_PER_NODE=8
3535
NNODES=$SLURM_NNODES
36-
NUM_PROCESSES=$(expr $NNODES \* $GPUS_PER_NODE)
36+
NUM_PROCESSES=$(($NNODES * $GPUS_PER_NODE))
3737

3838
# define the node 0 hostname:port
3939
MASTER_ADDR=$(scontrol show hostnames $SLURM_JOB_NODELIST | head -n 1)

0 commit comments

Comments
 (0)