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

Commit

Permalink
set default value for enable_multi_thread bench
Browse files Browse the repository at this point in the history
  • Loading branch information
ysh329 committed Aug 23, 2020
1 parent 28d5a56 commit f09a68f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion core/global_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f09a68f

Please sign in to comment.