Skip to content

Commit cc1fccd

Browse files
authored
Update slurm.py
Signed-off-by: Alexandros Koumparoulis <[email protected]>
1 parent 97afe02 commit cc1fccd

File tree

1 file changed

+1
-1
lines changed
  • nemo_run/run/torchx_backend/schedulers

1 file changed

+1
-1
lines changed

nemo_run/run/torchx_backend/schedulers/slurm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def schedule(self, dryrun_info: AppDryRunInfo[SlurmBatchRequest | SlurmRayReques
194194
if not os.path.exists(dst_path):
195195
os.makedirs(os.path.dirname(dst_path), exist_ok=True)
196196
with open(dst_path, "w") as f:
197-
f.write(req.materialize())
197+
f.write(str(req.materialize()))
198198

199199
# Run sbatch script
200200
req.launch_cmd += [dst_path]

0 commit comments

Comments
 (0)