Commit bcea934
perf: use dynamic thread count for FunASR and QwenASR inference
FunASR Nano LLM now uses activeProcessorCount (all CPU cores) instead of
hardcoded 1, reducing flush latency from ~11s to ~0.5s on M4.
QwenASR numThreads defaults to 0 (auto-detect by Rust runtime).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e8484cc commit bcea934
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments