From f09a68f81044da911072e4b9058349b11e839037 Mon Sep 17 00:00:00 2001 From: NotBad Date: Sun, 23 Aug 2020 20:40:55 +0800 Subject: [PATCH] set default value for enable_multi_thread bench --- README.md | 2 +- core/global_config.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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