[Bug] WSChuan-ASR Qwen2.5-omni3B 加载失败:SafetensorError: incomplete metadata

#1
by eryy66 - opened

作者你好,

在使用 infer_qwen2.5omni.py 加载 Qwen2.5-omni3B 模型时报错,提示 safetensors 文件元数据不完整。

问题描述:
报错信息为 safetensors_rust.SafetensorError: Error while deserializing header: incomplete metadata, file not fully covered
我已经重新下载了两次模型文件,该错误依然存在,排除了本地下载中断的可能性。请检查 Hugging Face 仓库中的原始模型文件是否在上传时损坏。

报错日志:

Loading checkpoint shards:   0%|          | 0/3 [00:00<?, ?it/s]
Traceback (most recent call last):
  ...
  File ".../transformers/modeling_utils.py", line 483, in load_state_dict
    with safe_open(checkpoint_file, framework="pt") as f:
safetensors_rust.SafetensorError: Error while deserializing header: incomplete metadata, file not fully covered

Sign up or log in to comment