未验证 提交 5819c2e5 编写于 作者: C cuicheng01 提交者: GitHub

Merge pull request #2280 from TingquanGao/dev/fix_dali_threads

tipc: set num_workers to 4
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N1C1 device_num=N1C1
max_epochs=1 max_epochs=1
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N1C1 device_num=N1C1
max_epochs=1 max_epochs=1
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N1C1 device_num=N1C1
max_epochs=1 max_epochs=1
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N1C1 device_num=N1C1
max_epochs=1 max_epochs=1
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N1C1 device_num=N1C1
max_epochs=1 max_epochs=1
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N1C1 device_num=N1C1
max_epochs=1 max_epochs=1
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N1C8 device_num=N1C8
max_epochs=8 max_epochs=8
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N1C8 device_num=N1C8
max_epochs=8 max_epochs=8
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N1C8 device_num=N1C8
max_epochs=8 max_epochs=8
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N1C8 device_num=N1C8
max_epochs=8 max_epochs=8
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N1C8 device_num=N1C8
max_epochs=8 max_epochs=8
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N1C8 device_num=N1C8
max_epochs=8 max_epochs=8
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N4C32 device_num=N4C32
max_epochs=32 max_epochs=32
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N4C32 device_num=N4C32
max_epochs=32 max_epochs=32
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N4C32 device_num=N4C32
max_epochs=32 max_epochs=32
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N4C32 device_num=N4C32
max_epochs=32 max_epochs=32
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=amp_fp16 ...@@ -4,7 +4,7 @@ fp_item=amp_fp16
run_mode=DP run_mode=DP
device_num=N4C32 device_num=N4C32
max_epochs=32 max_epochs=32
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
...@@ -4,7 +4,7 @@ fp_item=pure_fp16 ...@@ -4,7 +4,7 @@ fp_item=pure_fp16
run_mode=DP run_mode=DP
device_num=N4C32 device_num=N4C32
max_epochs=32 max_epochs=32
num_workers=8 num_workers=4
# get data # get data
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册