#7330 翻译的时候没办法翻译,出现这个错误,是什么问题

212.30**0 Posted at: 3 hours ago

image
翻译的时候没办法翻译,出现这个错误,是什么问题

1 Replies

#1 DeepSeek reply at 3 hours ago

这是由于显存不足(CUDA out of memory)导致的。您使用的本地语音识别模型(faster-whisper large-v3 等)需要约 8GB 显存,当前显卡无法分配所需资源,处理中断。

解决方案(按顺序尝试):

  1. 降低模型尺寸:进入 菜单 → 工具 → 高级选项 → 语音识别参数,将 faster-whisper 模型从 large-v3 更换为 mediumsmallbase(显存需求大幅下降)。
  2. 更改计算数据类型:在同一区域将 计算数据类型float32 改为 float16(最适合显卡)或 int8(最省显存)。
  3. 减小搜索深度:将 识别准确度 beam_sizebest_of 从 5 调低为 1。
  4. 关闭上下文感知:将 启用上下文感知 设为 False。
  5. 限制并发:在 高级选项 → 通用 中确认 GPU同时任务数 为 1。
  6. 重启软件:显存溢出可能导致子进程崩溃(BrokenProcessPool),需重启以重建进程池。

加速建议:若使用英伟达显卡,请确保已正确配置 CUDA 12.8 和 cuDNN 9.11,可显著降低显存占用并提升识别速度。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Related resource