Instructions to use XiaomiMiMo/MiMo-V2-Flash with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use XiaomiMiMo/MiMo-V2-Flash with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="XiaomiMiMo/MiMo-V2-Flash", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("XiaomiMiMo/MiMo-V2-Flash", trust_remote_code=True, dtype="auto") - Inference
- HuggingChat
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use XiaomiMiMo/MiMo-V2-Flash with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "XiaomiMiMo/MiMo-V2-Flash" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "XiaomiMiMo/MiMo-V2-Flash", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/XiaomiMiMo/MiMo-V2-Flash
- SGLang
How to use XiaomiMiMo/MiMo-V2-Flash 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 "XiaomiMiMo/MiMo-V2-Flash" \ --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": "XiaomiMiMo/MiMo-V2-Flash", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "XiaomiMiMo/MiMo-V2-Flash" \ --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": "XiaomiMiMo/MiMo-V2-Flash", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use XiaomiMiMo/MiMo-V2-Flash with Docker Model Runner:
docker model run hf.co/XiaomiMiMo/MiMo-V2-Flash
Update MiMo-V2-Flash config.json for native Transformers compatibility
❤️ 1
1
#41 opened 15 days ago
by
casinca
Issue with Tool Call Parsing in MiMo-V2-Flash (tau2 Reproduction)
#40 opened 30 days ago
by
seungseop
Update README.md
#38 opened about 1 month ago
by
yxcker
Domain recognition bias: <a> tags preserved only for amazon URLs
#37 opened about 1 month ago
by
kazutoshidayon
When you're going to release MiMo-V2-Flash(Feb 2026) version?
#36 opened 2 months ago
by
MartinPatterson
Install & run XiaomiMiMo/MiMo-V2-Flash easily using llmpm
#35 opened 2 months ago
by
sarthak-saxena
Feb 2026 Model?
1
#33 opened 3 months ago
by
ZeroAurora
[Bug] RoPE initialization for SWA layers modifies shared config object, causing incorrect rope_theta for non-SWA layers
#32 opened 4 months ago
by
sirusGray
Add HLE evaluation result (22.1)
#31 opened 4 months ago
by
burtenshaw
Will supporting mtp model in modeling?
#27 opened 4 months ago
by
sirusGray
Infinite CoT (Chain of Thought) Loop / Failure to converge Claude Code
👍 2
1
#26 opened 4 months ago
by
Svyatoblood
llama-factory sft 微调
#25 opened 4 months ago
by
liuweixiong
Add pipeline_tag and link to technical report
#24 opened 4 months ago
by
nielsr
Testing over the last days
2
#23 opened 5 months ago
by
PriNova
Nice gpt-oss distill
❤️ 3
2
#22 opened 5 months ago
by
ChuckMcSneed
Can this be loaded in transformers? FP8Linear: size mismatch for weight_scale_inv
#21 opened 5 months ago
by
mratsim
Clarification on default prompt template
#20 opened 5 months ago
by
dont-care
Great Model! - sglang mtp support for triton backend
👍 3
4
#19 opened 5 months ago
by
chriswritescode
Working Config for H200 Here
2
#18 opened 5 months ago
by
JeffersonNunn
Q8 and abliteration
👀 1
#17 opened 5 months ago
by
testai111
Browsecomp Reproducibility | 结果复现
👍 2
#16 opened 5 months ago
by
pandemo
工具调用功能调用第一次成功后,之后回答都是乱码
1
#15 opened 5 months ago
by
YUN324
flashinfer报错, 是否支持 RTX 6000pro blackwell?
5
#14 opened 5 months ago
by
lluu8
作为langchain-agent基座存在工具调用不稳定的问题
3
#12 opened 5 months ago
by
BoChen2333
这是自研的还是微调,蒸馏的??
👍🧠 6
9
#8 opened 5 months ago
by
ChangXingyang
Video of Step-by-Step Review and Testing
❤️ 2
#7 opened 5 months ago
by
fahdmirzac
Web-site Xiaomi Mimo Studio doesn't open.
3
#5 opened 5 months ago
by
NikolayKozloff
请问会有多模态的版本吗?
#4 opened 5 months ago
by
thesby
初测这模型可以进开源模型第一梯队
13
#2 opened 5 months ago
by
pypry