Skip to content

Commit

Permalink
Hardcoded batch size.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrzej Szablewski <[email protected]>
  • Loading branch information
TheRootOf3 authored and Adamliu1 committed Jun 11, 2024
1 parent 331aadf commit 0e49f82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eval_framework_tasks/run_experiment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ do
echo $(date)
echo "Evaluating $model..."

HF_HOME=/scratch0/aszablew/.huggingface CUDA_VISIBLE_DEVICES=0 nohup $LAUNCHER --num_processes=1 -m lm_eval --model hf \
HF_HOME=/scratch0/aszablew/.huggingface CUDA_VISIBLE_DEVICES=2 nohup $LAUNCHER --num_processes=1 -m lm_eval --model hf \
--model_args pretrained=$MODELS_PATH/$model \
--tasks $TASKS \
--device "cuda" \
--batch_size auto:8 \
--batch_size 16 \
--trust_remote_code \
--output_path $RESULTS_PATH/$model/$model.json &> $LOGS_PATH/$model.log

Expand Down

0 comments on commit 0e49f82

Please sign in to comment.