Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
RapidASR
Commits
437d7451
Unverified
Commit
437d7451
authored
Mar 01, 2023
by
Daniel
Committed by
GitHub
Mar 01, 2023
Browse files
Update readme.md
parent
4d109b21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
cpp_onnx/readme.md
cpp_onnx/readme.md
+21
-0
No files found.
cpp_onnx/readme.md
View file @
437d7451
...
...
@@ -4,6 +4,27 @@
本程序中的预处理及后处理代码,来自于:https://github.com/chenkui164/FastASR
## 线程数与性能关系
测试环境Rocky Linux 8,仅测试cpp版本结果(未测python版本)
简述:
在3台配置不同的机器上分别编译并测试,在fftw和onnxruntime版本都相同的前提下,识别同一个30分钟的音频文件,分别测试不同onnx线程数量的表现。

目前可以总结出大致规律:
并非onnx线程数越多越好
2线程比1线程提升显著,线程再多则提升较小
线程数等于CPU物理核心数时效率最好
实操建议:
大部分场景用3-4线程性价比最高
低配机器用2线程合适
## 演示

...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment