MLX-native MiMo-V2.5-ASR inference package for Apple Silicon
Project description
mimo-mlx
MLX-native MiMo-V2.5-ASR inference package for Apple Silicon.
This package contains the Python inference code only. Model weights are hosted on Hugging Face as separate repositories:
- INT4: https://huggingface.co/carloshuang1224/MiMo-V2.5-ASR-MLX-INT4
- BF16: https://huggingface.co/carloshuang1224/MiMo-V2.5-ASR-MLX-BF16
- F32: https://huggingface.co/carloshuang1224/MiMo-V2.5-ASR-MLX-F32
The MiMo audio tokenizer is required and is downloaded from
https://huggingface.co/XiaomiMiMo/MiMo-Audio-Tokenizer when using
download=True.
Install
pip install mimo-mlx
Quick Start
from mimo_mlx import load_asr
asr = load_asr("int4", download=True)
text = asr.transcribe("audio.wav", language="zh")
print(text)
Use bf16 for the validated fallback path:
from mimo_mlx import load_asr
asr = load_asr("bf16", download=True)
If the model directories are already present locally:
from mimo_mlx import load_asr
asr = load_asr("int4")
Expected local directory layout:
models/
MiMo-Audio-Tokenizer/
MiMo-V2.5-ASR-int4/
MiMo-V2.5-ASR-bf16/
Notes
- The INT4 package uses MLX quantized safetensors and requires the quantized load path in this package.
- The default
MiMoASR()constructor uses local bf16 paths for quality fallback. - Model weights are not bundled in the PyPI package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mimo_mlx-0.1.0.tar.gz.
File metadata
- Download URL: mimo_mlx-0.1.0.tar.gz
- Upload date:
- Size: 25.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba88ab7fead73f6e8c7412544804f8b34dcfaf38f6be7e67c6c5be471799abf6
|
|
| MD5 |
f28eb63cbda34ea6bdae609361a9f5c0
|
|
| BLAKE2b-256 |
7f463d4c7f27fb790b8a829f37f48f6dfd01c50064a6e544c1117120add7c397
|
File details
Details for the file mimo_mlx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mimo_mlx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 29.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
574014bb48d70300e54c462ca5090926d38f10ec557206780c392ed2289096e8
|
|
| MD5 |
7d41f4d1f5437b20d0c59bf8bf19b49c
|
|
| BLAKE2b-256 |
5923613ff59d71dcb1439d9378bd6602327cdfb739804ba349cff0dbd9c164d1
|