Skip to content

Commit

Permalink
Update deepspeed_gpt3_small.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
king-menin authored Feb 17, 2021
1 parent 5f7aecf commit 64b86c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deepspeed_gpt3_small.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ gpt_options=" \
--deepspeed_config src/deepspeed_config/gpt3_small_2048.json \
"

run_cmd="mpirun --np ${NUM_GPUS_PER_WORKER} python ../pretrain_gpt3.py $@ ${gpt_options}"
run_cmd="USE_DEEPSPEED=1 mpirun --np ${NUM_GPUS_PER_WORKER} python ../pretrain_gpt3.py $@ ${gpt_options}"
echo "${run_cmd}"
eval "${run_cmd}"

Expand Down

0 comments on commit 64b86c9

Please sign in to comment.