Skip to content

Commit

Permalink
Fix sdk references
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wolf <[email protected]>
  • Loading branch information
ryantwolf committed Aug 6, 2024
1 parent 59e9145 commit 2b04fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/nemo_run/launch_slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def main():
script_command=curator_command,
)

executor = sdk.resolve(SlurmExecutor, "nemo_curator_slurm_executor")
with sdk.Experiment("example_nemo_curator_exp", executor=executor) as exp:
executor = run.resolve(SlurmExecutor, "nemo_curator_slurm_executor")
with run.Experiment("example_nemo_curator_exp", executor=executor) as exp:
exp.add(curator_job.to_script(), tail_logs=True)
exp.run(detach=False)

Expand Down

0 comments on commit 2b04fca

Please sign in to comment.