Skip to content

Commit

Permalink
fix file reverted from some commit hoopla
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed Oct 1, 2024
1 parent 87d46dc commit 8fe6da4
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion tests/weight_loading/run_model_weight_loading_test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
#!/bin/bash
SUCCESS=0

IFS=$'\n' read -d '' -r -a MODEL_CONFIGS < "weight_loading/models.txt"
while getopts "c:" OPT; do
case ${OPT} in
c )
CONFIG="$OPTARG"
;;
\? )
usage
exit 1
;;
esac
done


IFS=$'\n' read -d '' -r -a MODEL_CONFIGS < $CONFIG

for MODEL_CONFIG in "${MODEL_CONFIGS[@]}"
do
Expand Down

0 comments on commit 8fe6da4

Please sign in to comment.