diff --git a/README.md b/README.md index 16eb5b3..6413f13 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ python bench.py # if execution is okay: # ===> edit ./core/global_config.py -# ===> edit value of `GPU_REPEATS=1000`, `CPU_REPEATS=100`, `WARMUP=20` +# ===> edit value of `GPU_REPEATS=1000`, `CPU_REPEATS=100`, `WARMUP=20`, `ENABLE_MULTI_THREADS_BENCH=True` # ===> ./clean_bench_result.sh # ===> python bench.py diff --git a/core/global_config.py b/core/global_config.py index a6394f5..b85e416 100644 --- a/core/global_config.py +++ b/core/global_config.py @@ -16,7 +16,7 @@ GPU_REPEATS = 1000 # 1000 CPU_REPEATS = 10 # 100 WARMUP = 20 # 20 -ENABLE_MULTI_THREADS_BENCH = True # accelerate benchmark +ENABLE_MULTI_THREADS_BENCH = False # accelerate benchmark MAX_TIMEOUT_SECOND = 10 # 10, not used for infer command MAX_TIMEOUT_SECOND_ONCE_INFER = 0.5 # used to calc MAX_TIMEOUT_SECOND