Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Commit f09a68f

Browse files
committed
set default value for enable_multi_thread bench
1 parent 28d5a56 commit f09a68f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ python bench.py
3333

3434
# if execution is okay:
3535
# ===> edit ./core/global_config.py
36-
# ===> edit value of `GPU_REPEATS=1000`, `CPU_REPEATS=100`, `WARMUP=20`
36+
# ===> edit value of `GPU_REPEATS=1000`, `CPU_REPEATS=100`, `WARMUP=20`, `ENABLE_MULTI_THREADS_BENCH=True`
3737
# ===> ./clean_bench_result.sh
3838
# ===> python bench.py
3939

core/global_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
GPU_REPEATS = 1000 # 1000
1717
CPU_REPEATS = 10 # 100
1818
WARMUP = 20 # 20
19-
ENABLE_MULTI_THREADS_BENCH = True # accelerate benchmark
19+
ENABLE_MULTI_THREADS_BENCH = False # accelerate benchmark
2020

2121
MAX_TIMEOUT_SECOND = 10 # 10, not used for infer command
2222
MAX_TIMEOUT_SECOND_ONCE_INFER = 0.5 # used to calc MAX_TIMEOUT_SECOND

0 commit comments

Comments
 (0)