Skip to content

Commit

Permalink
Propagate error code in ViT tests (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashors1 committed Nov 16, 2023
1 parent dd1c992 commit ab10442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosetta/test-vit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ with wds.TarWriter(out_tar_path) as dst:
EOF

set -x
set -exou pipefail

DATA_PATH="/tmp/dummy_vit_data"
python -m generate_dummy_wds --output_tar_path=${DATA_PATH}

Expand All @@ -151,5 +152,4 @@ python -m t5x.train \
--gin_search_paths=/opt/rosetta \
--gin.CheckpointConfig.save=None \
$([[ $MULTIPROCESS != 0 ]] && echo --multiprocess_gpu)
set +x
echo "Output at ${OUTPUT}"

0 comments on commit ab10442

Please sign in to comment.