Skip to content

Commit 1bd4cef

Browse files
committed
fix
Signed-off-by: Hemil Desai <hemild@nvidia.com>
1 parent 990c945 commit 1bd4cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nemo_run/run/ray/slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def get_gres_specification() -> str:
186186
if self.executor.gres:
187187
return f"--gres={self.executor.gres}"
188188
elif self.executor.gpus_per_node:
189-
return f"gpu:{self.executor.gpus_per_node}"
189+
return f"--gres=gpu:{self.executor.gpus_per_node}"
190190
else:
191191
return ""
192192

0 commit comments

Comments
 (0)