Skip to content

Use model.safetensors with Whisper#1399

Merged
awni merged 1 commit intoml-explore:mainfrom
DePasqualeOrg:whisper-model-safetensors
Dec 15, 2025
Merged

Use model.safetensors with Whisper#1399
awni merged 1 commit intoml-explore:mainfrom
DePasqualeOrg:whisper-model-safetensors

Conversation

@DePasqualeOrg
Copy link
Copy Markdown
Contributor

I've created new Whisper repos on Hugging Face with the weights stored in model.safetensors files for use with my Swift port of Whisper in mlx-swift-audio. Many of the Whisper models in the MLX Community include the weights in .npz format, which Swift apps can't read. OpenAI's Whisper repos on Hugging Face use model.safetensors.

I've updated the model loading logic to look for model.safetensors first and fall back to weights.safetensors and weights.npz. The conversion script now saves the weights as model.safetensors.

@awni awni merged commit e52c128 into ml-explore:main Dec 15, 2025
1 check passed
@ag0n1k
Copy link
Copy Markdown

ag0n1k commented Feb 19, 2026

What is the release policy here? The latest version on PyPI is still 0.4.3 (released Aug 29, 2025). These changes aren’t included in the current  mlx-whisper  Python package, which is confusing when trying conversion for the first time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants