Image-Text-to-Text
Transformers
Safetensors
qwen3_5
mimo_v2
agentic
autoround
vllm
code
tool-use
nvfp4
conversational
8-bit precision
compressed-tensors
Run this model with HF Jobs
Run OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4") 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 AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4") model = AutoModelForMultimodalLM.from_pretrained("OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4", device_map="auto") 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?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-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": "OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4", "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/OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4
- SGLang
How to use OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-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 "OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-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": "OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4", "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 "OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-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": "OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4", "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 OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4 with Docker Model Runner:
docker model run hf.co/OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4
Download quantization_config.json from OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4: direct link, hf CLI and curl.
- Browser
- Download file 5.81 kB
-
https://huggingface.co/OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4/resolve/main/quantization_config.json
- Command line
-
hf download hf://OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4/quantization_config.json
-
curl -L -o quantization_config.json https://huggingface.co/OpenTensorLab/MiMo-V2.6-Distill-Qwen-9B-NVFP4/resolve/main/quantization_config.json
5.81 kB
| { | |
| "config_groups": { | |
| "group_0": { | |
| "targets": [ | |
| "Linear" | |
| ], | |
| "weights": { | |
| "num_bits": 4, | |
| "type": "float", | |
| "symmetric": true, | |
| "group_size": 16, | |
| "strategy": "tensor_group", | |
| "block_structure": null, | |
| "dynamic": false, | |
| "actorder": null, | |
| "scale_dtype": "torch.float8_e4m3fn", | |
| "zp_dtype": null, | |
| "observer": null, | |
| "observer_kwargs": {} | |
| }, | |
| "input_activations": { | |
| "num_bits": 4, | |
| "type": "float", | |
| "symmetric": true, | |
| "group_size": 16, | |
| "strategy": "tensor_group", | |
| "block_structure": null, | |
| "dynamic": "local", | |
| "actorder": null, | |
| "scale_dtype": "torch.float8_e4m3fn", | |
| "zp_dtype": null, | |
| "observer": "static_minmax", | |
| "observer_kwargs": {} | |
| }, | |
| "output_activations": null, | |
| "format": null | |
| } | |
| }, | |
| "quant_method": "compressed-tensors", | |
| "kv_cache_scheme": null, | |
| "format": "nvfp4-pack-quantized", | |
| "quantization_status": "compressed", | |
| "global_compression_ratio": null, | |
| "ignore": [ | |
| "re:.*mtp.*", | |
| "re:.*visual.*", | |
| "model.visual.blocks.0.attn.qkv", | |
| "model.visual.blocks.0.attn.proj", | |
| "model.visual.blocks.0.mlp.linear_fc1", | |
| "model.visual.blocks.0.mlp.linear_fc2", | |
| "model.visual.blocks.1.attn.qkv", | |
| "model.visual.blocks.1.attn.proj", | |
| "model.visual.blocks.1.mlp.linear_fc1", | |
| "model.visual.blocks.1.mlp.linear_fc2", | |
| "model.visual.blocks.2.attn.qkv", | |
| "model.visual.blocks.2.attn.proj", | |
| "model.visual.blocks.2.mlp.linear_fc1", | |
| "model.visual.blocks.2.mlp.linear_fc2", | |
| "model.visual.blocks.3.attn.qkv", | |
| "model.visual.blocks.3.attn.proj", | |
| "model.visual.blocks.3.mlp.linear_fc1", | |
| "model.visual.blocks.3.mlp.linear_fc2", | |
| "model.visual.blocks.4.attn.qkv", | |
| "model.visual.blocks.4.attn.proj", | |
| "model.visual.blocks.4.mlp.linear_fc1", | |
| "model.visual.blocks.4.mlp.linear_fc2", | |
| "model.visual.blocks.5.attn.qkv", | |
| "model.visual.blocks.5.attn.proj", | |
| "model.visual.blocks.5.mlp.linear_fc1", | |
| "model.visual.blocks.5.mlp.linear_fc2", | |
| "model.visual.blocks.6.attn.qkv", | |
| "model.visual.blocks.6.attn.proj", | |
| "model.visual.blocks.6.mlp.linear_fc1", | |
| "model.visual.blocks.6.mlp.linear_fc2", | |
| "model.visual.blocks.7.attn.qkv", | |
| "model.visual.blocks.7.attn.proj", | |
| "model.visual.blocks.7.mlp.linear_fc1", | |
| "model.visual.blocks.7.mlp.linear_fc2", | |
| "model.visual.blocks.8.attn.qkv", | |
| "model.visual.blocks.8.attn.proj", | |
| "model.visual.blocks.8.mlp.linear_fc1", | |
| "model.visual.blocks.8.mlp.linear_fc2", | |
| "model.visual.blocks.9.attn.qkv", | |
| "model.visual.blocks.9.attn.proj", | |
| "model.visual.blocks.9.mlp.linear_fc1", | |
| "model.visual.blocks.9.mlp.linear_fc2", | |
| "model.visual.blocks.10.attn.qkv", | |
| "model.visual.blocks.10.attn.proj", | |
| "model.visual.blocks.10.mlp.linear_fc1", | |
| "model.visual.blocks.10.mlp.linear_fc2", | |
| "model.visual.blocks.11.attn.qkv", | |
| "model.visual.blocks.11.attn.proj", | |
| "model.visual.blocks.11.mlp.linear_fc1", | |
| "model.visual.blocks.11.mlp.linear_fc2", | |
| "model.visual.blocks.12.attn.qkv", | |
| "model.visual.blocks.12.attn.proj", | |
| "model.visual.blocks.12.mlp.linear_fc1", | |
| "model.visual.blocks.12.mlp.linear_fc2", | |
| "model.visual.blocks.13.attn.qkv", | |
| "model.visual.blocks.13.attn.proj", | |
| "model.visual.blocks.13.mlp.linear_fc1", | |
| "model.visual.blocks.13.mlp.linear_fc2", | |
| "model.visual.blocks.14.attn.qkv", | |
| "model.visual.blocks.14.attn.proj", | |
| "model.visual.blocks.14.mlp.linear_fc1", | |
| "model.visual.blocks.14.mlp.linear_fc2", | |
| "model.visual.blocks.15.attn.qkv", | |
| "model.visual.blocks.15.attn.proj", | |
| "model.visual.blocks.15.mlp.linear_fc1", | |
| "model.visual.blocks.15.mlp.linear_fc2", | |
| "model.visual.blocks.16.attn.qkv", | |
| "model.visual.blocks.16.attn.proj", | |
| "model.visual.blocks.16.mlp.linear_fc1", | |
| "model.visual.blocks.16.mlp.linear_fc2", | |
| "model.visual.blocks.17.attn.qkv", | |
| "model.visual.blocks.17.attn.proj", | |
| "model.visual.blocks.17.mlp.linear_fc1", | |
| "model.visual.blocks.17.mlp.linear_fc2", | |
| "model.visual.blocks.18.attn.qkv", | |
| "model.visual.blocks.18.attn.proj", | |
| "model.visual.blocks.18.mlp.linear_fc1", | |
| "model.visual.blocks.18.mlp.linear_fc2", | |
| "model.visual.blocks.19.attn.qkv", | |
| "model.visual.blocks.19.attn.proj", | |
| "model.visual.blocks.19.mlp.linear_fc1", | |
| "model.visual.blocks.19.mlp.linear_fc2", | |
| "model.visual.blocks.20.attn.qkv", | |
| "model.visual.blocks.20.attn.proj", | |
| "model.visual.blocks.20.mlp.linear_fc1", | |
| "model.visual.blocks.20.mlp.linear_fc2", | |
| "model.visual.blocks.21.attn.qkv", | |
| "model.visual.blocks.21.attn.proj", | |
| "model.visual.blocks.21.mlp.linear_fc1", | |
| "model.visual.blocks.21.mlp.linear_fc2", | |
| "model.visual.blocks.22.attn.qkv", | |
| "model.visual.blocks.22.attn.proj", | |
| "model.visual.blocks.22.mlp.linear_fc1", | |
| "model.visual.blocks.22.mlp.linear_fc2", | |
| "model.visual.blocks.23.attn.qkv", | |
| "model.visual.blocks.23.attn.proj", | |
| "model.visual.blocks.23.mlp.linear_fc1", | |
| "model.visual.blocks.23.mlp.linear_fc2", | |
| "model.visual.blocks.24.attn.qkv", | |
| "model.visual.blocks.24.attn.proj", | |
| "model.visual.blocks.24.mlp.linear_fc1", | |
| "model.visual.blocks.24.mlp.linear_fc2", | |
| "model.visual.blocks.25.attn.qkv", | |
| "model.visual.blocks.25.attn.proj", | |
| "model.visual.blocks.25.mlp.linear_fc1", | |
| "model.visual.blocks.25.mlp.linear_fc2", | |
| "model.visual.blocks.26.attn.qkv", | |
| "model.visual.blocks.26.attn.proj", | |
| "model.visual.blocks.26.mlp.linear_fc1", | |
| "model.visual.blocks.26.mlp.linear_fc2", | |
| "model.visual.merger.linear_fc1", | |
| "model.visual.merger.linear_fc2", | |
| "lm_head" | |
| ], | |
| "provider": "auto-round" | |
| } |