Skip to content

Commit

Permalink
fix to traindiff tests GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Feb 13, 2024
1 parent 802e709 commit 0447538
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/traindiffs_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
- name: Run containerized traindiffs test
run: |
docker pull us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_${{ github.head_ref || github.ref_name }}
docker run -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_${{ github.head_ref || github.ref_name }} algoperf_${{ github.head_ref || github.ref_name }} --traindiffs_test true
docker run -v $HOME/data/:/data/ -v $HOME/experiment_runs/:/experiment_runs -v $HOME/experiment_runs/logs:/logs --gpus all --ipc=host us-central1-docker.pkg.dev/training-algorithms-external/mlcommons-docker-repo/algoperf_${{ github.head_ref || github.ref_name }} --traindiffs_test true
9 changes: 5 additions & 4 deletions docker/scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ SAVE_CHECKPOINTS="true"
# Pass flag
while [ "$1" != "" ]; do
case $1 in
--traindiffs_test)
shift
TEST=$1
;;

-d | --dataset)
shift
DATASET=$1
Expand Down Expand Up @@ -126,6 +123,10 @@ while [ "$1" != "" ]; do
shift
RNG_SEED=$1
;;
--traindiffs_test)
shift
TEST=$1
;;
*)
usage
exit 1
Expand Down

0 comments on commit 0447538

Please sign in to comment.