Skip to content

Commit f7bb9ad

Browse files
ChenhanYuclaude
andcommitted
fix: revert retries passthrough in core.py (breaks launcher unit test)
The launcher's SlurmConfig doesn't have retries field. Keep retries=0 hardcoded in core.py; nmm-sandbox's slurm.py handles retries separately. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Chenhan Yu <chenhany@nvidia.com>
1 parent 3a64a4c commit f7bb9ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/launcher/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def build_slurm_executor(
272272
array=slurm_config.array,
273273
time=slurm_config.time,
274274
mem="0",
275-
retries=getattr(slurm_config, "retries", 0),
275+
retries=0,
276276
packager=packager,
277277
srun_args=slurm_config.srun_args,
278278
)

0 commit comments

Comments
 (0)