#8071 语音识别阶段出错[VibeVoice-ASR(内置)] 页面文件太小,无法完成操作。 (os error 1455):Traceback (most recent call last): File

2408**b8a9 Posted at: 1 hour ago

语音识别阶段出错[VibeVoice-ASR(内置)] 页面文件太小,无法完成操作。 (os error 1455):Traceback (most recent call last):
File "videotrans\process\stt_vibeasr.py", line 27, in videasr_fun
File "C:\pyvideotrans\_internal\transformers\modeling_utils.py", line 4368, in from_pretrained

loading_info, disk_offload_index = cls._load_pretrained_model(model, state_dict, checkpoint_files, load_config)

File "C:\pyvideotrans\_internal\transformers\modeling_utils.py", line 4490, in _load_pretrained_model

file_pointer = safe_open(file, framework="pt", device=device, backend=backend)

OSError: 页面文件太小,无法完成操作。 (os error 1455)

Traceback (most recent call last):

File "videotrans\task\job.py", line 35, in run

File "videotrans\task\job.py", line 101, in process_task

File "videotrans\task\_stage_recogn.py", line 63, in recogn

File "videotrans\recognition\__init__.py", line 141, in run

File "videotrans\recognition\_base.py", line 101, in run

File "videotrans\recognition\_vibeasr.py", line 54, in _exec

File "videotrans\configure\base.py", line 277, in _new_process

videotrans.configure.excepts.VideoTransError: 页面文件太小,无法完成操作。 (os error 1455):Traceback (most recent call last):
File "videotrans\process\stt_vibeasr.py", line 27, in videasr_fun
File "C:\pyvideotrans\_internal\transformers\modeling_utils.py", line 4368, in from_pretrained

loading_info, disk_offload_index = cls._load_pretrained_model(model, state_dict, checkpoint_files, load_config)

File "C:\pyvideotrans\_internal\transformers\modeling_utils.py", line 4490, in _load_pretrained_model

file_pointer = safe_open(file, framework="pt", device=device, backend=backend)

OSError: 页面文件太小,无法完成操作。 (os error 1455)
trk=[TransCreate]: uuid='054ed41ca9', proxy_str=None, cfg=[TaskCfgVTT]当前工作模式: 转录并翻译字幕
原始输入文件名: F:/纪录片/Guns.The.Evolution.of.Firearms.2012.S01.720p.BluRay.x264-BiQ/biq-guns.the.evolution.of.firearms.e01.720p.bluray.x264/biq-guns.the.evolution.of.firearms.e01.720p.bluray.x264.mkv,
输出结果保存到文件夹: C:/Users/水兵361/Desktop/新建文件夹/biq-guns.the.evolution.of.firearms.e01.720p.bluray.x264-mkv,
临时文件夹: C:/pyvideotrans/tmp/4508/054ed41ca9
已选 清理已存在
已启用CUDA加速
未选 降噪
语音识别:VibeVoice-ASR(内置), , 发音语言: 英语,
翻译渠道:微软(免费),原始语言:英语,目标语言:简体中文, 已选 发送完整字幕
输出字幕格式: 单字幕, precent=4, hasend=False, should_recogn=True, should_trans=True, should_dubbing=False, should_hebing=False, is_copy_video=True, video_codec_num=264, ignore_align=False, is_audio_trans=False, clone_ref='', should_recogn2=False, do_diarize=False


=
system:Windows-10-10.0.19045-SP0
version:v4.16
frozen:True
language:zh_CN
root_dir:C:/pyvideotrans

1 Replies

#1 DeepSeek reply at 1 hour ago

这是系统资源不足导致的,具体是显存或系统虚拟内存(页面文件)不足以加载 VibeVoice-ASR 模型。VibeVoice-ASR 属于微软出品的重型识别模型,极消耗显存,低于 15GB 显存不建议使用;而错误提示“页面文件太小 (os error 1455)”说明当前 Windows 虚拟内存或 GPU 显存已被占满,模型映射文件失败。

解决方法(按优先级依次尝试)

  1. 更换语音识别渠道:在“语音识别”下拉框中将 VibeVoice-ASR(内置) 切换为 faster-whisper(内置),模型选择 large-v3-turbo(速度与质量均衡,约需 6GB 显存)。
  2. 释放显存/内存:关闭其他占用显存或内存的程序(浏览器、游戏、其他AI软件);如使用了多个任务,请将“高级选项-通用-GPU同时任务数”设为 1。
  3. 扩大系统虚拟内存:Windows 下若物理内存不足,可手动调大页面文件大小:此电脑 → 属性 → 高级系统设置 → 性能-设置 → 高级 → 虚拟内存-更改,选择系统盘,将“自定义大小”的初始值和最大值调大(如 16384MB 以上)。
  4. 降低模型显存占用:若仍想用 VibeVoice-ASR,可打开“高级选项-语音识别参数”,将“计算数据类型”由 float32 改为 float16 或 int8,并将 beam_size/best_of 调低为 1。
  5. 检查 CUDA 与驱动:确保已正确安装 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