Text Generation
Transformers
Safetensors
English
Chinese
mimo_v2
multimodal
vision-language
audio
long-context
nvfp4
fp8
quantization
sglang
dflash
eagle
mtp
conversational
custom_code
8-bit precision
Instructions to use r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4
- SGLang
How to use r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4 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 "r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4" \ --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": "r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4", "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 "r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4" \ --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": "r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4 with Docker Model Runner:
docker model run hf.co/r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4
Download .conv_stats/worker0of3.json from r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4: direct link, hf CLI and curl.
- Browser
- Download file 959 Bytes
-
https://huggingface.co/r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4/resolve/main/.conv_stats/worker0of3.json
- Command line
-
hf download hf://r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4/.conv_stats/worker0of3.json
-
curl -L -o worker0of3.json https://huggingface.co/r0b0tlab/MiMo-V2.6-Flash-RL-NVFP4/resolve/main/.conv_stats/worker0of3.json
959 Bytes
| {"shards": ["model_mtp.safetensors", "model_pp0_ep11_shard0.safetensors", "model_pp0_ep14_shard0.safetensors", "model_pp0_ep17_shard0.safetensors", "model_pp0_ep1_shard0.safetensors", "model_pp0_ep22_shard0.safetensors", "model_pp0_ep25_shard0.safetensors", "model_pp0_ep28_shard0.safetensors", "model_pp0_ep30_shard0.safetensors", "model_pp0_ep33_shard0.safetensors", "model_pp0_ep36_shard0.safetensors", "model_pp0_ep39_shard0.safetensors", "model_pp0_ep41_shard0.safetensors", "model_pp0_ep44_shard0.safetensors", "model_pp0_ep47_shard0.safetensors", "model_pp0_ep4_shard0.safetensors", "model_pp0_ep52_shard0.safetensors", "model_pp0_ep55_shard0.safetensors", "model_pp0_ep58_shard0.safetensors", "model_pp0_ep60_shard0.safetensors", "model_pp0_ep63_shard0.safetensors", "model_pp0_ep8_shard0.safetensors"], "blocks": 3104833536, "lossless_blocks": 3104833536, "verify": {"experts": 42, "mismatch_elems": 0, "checked_elems": 1056964608}, "wall_s": 1389.5} |