MiMo-V2.6-Flash-RL Heretic MTP Q3_K GGUF
A MiMo-V2.6-Flash-RL GGUF with the Heretic rank-1 LoRA merged directly into the model weights, while preserving the model's MTP (Multi-Token Prediction) heads, then requantized to Q3_K for efficient multi-GPU inference with llama.cpp.
This release is intended for local research, experimentation, red-teaming, and high-throughput inference.
What is different about this build?
This is not just the base MiMo-V2.6 GGUF with a runtime --lora flag.
The Heretic adapter was merged offline into the MTP-capable model, producing a standalone GGUF that can be loaded directly by llama.cpp.
The final release:
- preserves the integrated MiMo MTP heads
- has the Heretic / reduced-refusal LoRA merged into the weights
- requires no runtime
--lora - works with
--spec-type draft-mtp - works with
-sm tensoracross multiple GPUs - is quantized as Q3_K
- is approximately 138 GiB
- measures approximately 3.83 BPW
- contains 508 tensors
- supports the upstream MiMo chat template and long-context metadata
Model lineage
Base model:
Heretic LoRA:
Official llama.cpp GGUF / multimodal projector:
Inference engine:
File
MiMo-V2.6-Flash-RL-HERETIC-MTP-Q3_K.gguf
Measured local file size:
148,163,996,096 bytes
~138 GiB
Quantization summary from llama-quantize:
model size = 232975.81 MiB (6.31 BPW)
quant size = 141294.49 MiB (3.83 BPW)
How this GGUF was created
The build process used an MTP-capable MiMo-V2.6 GGUF as the base.
1. Merge the original split GGUF
The two MTP GGUF shards were merged with:
llama-gguf-split --merge \
MiMo-V2.6-Flash-RL-UNCENSORED-MTP-BF16-00001-of-00002.gguf \
MiMo-V2.6-Flash-RL-MTP-BF16-MERGED.gguf
2. Merge the Heretic LoRA into the model
The Heretic LoRA was permanently applied using llama-export-lora:
llama-export-lora \
-m MiMo-V2.6-Flash-RL-MTP-BF16-MERGED.gguf \
--lora MiMo-V2.6-Flash-RL-Uncensored-Heretic-lora.gguf \
-o MiMo-V2.6-Flash-RL-HERETIC-MTP-F16.gguf
The export reported:
merged 58 tensors with lora adapters
wrote 508 tensors to output file
3. Quantize the merged model to Q3_K
The merged model was then quantized with:
llama-quantize \
--allow-requantize \
MiMo-V2.6-Flash-RL-HERETIC-MTP-F16.gguf \
MiMo-V2.6-Flash-RL-HERETIC-MTP-Q3_K.gguf \
Q3_K \
64
--allow-requantize was required because the source GGUF contained a mixture of tensor types, including pre-quantized MXFP4 expert tensors.
The final quantization completed in approximately:
731 seconds
Tested hardware
This release was tested on:
CPU: AMD EPYC platform
GPU: 7x NVIDIA GeForce RTX 3090 24 GB
Total visible VRAM: ~169 GB
CUDA devices: 0,1,2,3,4,5,6
llama.cpp: 0.5.0-dev
CUDA backend
The model was tested using tensor split across all 7 GPUs.
Benchmark results
These are real local measurements from the released Heretic MTP Q3_K GGUF.
256K context — MTP N=1
Context: 262144
Generated tokens: 4096
Sustained generation: 76.50 tokens/s
MTP acceptance: 77.00%
Accepted/generated: 1781 / 2313
Mean accepted length: 1.77
This was the best sustained configuration in the tests below.
256K context — MTP N=2
Sustained generation: 75.94 tokens/s
MTP acceptance: 57.61%
Accepted/generated: 2192 / 3805
Mean accepted length: 2.15
Peak 3-second rate: 81.56 tokens/s
256K context — MTP N=3
Sustained generation: 66.58 tokens/s
MTP acceptance: 41.21%
Accepted/generated: 2263 / 5492
Mean accepted length: 2.24
512K context — MTP N=2
Context: 524288
Sustained generation: ~72.26 tokens/s
MTP acceptance: ~57.61%
Performance will vary with prompt, output distribution, MTP acceptance rate, PCIe topology, CUDA version, GPU clocks, and llama.cpp build.
Recommended text server command
The best tested configuration was MTP with n-max=1 at 256K context:
NCCL_P2P_LEVEL=SYS \
NCCL_SHM_DISABLE=1 \
NCCL_ALGO=Ring \
NCCL_PROTO=LL \
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6 \
CUDA_SCALE_LAUNCH_QUEUES=4x \
./llama-server \
-m MiMo-V2.6-Flash-RL-HERETIC-MTP-Q3_K.gguf \
-ngl 999 \
-sm tensor \
-ts 1,1,1,1,1,1,1.10 \
-fa on \
-c 262144 \
-np 1 \
-b 2048 \
-ub 256 \
-ctk q8_0 \
-ctv q8_0 \
--spec-draft-type-k q8_0 \
--spec-draft-type-v q8_0 \
--spec-type draft-mtp \
--spec-draft-n-max 1 \
--spec-draft-p-min 0 \
--host 0.0.0.0 \
--port 8080
There is no --lora argument because the Heretic adapter is already merged into this GGUF.
Multimodal / vision
The upstream MiMo-V2.6 model is omnimodal. With llama.cpp, multimodal input uses a separate projector.
The tested projector was:
mmproj-MiMo-V2.6-Flash-RL-Q8_0.gguf
It can be downloaded from:
Example vision server:
NCCL_P2P_LEVEL=SYS \
NCCL_SHM_DISABLE=1 \
NCCL_ALGO=Ring \
NCCL_PROTO=LL \
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6 \
CUDA_SCALE_LAUNCH_QUEUES=4x \
./llama-server \
-m MiMo-V2.6-Flash-RL-HERETIC-MTP-Q3_K.gguf \
--mmproj mmproj-MiMo-V2.6-Flash-RL-Q8_0.gguf \
--no-mmproj-offload \
-ngl 999 \
-sm tensor \
-ts 1,1,1,1,1,1,1.10 \
-fa on \
-c 262144 \
-np 1 \
-b 2048 \
-ub 256 \
-ctk q8_0 \
-ctv q8_0 \
--spec-type none \
--host 0.0.0.0 \
--port 8080
Important: multimodal + MTP
In the tested llama.cpp build, multimodal input and MTP speculative decoding together could trigger a sequence-position / KV-cache error similar to:
the tokens of sequence 0 in the input batch have inconsistent sequence positions
failed to process speculative batch
For multimodal use, --spec-type none was therefore used.
This is a llama.cpp runtime limitation/bug observed during testing and may be fixed in newer builds.
Download
Using the Hugging Face CLI:
hf download \
CarnaK/MiMo-V2.6-Flash-RL-Heretic-MTP-Q3_K-GGUF \
MiMo-V2.6-Flash-RL-HERETIC-MTP-Q3_K.gguf \
--local-dir .
About the Heretic modification
This release incorporates the Heretic LoRA from MorinoNushi directly into the weights.
The upstream Heretic project describes the adapter as a directional-ablation / reduced-refusal modification. This release does not claim independent safety or refusal-rate measurements beyond the behavior observed during local testing.
For methodology and the adapter author's evaluation, see:
Responsible use
The Heretic modification intentionally reduces refusal behavior compared with the base model.
As a result, this model can generate material that the upstream model may refuse. Outputs may also be incorrect, hallucinated, unsafe, or otherwise unsuitable for real-world use.
Use it responsibly and comply with applicable laws and platform policies. Do not treat model output as authoritative medical, legal, financial, safety, or professional advice.
Credits
Many thanks to:
- XiaomiMiMo for MiMo-V2.6-Flash-RL
- MorinoNushi for the Heretic LoRA and
heretic-gguf - p-e-w for Heretic
- ggml-org for
llama.cpp, GGUF tooling, MTP support, and the MiMo multimodal projector
This repository packages a community-built quantized derivative. I did not train the original MiMo model or create the Heretic ablation method.
License
The upstream MiMo-V2.6-Flash-RL model is released under the MIT License, and the Heretic LoRA repository is also published under MIT.
Please review the licenses and terms of all upstream projects before redistribution or deployment.
Reproduction notes
Tested model metadata included:
architecture: mimo2
block_count: 51
context_length: 1048576
embedding_length: 4096
expert_count: 256
expert_used_count: 8
nextn_predict_layers: 3
tensor_count: 508
The GGUF therefore retains the MiMo MTP metadata required by llama.cpp for:
--spec-type draft-mtp
Built and tested by CarnaK.