Skip to content

Commit

Permalink
fix minor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
matbun committed Nov 7, 2024
1 parent 9381801 commit 75e0ff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/src/main/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async def test_remote(self, kubeconfig_str: str)->str:
# )
pre_exec_cmd = (
"export CONTAINER_PATH=itwinai_dist_test.sif "
f"singularity pull --force $CONTAINER_PATH docker://{self.full_name} "
f"&& singularity pull --force $CONTAINER_PATH docker://{self.full_name} "
"&& singularity exec $CONTAINER_PATH cat /app/tests/torch/slurm.vega.sh > slurm.vega.sh "
# Activate env on Vega
"&& . /etc/bashrc "
Expand All @@ -112,7 +112,7 @@ async def test_remote(self, kubeconfig_str: str)->str:
"&& export NO_COLOR=1 "
"&& export DIST_MODE=ddp "
"&& export RUN_NAME=ddp-itwinai "
"&& export COMMAND=pytest -v -m torch_dist "
"&& export COMMAND='pytest -v -m torch_dist' "
# Launch code in SLURM job
"&& source slurm.vega.sh "
)
Expand Down

0 comments on commit 75e0ff7

Please sign in to comment.