Skip to content

Commit

Permalink
update_bs (#511)
Browse files Browse the repository at this point in the history
* update_bs

* update_bs
  • Loading branch information
hysunflower authored Dec 7, 2021
1 parent e9da52a commit fd47ab3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmark/run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ for model_mode in ${model_mode_list[@]}; do
run_mode=mp
basicvsr_name=basicvsr
if [ ${model_mode} = ${basicvsr_name} ]; then
CUDA_VISIBLE_DEVICES=0,1,2,3 bash benchmark/run_benchmark.sh ${run_mode} ${bs_item} ${fp_item} ${mode} ${max_iter} ${model_mode} ${config} ${log_interval} ${profile} | tee ${log_path}/gan_dygraph_${model_mode}_${run_mode}_bs${bs_item}_${fp_item}_speed_4gpus4p 2>&1
# CUDA_VISIBLE_DEVICES=0,1,2,3 bash benchmark/run_benchmark.sh ${run_mode} ${bs_item} ${fp_item} ${mode} ${max_iter} ${model_mode} ${config} ${log_interval} ${profile} | tee ${log_path}/gan_dygraph_${model_mode}_${run_mode}_bs${bs_item}_${fp_item}_speed_4gpus4p 2>&1
echo "-----skip 4cards"
else
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 bash benchmark/run_benchmark.sh ${run_mode} ${bs_item} ${fp_item} ${mode} ${max_iter} ${model_mode} ${config} ${log_interval} ${profile} | tee ${log_path}/gan_dygraph_${model_mode}_${run_mode}_bs${bs_item}_${fp_item}_speed_8gpus8p 2>&1
fi
Expand Down

0 comments on commit fd47ab3

Please sign in to comment.