Instructions to use tnhnyzc/MiMO-V2.5-MTP-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tnhnyzc/MiMO-V2.5-MTP-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS # Run inference directly in the terminal: llama cli -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS # Run inference directly in the terminal: llama cli -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS # Run inference directly in the terminal: ./build/bin/llama cli -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
Use Docker
docker model run hf.co/tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
- Llama new
- LM Studio
- Jan
- vLLM
How to use tnhnyzc/MiMO-V2.5-MTP-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tnhnyzc/MiMO-V2.5-MTP-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tnhnyzc/MiMO-V2.5-MTP-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
- Ollama
How to use tnhnyzc/MiMO-V2.5-MTP-GGUF with Ollama:
ollama run hf.co/tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
- Unsloth Desktop
- Pi
How to use tnhnyzc/MiMO-V2.5-MTP-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tnhnyzc/MiMO-V2.5-MTP-GGUF with Docker Model Runner:
docker model run hf.co/tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
- Lemonade
How to use tnhnyzc/MiMO-V2.5-MTP-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
Run and chat with the model
lemonade run user.MiMO-V2.5-MTP-GGUF-IQ2_XXS
List all available models
lemonade list
- Hermes Agent
How to use tnhnyzc/MiMO-V2.5-MTP-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:9931/v1 hermes config set model.default tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tnhnyzc/MiMO-V2.5-MTP-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "tnhnyzc/MiMO-V2.5-MTP-GGUF:IQ2_XXS" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
MiMo-V2.5 MTP GGUF
Same-GGUF MiMo-V2.5 builds with the normal target model and appended MTP / nextn tensors, based on XiaomiMiMo/MiMo-V2.5.
MiMo2 MTP support is now available in upstream llama.cpp through PR #26228. No custom fork or separate draft model is required. Use a llama.cpp build containing merge commit 64d528be or later.
Files
MiMo-V2.5-IQ3_S.gguf- IQ3_S-style target quant with appended BF16 MTP tensors.
- Made to replicate AesSedai's MiMo-V2.5 IQ3_S quantization recipe, using AesSedai's imatrix.
- Recipe summary: dense/infra
Q6_K, expert gate/up/downIQ2_S/IQ2_S/IQ3_S, MTP tensors appended asBF16.
IQ2_XXS/- 17-shard IQ2_XXS / Q8-infra + BF16 MTP GGUF set.
- Recipe summary: dense/infra
Q8_0, expert gate/up/downIQ2_XXS,nextn.eh_projBF16, norms/biases leftF32.
Q4_K/- 17-shard Q4_K / Q8-infra + BF16 MTP GGUF set.
- Recipe summary: dense/infra
Q8_0, expert gate/up/downQ4_K,nextn.eh_projBF16, norms/biases leftF32.
Q6_K/- 17-shard Q6_K / Q8-infra + BF16 MTP GGUF set.
- Recipe summary: dense/infra
Q8_0, expert gate/up/downQ6_K,nextn.eh_projBF16, norms/biases leftF32.
Usage
Build current upstream llama.cpp:
git clone https://github.com/ggml-org/llama.cpp
cd llama.cpp
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target llama-server -j
For CUDA, add -DGGML_CUDA=ON to the CMake configuration. For Metal, the default macOS build enables Metal automatically.
Run MTP from the same GGUF:
./build/bin/llama-server \
--model /path/to/MiMo-V2.5-MTP.gguf \
--spec-type draft-mtp \
--spec-draft-n-max 1 \
--temp 0.6 \
-np 1 \
-ngl 99
For split GGUFs, pass the first shard to --model.
Notes
- Recommended starting point:
--spec-draft-n-max 1. - Use
--spec-type draft-mtp; older notes using--spec-type mtprefer to the previous experimental implementation. - This is a same-GGUF draft path. Do not pass a separate draft model.
- The GGUF must include the MiMo MTP /
nextntensors for MTP drafting. Trunk-only MiMo GGUFs continue to work for target-only inference. -np 1is the recommended validation path.- Image/audio input from the original omnimodal MiMo-V2.5 release is not available through this GGUF text path.
Tested Setups
Apple Silicon:
- Apple M3 Max, Metal, 128 GB unified memory.
- MiMo-V2.5 IQ3_S GGUF with appended BF16 MTP tensors.
- Smoke-tested with
--spec-type draft-mtp --spec-draft-n-max 1.
CUDA:
- RTX 3090 + Tesla P40.
- DDR5 system memory with CPU/GPU hybrid offload.
- MiMo-V2.5 IQ2_XXS / Q8-infra GGUF with BF16 MTP tensors.
- Tested with
--spec-type draft-mtp --spec-draft-n-max 1.
Performance
MTP speedup is workload-dependent. These measurements were collected with the IQ2_XXS / Q8-infra + BF16-MTP GGUF on an RTX 3090 + Tesla P40 system using the CUDA backend and --spec-draft-n-max 1:
| workload | target only | MTP | change | acceptance |
|---|---|---|---|---|
| repeated warm prompt | about 22.2 t/s |
24.2-24.4 t/s |
about +9-10% |
84.1% |
| cached chat at about 17.5k context | 21.20 t/s |
23.65 t/s |
+11.6% |
84.1% |
A deterministic 256-token high-margin test produced an identical committed token sequence between target-only and MTP generation, with 127/127 draft tokens accepted.
On Apple M3 Max / Metal with the IQ3_S GGUF, earlier smoke tests showed the same general behavior: high-agreement prompts gained around 10-20%, while lower-agreement prompts were closer to baseline.
Previous Fork
The earlier tnhnyzc/llama-mimo-mtp fork is retained for development history and reference. New deployments should use upstream llama.cpp.
- Downloads last month
- 153
2-bit
3-bit
6-bit
Model tree for tnhnyzc/MiMO-V2.5-MTP-GGUF
Base model
XiaomiMiMo/MiMo-V2.5