Skip to content

[asr] 使用foundry local whisper时转写失败 #941

Description

@GZXK135

现象

当使用local whisper进行转写时失败。
log:
2026-08-10T11:58:17.4824722Z [ERROR] [coord] Foundry Local Whisper transcribe failed: transcribe Foundry Local Whisper chunk 1/1 with model whisper-medium: transcribe audio with Foundry model whisper-medium: command execution error: Error: Microsoft.ML.OnnxRuntimeGenAI.OnnxRuntimeGenAIException: Non-zero status code returned while running Conv node. Name:'/encoder/encoder/conv1/Conv' Status Message: CUDNN_FE failure 11: CUDNN_BACKEND_API_FAILED ; GPU=0 ; hostname=GZX-ALIENWARE ; file=C:\a_work\1\s\onnxruntime\core\providers\cuda\nn\conv.cc ; line=496 ; expr=s_.cudnn_fe_graph->execute(cudnn_handle, s_.variant_pack, ws.get());
at Microsoft.ML.OnnxRuntimeGenAI.Result.VerifySuccess(IntPtr) + 0x47
at Microsoft.ML.OnnxRuntimeGenAI.Generator.SetInputs(NamedTensors) + 0x1f
at Microsoft.AI.Foundry.Local.AudioClient.Transcribe(String, String, Nullable`1) + 0xaa0
at Microsoft.AI.Foundry.Local.NativeInterop.<>c__DisplayClass10_0.<b__10>d.MoveNext() + 0xa8
--- End of stack trace from previous location ---
at Microsoft.AI.Foundry.Local.NativeInterop.d__9.MoveNext() + 0xb8
2026-08-10T11:58:18.2129629Z [WARN] [coord] 自动静默重试第 1/2 次失败: transcribe Foundry Local Whisper chunk 1/1 with model whisper-medium
2026-08-10T11:58:19.4447643Z [WARN] [coord] 自动静默重试第 2/2 次失败: transcribe Foundry Local Whisper chunk 1/1 with model whisper-medium

影响

无法转写

建议接受标准

可以转写

TODO / 不确定项

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions