From 65a62c0966f14940904ddeb98587b12ac93b442f Mon Sep 17 00:00:00 2001 From: Taekyung Heo Date: Fri, 15 Nov 2024 15:04:36 -0500 Subject: [PATCH] Use absolute path for NeMo launcher repository --- .../test_template/nemo_launcher/slurm_command_gen_strategy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cloudai/schema/test_template/nemo_launcher/slurm_command_gen_strategy.py b/src/cloudai/schema/test_template/nemo_launcher/slurm_command_gen_strategy.py index 2ca4392d..ae535f4c 100644 --- a/src/cloudai/schema/test_template/nemo_launcher/slurm_command_gen_strategy.py +++ b/src/cloudai/schema/test_template/nemo_launcher/slurm_command_gen_strategy.py @@ -53,7 +53,9 @@ def gen_exec_command(self, tr: TestRun) -> str: f"Local clone of git repo {tdef.python_executable.git_repo} does not exist. " "Please ensure to run installation before running the test." ) - repo_path = self.system.install_path / tdef.python_executable.git_repo.repo_name # dry-run compatibility + repo_path = ( + self.system.install_path / tdef.python_executable.git_repo.repo_name + ).absolute() # dry-run compatibility venv_path = tdef.python_executable.venv_path if not venv_path: logging.warning(