tipc: set num_workers to 4
The benchmark requires threads num to be set 4 when DALI is used for best performance.
And the param num_workers is not worked before commit 80c10bb995
.
pull/2280/head
parent
5264ddaa91
commit
7e239952a8
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C1
|
||||
max_epochs=1
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C1
|
||||
max_epochs=1
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C1
|
||||
max_epochs=1
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C1
|
||||
max_epochs=1
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C1
|
||||
max_epochs=1
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C1
|
||||
max_epochs=1
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C8
|
||||
max_epochs=8
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C8
|
||||
max_epochs=8
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C8
|
||||
max_epochs=8
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C8
|
||||
max_epochs=8
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C8
|
||||
max_epochs=8
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N1C8
|
||||
max_epochs=8
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N4C32
|
||||
max_epochs=32
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N4C32
|
||||
max_epochs=32
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N4C32
|
||||
max_epochs=32
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N4C32
|
||||
max_epochs=32
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=amp_fp16
|
|||
run_mode=DP
|
||||
device_num=N4C32
|
||||
max_epochs=32
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
|
@ -4,7 +4,7 @@ fp_item=pure_fp16
|
|||
run_mode=DP
|
||||
device_num=N4C32
|
||||
max_epochs=32
|
||||
num_workers=8
|
||||
num_workers=4
|
||||
|
||||
# get data
|
||||
bash test_tipc/static/${model_item}/benchmark_common/prepare.sh
|
||||
|
|
Loading…
Reference in New Issue