Skip to content

Commit

Permalink
Fix typo in SlurmExecutor docstring (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: Hemil Desai <hemild@nvidia.com>
  • Loading branch information
hemildesai authored Aug 26, 2024
1 parent d614a8a commit 0001e70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nemo_run/core/execution/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def your_slurm_executor() -> run.SlurmExecutor:
user=os.environ["SLURM_USER"],
job_dir=os.environ["SLURM_JOBDIR"],
)
packager = GitArchivePackager(launcher="torchrun")
packager = GitArchivePackager()
launcher = "torchrun"
executor = SlurmExecutor(
account=os.environ["SLURM_ACCT"],
partition=os.environ["SLURM_PARTITION"],
Expand All @@ -79,6 +80,7 @@ def your_slurm_executor() -> run.SlurmExecutor:
container_image=os.environ["BASE_IMAGE"],
time="00:30:00",
packager=packager,
launcher=launcher,
)
return executor
Expand Down

0 comments on commit 0001e70

Please sign in to comment.