whisper/convert.py 输出了 `model.safetensors`, 但 `mlx_whisper.load_models` 期望的是 `weights.safetensors`

作者: kinoshitakashi01创建于 2026年5月1日更新于 2026年8月18日

`mlx-whisper` 通过 pip 安装的包会寻找 `weights.safetensors` 或 `weights.npz`,但此仓库中的上游 `whisper/convert.py` 脚本将转换后的权重写入 `model.safetensors`。运行文档中描述的转换命令后,`mlx_whisper.transcribe(path_or_hf_repo=...)` 无法找到权重并崩溃。

内容来源: ml-explore/mlx-examples