@@ -4,14 +4,13 @@ cd /home/yhao/d/benchmark
44
55output=/home/yhao/d/testing/runlog_100ms_train_all.txt
66
7- func (){
8- echo " " > $output
7+ func () {
8+ echo " " > $output
99
10- # for model in fambench_dlrm fambench_xlmr detectron2_maskrcnn vision_maskrcnn timm_efficientnet timm_vision_transformer hf_Bert hf_GPT2 hf_T5
11- for model in fambench_dlrm fambench_xlmr detectron2_maskrcnn vision_maskrcnn timm_efficientnet timm_vision_transformer hf_Bert hf_GPT2 hf_T5 resnet50 timm_resnest resnext50_32x4d hf_BigBird hf_Bart soft_actor_critic alexnet timm_vovnet mobilenet_v3_large vgg16 shufflenet_v2_x1_0 pytorch_unet dlrm mnasnet1_0 resnet50_quantized_qat tts_angular hf_Reformer nvidia_deeprecommender mobilenet_v2_quantized_qat mobilenet_v2 LearningToPaint hf_Longformer opacus_cifar10 resnet18 timm_regnet dcgan maml BERT_pytorch Super_SloMo pytorch_struct pplbench_beanmachine drq pyhpc_isoneutral_mixing hf_Albert attention_is_all_you_need_pytorch moco Background_Matting pyhpc_turbulent_kinetic_energy maml_omniglot pyhpc_equation_of_state timm_nfnet demucs densenet121 pytorch_CycleGAN_and_pix2pix tacotron2 squeezenet1_1 fastNLP_Bert pytorch_stargan hf_DistilBert speech_transformer yolov3 timm_efficientdet
12- do
10+ # for model in fambench_dlrm fambench_xlmr detectron2_maskrcnn vision_maskrcnn timm_efficientnet timm_vision_transformer hf_Bert hf_GPT2 hf_T5
11+ for model in fambench_dlrm fambench_xlmr detectron2_maskrcnn vision_maskrcnn timm_efficientnet timm_vision_transformer hf_Bert hf_GPT2 hf_T5 resnet50 timm_resnest resnext50_32x4d hf_BigBird hf_Bart soft_actor_critic alexnet timm_vovnet mobilenet_v3_large vgg16 shufflenet_v2_x1_0 pytorch_unet dlrm mnasnet1_0 resnet50_quantized_qat tts_angular hf_Reformer nvidia_deeprecommender mobilenet_v2_quantized_qat mobilenet_v2 LearningToPaint hf_Longformer opacus_cifar10 resnet18 timm_regnet dcgan maml BERT_pytorch Super_SloMo pytorch_struct pplbench_beanmachine drq pyhpc_isoneutral_mixing hf_Albert attention_is_all_you_need_pytorch moco Background_Matting pyhpc_turbulent_kinetic_energy maml_omniglot pyhpc_equation_of_state timm_nfnet demucs densenet121 pytorch_CycleGAN_and_pix2pix tacotron2 squeezenet1_1 fastNLP_Bert pytorch_stargan hf_DistilBert speech_transformer yolov3 timm_efficientdet; do
1312
14- # this part is for total overhead
13+ # this part is for total overhead
1514 # echo "@Yueming Hao: start model tests" >> $output
1615 # echo "@Yueming Hao: Run $model" >> $output
1716 # { time python run.py -d cuda -t train $model >> $output 2>&1 ; } 2>> $output
@@ -27,28 +26,27 @@ func(){
2726 # { time python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1 ; } 2>> $output
2827 # echo "@Yueming Hao: end model tests" >> $output
2928
30-
31- # this part is for computation overhead
32- echo " @Yueming Hao: start model tests" >> $output
33- echo " @Yueming Hao: Run $model " >> $output
34- python run.py -d cuda -t train $model >> $output 2>&1
35- python run.py -d cuda -t train $model >> $output 2>&1
36- python run.py -d cuda -t train $model >> $output 2>&1
37- python run.py -d cuda -t train $model >> $output 2>&1
38- python run.py -d cuda -t train $model >> $output 2>&1
39- echo " @Yueming Hao: Run $model with dcgm flops" >> $output 2>&1
40- python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
41- python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
42- python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
43- python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
44- python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
45- echo " @Yueming Hao: end model tests" >> $output
46- done
29+ # this part is for computation overhead
30+ echo " @Yueming Hao: start model tests" >> $output
31+ echo " @Yueming Hao: Run $model " >> $output
32+ python run.py -d cuda -t train $model >> $output 2>&1
33+ python run.py -d cuda -t train $model >> $output 2>&1
34+ python run.py -d cuda -t train $model >> $output 2>&1
35+ python run.py -d cuda -t train $model >> $output 2>&1
36+ python run.py -d cuda -t train $model >> $output 2>&1
37+ echo " @Yueming Hao: Run $model with dcgm flops" >> $output 2>&1
38+ python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
39+ python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
40+ python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
41+ python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
42+ python run.py -d cuda -t train --flops dcgm $model >> $output 2>&1
43+ echo " @Yueming Hao: end model tests" >> $output
44+ done
4745
4846}
4947
50- func
48+ func
5149
5250# output=runlog_100ms_all.txt
5351
54- # func
52+ # func
0 commit comments