#6127 [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Pow node. Name:'/encoder/featur

206.71* Posted at: 15 hours ago

[ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Pow node. Name:'/encoder/feature_extractor/Pow_1' Status Message: bad allocation:Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 161, in faster_whisper
File "faster_whisper\transcribe.py", line 890, in transcribe
File "faster_whisper\vad.py", line 89, in get_speech_timestamps
File "faster_whisper\vad.py", line 343, in call
File "onnxruntime\capi\onnxruntime_inference_collection.py", line 287, in run

self._validate_input(list(input_dict_ort_values.keys()))

onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Pow node. Name:'/encoder/feature_extractor/Pow_1' Status Message: bad allocation

Traceback (most recent call last):
File "videotrans\task\only_one.py", line 52, in run
File "videotrans\task\_stage_recogn.py", line 62, in recogn
File "videotrans\recognition\__init__.py", line 206, in run
File "videotrans\recognition\_base.py", line 92, in run
File "videotrans\recognition\_whisper.py", line 40, in _exec
File "videotrans\recognition\_whisper.py", line 128, in _faster
File "videotrans\configure\base.py", line 272, in _new_process
videotrans.configure.excepts.VideoTransError: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Pow node. Name:'/encoder/feature_extractor/Pow_1' Status Message: bad allocation:Traceback (most recent call last):
File "videotrans\process\stt_faster.py", line 161, in faster_whisper
File "faster_whisper\transcribe.py", line 890, in transcribe
File "faster_whisper\vad.py", line 89, in get_speech_timestamps
File "faster_whisper\vad.py", line 343, in call
File "onnxruntime\capi\onnxruntime_inference_collection.py", line 287, in run

self._validate_input(list(input_dict_ort_values.keys()))

onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Pow node. Name:'/encoder/feature_extractor/Pow_1' Status Message: bad allocation

cfg=[TaskCfgVTT]当前工作模式: 翻译视频或音频 单视频模式
原始输入文件名: C:/Users/Anana/Downloads/Clipto AI Video Downloader I Simplified Wan Animate into One Easy Workflow.mp4,
输出结果保存到文件夹: C:/Users/Anana/Downloads/_video_out/Clipto AI Video Downloader I Simplified Wan Animate into One Easy Workflow-mp4,
临时文件夹: D:/Ai/win-pyvideotrans-v4.07/tmp/4072/4f50ecc167
已选 清理已存在
已选 启用CUDA加速
未选 降噪
语音识别:faster-whisper(本地内置), model_name: distil-large-v3.5, 发音语言: 英语, 断句方式:默认断句
翻译渠道:兼容AI/本地模型,原始语言:英语,目标语言:简体中文, 未选 发送完整字幕
配音渠道:Edge-TTS(免费), 角色:Yunyang(Male/CN), 配音语言:简体中文, 未选 二次语音识别
音量:+0%, 语速:+0%, 已选 音频加速, 未选 视频慢速
字幕: 嵌入硬字幕(双) 目标语言在上双字幕
代理地址:


=
system:Windows-10-10.0.26200-SP0
version:v4.07
frozen:True
language:zh
root_dir:D:/Ai/win-pyvideotrans-v4.07

1 Replies

这是由于显存不足导致的 bad allocation 错误。您的显卡显存无法承载 distil-large-v3.5 模型的计算需求。

请按以下步骤依次尝试(任一成功后即可继续):

  1. 更换更小的模型:在主界面语音识别渠道中选择 large-v3-turbomedium,这两个模型更省显存。
  2. 调整计算数据类型:进入 菜单 → 工具/选项 → 高级选项 → 语音识别参数,将 计算数据类型 改为 int8(最省显存)或 float16
  3. 降级搜索参数:在同一页面将 识别准确度beam_size识别准确度best_of 都设为 1
  4. 关闭上下文感知:确保 启用上下文感知 未勾选。
  5. 暂时关闭CUDA加速:取消主界面 CUDA加速 勾选,使用 CPU 处理(速度慢但可完成)。

如果仍报错,请提供您的显卡型号和显存大小(运行 nvidia-smi 查看),以便进一步分析。

请查阅相关文档:

Post Your Reply
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

Dondate via PayPal

Related resource