Skip to content

Commit

Permalink
Change && to ; to skip failing commands
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
  • Loading branch information
akoumpa committed Jul 31, 2024
1 parent c1ed88b commit 08ef1dd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions launcher_scripts/nemo_launcher/core/stages.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,9 @@ def _make_git_log_command(self, stage_cfg_path: Path):
return []
append_to_file = f"{stage_cfg_path.parent}/git_log.txt"
return [
f"(echo PYT$\"NVIDIA_PYTORCH_VERSION\" && \
git --git-dir=/opt/NeMo/.git log -n 5 --format='NeMo;%h;%aD;%s' && \
git --git-dir=/opt/megatron-lm/.git log -n 5 --format='megatron-lm;%h;%aD;%s' && \
git --git-dir=/opt/NeMo-Framework-Launcher/.git log -n 5 --format='NeMo-Framework-Launcher;%h;%aD;%s' && \
f"(echo PYT$\"NVIDIA_PYTORCH_VERSION\"; \
git --git-dir=/opt/NeMo/.git log -n 5 --format='NeMo;%h;%aD;%s'; \
git --git-dir=/opt/megatron-lm/.git log -n 5 --format='megatron-lm;%h;%aD;%s'; \
git --git-dir=/opt/NeMo-Framework-Launcher/.git log -n 5 --format='NeMo-Framework-Launcher;%h;%aD;%s') > {append_to_file}"
]

Expand Down

0 comments on commit 08ef1dd

Please sign in to comment.