Image-Text-to-Text
Transformers
Safetensors
mimo_v2
text-generation
Mixture of Experts
pruned
expert-pruning
reap
hope
mxfp4
fp8
multimodal
vision
audio
video
mtp
custom_code
conversational
8-bit precision
Instructions to use patrickbdevaney/MiMo-V2.6-Flash-REAP50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patrickbdevaney/MiMo-V2.6-Flash-REAP50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="patrickbdevaney/MiMo-V2.6-Flash-REAP50", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("patrickbdevaney/MiMo-V2.6-Flash-REAP50", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use patrickbdevaney/MiMo-V2.6-Flash-REAP50 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "patrickbdevaney/MiMo-V2.6-Flash-REAP50" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "patrickbdevaney/MiMo-V2.6-Flash-REAP50", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/patrickbdevaney/MiMo-V2.6-Flash-REAP50
- SGLang
How to use patrickbdevaney/MiMo-V2.6-Flash-REAP50 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "patrickbdevaney/MiMo-V2.6-Flash-REAP50" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "patrickbdevaney/MiMo-V2.6-Flash-REAP50", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "patrickbdevaney/MiMo-V2.6-Flash-REAP50" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "patrickbdevaney/MiMo-V2.6-Flash-REAP50", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use patrickbdevaney/MiMo-V2.6-Flash-REAP50 with Docker Model Runner:
docker model run hf.co/patrickbdevaney/MiMo-V2.6-Flash-REAP50
Card corrections: describe only measured results
Browse files
README.md
CHANGED
|
@@ -14,10 +14,31 @@ tags:
|
|
| 14 |
# MiMo-V2.6-Flash-REAP50
|
| 15 |
|
| 16 |
`XiaomiMiMo/MiMo-V2.6-Flash-RL` with **50% of its routed experts removed** — 256
|
| 17 |
-
experts per layer down to **128** —
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## How the experts were chosen
|
| 23 |
|
|
@@ -68,6 +89,8 @@ no router here is worse than simply slicing the teacher's.
|
|
| 68 |
- The `dflash/` speculative-decoding draft head from the source repo is **not** included: it was
|
| 69 |
trained against the unpruned expert set and is not valid for this checkpoint.
|
| 70 |
- Pruned MoE experts do not come back. This is a lossy, irreversible transform of the base model.
|
|
|
|
|
|
|
| 71 |
|
| 72 |
## Provenance
|
| 73 |
|
|
|
|
| 14 |
# MiMo-V2.6-Flash-REAP50
|
| 15 |
|
| 16 |
`XiaomiMiMo/MiMo-V2.6-Flash-RL` with **50% of its routed experts removed** — 256
|
| 17 |
+
experts per layer down to **128** — sized to fit a single NVIDIA Jetson AGX Thor
|
| 18 |
+
(117 GiB unified memory). 86.1 GiB across 65 shards. It has **not yet been served or
|
| 19 |
+
benchmarked**; see *Corrections (2026-10-24)*.
|
| 20 |
+
|
| 21 |
+
The vision and audio towers are untouched and `audio_tokenizer/` ships with the checkpoint;
|
| 22 |
+
image, audio and video inputs have not been tested on the pruned model.
|
| 23 |
+
|
| 24 |
+
## Corrections (2026-10-24)
|
| 25 |
+
|
| 26 |
+
Earlier wording implied more than has been measured. **No weights were changed**; only the
|
| 27 |
+
description is corrected.
|
| 28 |
+
|
| 29 |
+
1. **Never served or benchmarked.** This checkpoint was published without being run for
|
| 30 |
+
generation. No quality evaluation (perplexity, generative or task accuracy) and no throughput
|
| 31 |
+
measurement has been made on any hardware. Decode-speed figures associated with this release
|
| 32 |
+
(for example "~5 tok/s" on Jetson AGX Thor) are memory-bandwidth arithmetic, not measurements.
|
| 33 |
+
2. **1M context is an estimate, not a tested capability.** That the weights plus a 1M-token KV cache
|
| 34 |
+
fit in 117 GiB comes from sizing arithmetic (about 115 GiB, a ~2 GiB margin). No long-context run
|
| 35 |
+
or needle-in-a-haystack test has been done, and calibration covered sequences of at most 4,095
|
| 36 |
+
tokens.
|
| 37 |
+
3. **The retention figures are a proxy.** The per-domain numbers are retained gated output mass on
|
| 38 |
+
the calibration corpus, computed at selection time. They are not an end-to-end quality result.
|
| 39 |
+
4. **Planned:** a serving measurement on Jetson AGX Thor (decode tok/s, plus needle-in-a-haystack
|
| 40 |
+
at long context) and an end-to-end comparison against the unpruned model. This note will be
|
| 41 |
+
replaced with those results.
|
| 42 |
|
| 43 |
## How the experts were chosen
|
| 44 |
|
|
|
|
| 89 |
- The `dflash/` speculative-decoding draft head from the source repo is **not** included: it was
|
| 90 |
trained against the unpruned expert set and is not valid for this checkpoint.
|
| 91 |
- Pruned MoE experts do not come back. This is a lossy, irreversible transform of the base model.
|
| 92 |
+
- Not yet served: no throughput, long-context or end-to-end quality measurement exists for this
|
| 93 |
+
checkpoint (see *Corrections (2026-10-24)*).
|
| 94 |
|
| 95 |
## Provenance
|
| 96 |
|