显卡驱动更新后,fun_asr_nano模型用不了

未关闭
#4,013 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python, pytorch
领域
backend

调研方向

The report identifies a Windows 10 NVIDIA GTX 1650 setup and logs the hang during Fun-ASR-Nano model loading in llama.cpp; it does not name repository files or provide a final error. Start by reproducing with the reported driver and model, then inspect the Fun-ASR-Nano loader and its llama.cpp backend setup. Done means the cause is identified and Fun-ASR-Nano loads successfully, or the incompatible configuration is documented.

由索引模型根据 Issue 内容生成。

描述

needs triage question

Question

显卡:NVIDIA GeForce GTX 1650
更新成最新驱动后(最新为32.0.16.2140),fun_asr_nano模型没法正常使用了。一直卡在这一步不动,log如下:
10:11:54.120 INFO [ tray_manager.py:39 ] 托盘图标已启用
10:11:54.125 DEBUG [ check_model.py:28 ] 检查模型文件, 类型: fun_asr_nano
10:11:54.126 INFO [ check_model.py:108] 模型文件检查通过 (fun_asr_nano)
10:11:54.984 INFO [ process_manager.py:67 ] 识别子进程已拉起 (PID: 20012)
10:11:54.984 INFO [ process_manager.py:76 ] 正在等待子进程加载模型...
10:11:55.834 DEBUG [ worker.py:62 ] Worker 运行环境配置完成
10:11:55.834 INFO [ worker.py:70 ] Worker 正在加载语音识别模型...
10:11:55.854 INFO [ model_loader.py:46 ] Loader 开始初始化语音系统 (引擎: fun_asr_nano)
10:11:55.919 INFO [ llama.py:420] 初始化 llama.cpp,跳转至:D:\Develop\CapsWriter-Offline\core\server\engines\llama\bin
10:11:55.926 INFO [ llama.py:178] load_backend: loaded RPC backend from D:\Develop\CapsWriter-Offline\core\server\engines\llama\bin\ggml-rpc.dll

What have you tried?

没更新驱动之前可以使用。
或直接使用sensevoice也没问题。
但如果使用Fun-ASR-Nano,就卡在上述步骤,无法进行下一步。
以下这些参数都尝试过更改,也没有用:
# 集成显卡兼容性补丁
# os.environ["GGML_VK_DISABLE_COOPMAT"] = "1" # AMD集显无法加载 GGUF 模型时尝试
# os.environ["GGML_VK_DISABLE_F16"] = "1" # 集成显卡解码有误,强制熔断时尝试
itn = True # 原生输出阿拉伯数字
onnx_provider = 'CPU'
# 显卡加速
onnx_provider = 'CPU' # ONNX 推理后端 (CPU, DML)
llm_use_gpu = True # 是否启用 GPU 加速 GGUF 模型
vulkan_force_fp32 = False # 是否强制 FP32 计算(如果 GPU 是 Intel 集显且出现精度溢出,可设为 True)

另外也进行过显卡层面的参数调整。同样没有作用。

Environment

  • OS:win10
  • Python version:
  • FunASR version:
  • ModelScope version:
  • PyTorch / torchaudio version:
  • Install method (pip, source, Docker):pip
  • Device (cuda, cpu, mps):cpu
  • GPU model:Fun-ASR-Nano
  • CUDA/cuDNN version:默认
  • Docker image tag, if used:
主要语言
Python
星标
21.2k
派生
2.2k
平均合并
5 小时 38 分钟
30 天内合并 PR
116

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

modelscope/FunASR 的其他 Issue

查看 modelscope/FunASR 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。