Skip to content

Commit 43d89c2

Browse files
authored
Merge pull request #302 from TaekyungHeo/nemo-fix
Use absolute path for NeMo launcher repository
2 parents def60ed + 82d3d24 commit 43d89c2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cloudai/schema/test_template/nemo_launcher/slurm_command_gen_strategy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ def gen_exec_command(self, tr: TestRun) -> str:
4747
)
4848
self.final_cmd_args["cluster.gpus_per_node"] = self.system.gpus_per_node or "null"
4949

50-
repo_path = tdef.python_executable.git_repo.installed_path
50+
repo_path = (
51+
tdef.python_executable.git_repo.installed_path.absolute()
52+
if tdef.python_executable.git_repo.installed_path is not None
53+
else None
54+
)
5155
if not repo_path:
5256
logging.warning(
5357
f"Local clone of git repo {tdef.python_executable.git_repo} does not exist. "

0 commit comments

Comments
 (0)