We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9eb196 commit d4fdb31Copy full SHA for d4fdb31
orchestration/slurm/launchers/accelerate-launcher.slurm
@@ -33,7 +33,7 @@ ACCELERATE_CONFIG_FILE=accelerate.yaml
33
# EDIT if it's not 8-gpus per node
34
GPUS_PER_NODE=8
35
NNODES=$SLURM_NNODES
36
-NUM_PROCESSES=$(expr $NNODES \* $GPUS_PER_NODE)
+NUM_PROCESSES=$(($NNODES * $GPUS_PER_NODE))
37
38
# define the node 0 hostname:port
39
MASTER_ADDR=$(scontrol show hostnames $SLURM_JOB_NODELIST | head -n 1)
0 commit comments