Skip to content

Commit

Permalink
Allow multiple docker experiments with same task names to run at the …
Browse files Browse the repository at this point in the history
…same time (#124)

Signed-off-by: Hemil Desai <[email protected]>
  • Loading branch information
hemildesai authored Dec 16, 2024
1 parent 5b40e95 commit 283c0a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/nemo_run/run/torchx_backend/schedulers/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ def _submit_dryrun(self, app: AppDef, cfg: Executor) -> AppDryRunInfo[DockerJobR
cmd = [role.entrypoint] + role.args
containers.append(
DockerContainer(
name=role.name, command=cmd, executor=_current_executor, extra_env=role.env
name=f"{executor.experiment_id}_{role.name}",
command=cmd,
executor=_current_executor,
extra_env=role.env,
)
)

Expand Down

0 comments on commit 283c0a1

Please sign in to comment.