Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mimo_mlx-0.1.0.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mimo_mlx-0.1.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

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

Hashes for mimo_mlx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba88ab7fead73f6e8c7412544804f8b34dcfaf38f6be7e67c6c5be471799abf6
MD5 f28eb63cbda34ea6bdae609361a9f5c0
BLAKE2b-256 7f463d4c7f27fb790b8a829f37f48f6dfd01c50064a6e544c1117120add7c397

See more details on using hashes here.

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

Hashes for mimo_mlx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 574014bb48d70300e54c462ca5090926d38f10ec557206780c392ed2289096e8
MD5 7d41f4d1f5437b20d0c59bf8bf19b49c
BLAKE2b-256 5923613ff59d71dcb1439d9378bd6602327cdfb739804ba349cff0dbd9c164d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page