Downloads · 30 days
15
2% of all-time downloads
gaber/MiMo-V2.5-NVFP4-Experts
MiMo-V2.5-NVFP4-Experts is a machine learning model from gaber. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Expert-only NVFP4 quantization of XiaomiMiMo/MiMo-V2.5 (310B MoE, 15B active params).
Downloads · 30 days
15
2% of all-time downloads
All-time downloads
642
Public
Parameters
66.9B
134 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors134 GB · 100%
From the Hugging Face model README
Expert-only NVFP4 quantization of XiaomiMiMo/MiMo-V2.5 (310B MoE, 15B active params).
This is the non-Pro variant — MiMo-V2.5 (310B, hidden_size 4096), quantized identically to how Xiaomi produced their MiMo-V2.5-Pro-FP4-DFlash.
| Step | Details |
|---|---|
| Quantization | Expert-only NVFP4 via NVIDIA ModelOpt 0.44.0 |
| Calibration | 64 synthetic calibration samples |
| KV Cache | FP8 |
| Hardware | Single H200 NVL (141GB VRAM + 773GB RAM) |
| Duration | ~30 min quantization |
MiMo-V2.5 is a Mixture-of-Experts (MoE) model with 256 routed experts per layer. Only the MoE expert weights are quantized to NVFP4 (4-bit NormalFloat), while attention projections, vision encoder (729M), audio encoder (261M), and other modules remain at higher precision.
This matches Xiaomi's own approach for the Pro version:
"We quantize only the MoE experts to FP4 (MXFP4) and keep the other modules at their original precision." — MiMo-V2.5-Pro-FP4-DFlash
| Base (FP8) | This (NVFP4-Experts) | |
|---|---|---|
| Architecture | MiMoV2ForCausalLM | MiMoV2ForCausalLM |
| Total Parameters | 310B | 310B |
| Active Parameters | 15B | 15B |
| Hidden Size | 4096 | 4096 |
| Layers | 48 (1 dense + 47 MoE) | 48 |
| Routed Experts | 256 per layer | 256 per layer |
| Expert Precision | FP8/E8M3 | NVFP4 |
| Attention Precision | BF16/FP8 | Untouched |
| Vision Encoder | 729M (untouched) | 729M (untouched) |
| Audio Encoder | 261M (untouched) | 261M (untouched) |
| Model Size | ~295 GB | ~125 GB |
| MTP Layers | 3 (329M) | 3 (untouched) |
{
"quantization_method": "nvfp4_experts",
"kv_cache_dtype": "fp8",
"quantization_library": "nvidia-modelopt",
"calibration_samples": 64
}
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"gaber/MiMo-V2.5-NVFP4-Experts",
trust_remote_code=True,
device_map="auto",
torch_dtype=torch.bfloat16,
)
tokenizer = AutoTokenizer.from_pretrained(
"gaber/MiMo-V2.5-NVFP4-Experts",
trust_remote_code=True,
)
python3 -m sglang.launch_server \
--model-path gaber/MiMo-V2.5-NVFP4-Experts \
--quantization fp8 \
--trust-remote-code \
--dtype bfloat16 \
--context-length 32768
vllm serve gaber/MiMo-V2.5-NVFP4-Experts \
--quantization fp8 \
--trust-remote-code \
--dtype bfloat16 \
--max-model-len 32768
device_map="auto" (VRAM + RAM split)XiaomiMiMo/MiMo-V2.5 — 310B MoE, 15B active, hybrid SWA/GA attention, 1M context, multimodal (text/image/video/audio).
NVIDIA ModelOpt 0.44.0 — NVFP4 experts-only quantization with 64-sample calibration.
Same as base model: MIT