fix: fallback windows asr to cpu when gpu runtime is missing
Some checks failed
StoryForge CI / Baseline checks (push) Has been cancelled
StoryForge CI / Backend tests (push) Has been cancelled
StoryForge CI / Web tests (push) Has been cancelled

This commit is contained in:
kris
2026-04-06 11:29:12 +08:00
parent 4ff7efb61c
commit f53a4b4461
3 changed files with 98 additions and 17 deletions

View File

@@ -4,6 +4,11 @@
## 2026-04-06
### Windows ASR GPU 失败时自动回退 CPU
- Windows `ASR HTTP` 现在在 `auto` 模式下仍会优先尝试 `cuda + int8_float16`,但如果在真正推理阶段命中 `cublas/cudnn/cuda` 运行库缺失,会自动切回 `cpu + int8` 重试,不再把整次转写卡死在 GPU 路径。
- 这让“默认优先用 GPU、但当前机器 CUDA 运行库不完整”的场景也能稳定返回结果,同时保留混合中英文自动识别。
### Windows ASR 默认改成 GPU 优先与自动语言识别
- Windows `ASR HTTP` 现在默认不再强锁 `zh + cpu + int8`,而是改成: