Downloads · 30 days
62
19% of all-time downloads
Blightbow/MiMo-V2.5-Text-Only-oQ4-MLX
MiMo-V2.5-Text-Only-oQ4-MLX is a text generation model from Blightbow. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
A text-only, mixed-precision MLX quantization of XiaomiMiMo/MiMo-V2.5, produced with oMLX's oQ4 quantizer.
Downloads · 30 days
62
19% of all-time downloads
All-time downloads
325
Public
Parameters
309B
177 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors177 GB · 100%
How the weights are stored.
U32309B · 100%
From the Hugging Face model README
A text-only, mixed-precision MLX quantization of
XiaomiMiMo/MiMo-V2.5, produced
with oMLX's oQ4 quantizer.
MiMo-V2.5 is a sparse Mixture-of-Experts model with 310B total and 15B activated parameters, a hybrid sliding-window and global attention stack, and a 1M token context window. This artifact contains the language backbone only.
| Size on disk | 164.59 GiB across 30 shards |
| Tensors | 1244 |
| Average precision | approximately 4.6 bits per weight |
| Model type | mimo_v2 (MiMoV2ForCausalLM) |
| Layers | 48 (1 dense, 47 MoE), 9 global attention, 39 sliding window |
| Quantizer | oMLX v0.5.4.dev1, oQ4 |
The vendored mlx-lm MiMo-V2 implementation exposes the language backbone only,
so the vision tower, audio encoder, speech embeddings and MTP heads are dropped
during conversion. Verified against model.safetensors.index.json:
| Tensor prefix | Count in this artifact |
|---|---|
visual. | 0 |
audio_encoder. | 0 |
speech_embeddings. | 0 |
model.mtp. | 0 |
This model cannot process images, video or audio, and it carries no speculative-decoding heads. If you need the omnimodal capabilities, use the upstream checkpoint with a runtime that supports them.
config.json still carries some multimodal metadata (vision_model_type,
processor_config) and a preprocessor_config.json is present, both inherited
from the base checkpoint. No weights back them.
oQ is sensitivity-driven mixed precision rather than a uniform cast. The base
grid is 4-bit, group_size 64, affine, with 197 modules promoted to 8-bit.
| Component | Modules | Precision |
|---|---|---|
MoE expert stacks (switch_mlp gate / up / down, 47 layers) | 141 | 4-bit, group 64, affine |
Attention projections (q_proj, k_proj, v_proj, o_proj, 48 layers) | 192 | 8-bit, group 64, affine |
| Dense MLP (layer 0) | 3 | 8-bit |
embed_tokens, lm_head | 2 | 8-bit |
MoE routers (mlp.gate.weight), norms, attention sink biases | 133 | bfloat16, not quantized |
Keeping every attention projection and the embedding and output layers at 8-bit is where most of the extra budget goes. The MoE expert weights carry the bulk of the parameters and are the part that is quantized to 4 bits.
The sensitivity map used for this conversion was measured, not inferred from layer position. The source is a native FP8 checkpoint whose bf16 calibration footprint (about 587 GB) exceeds what fits alongside the quantizer, so oMLX auto-built a uniform 4-bit proxy on disk and measured sensitivity against that:
oQ4: calibration footprint (586.8 GB) exceeds 75% of calibration capacity
(488.0 GB; limit=366.0 GB, system available=489.9 GB, Metal available=488.0 GB).
Full-model calibration will use a proxy.
MiMo-V2.5 stores attention as a single fused qkv_proj that is already sharded
for tensor parallelism, with a block-128 weight_scale_inv whose padding is
interleaved per shard rather than trailing. Dequantizing that as one block grid
crosses shard boundaries and silently produces wrong weights on the 9 global
attention layers, which are the only ones that carry padding.
This artifact was produced with a shard-aware dequant, and the fused tensors are
fully resolved into split projections: 0 remaining qkv_proj tensors, and 48
each of q_proj, k_proj, v_proj and o_proj.
mlx-lm does not yet ship a MiMo-V2 implementation upstream (ml-explore/mlx-lm#1219 is open), so this checkpoint needs a runtime that provides it. oMLX vendors that patch and is the runtime this artifact was built and tested with.
Apple silicon with enough unified memory to hold 164.59 GiB of weights plus KV cache. This was built and tested on a 512 GB M3 Ultra.
config.json declares an auto_map, so loading through Transformers would
require trust_remote_code=True. The MLX path resolves the model class from the
runtime instead.
Built with oMLX v0.5.4.dev1 plus two fixes that this conversion depends on:
vision_config, so without
this the calibration load is handed to mlx-vlm and fails.qkv_proj
tensors remain (both checked against the tensor index).config.json reconcile exactly with the
scale and bias tensor counts in the index: 338 quantized modules, 197 at
8-bit and 141 at 4-bit.No benchmark scores are claimed here. Quantization changes model behaviour, and the upstream evaluation numbers do not transfer to a 4-bit derivative.
The base model is MIT licensed and this derivative follows the same license. Review the upstream model card for intended use and limitations.
This is an unofficial community quantization. It is not affiliated with, sponsored by, or endorsed by Xiaomi.