Image-Text-to-Text
GGUF
llama.cpp
llama-cpp
quantization
imatrix
q6_k
q8_0
qwen3_5
code
tool-use
conversational
Instructions to use RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-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 RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-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 RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K # Run inference directly in the terminal: llama cli -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K # Run inference directly in the terminal: ./llama-cli -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
Use Docker
docker model run hf.co/RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
- LM Studio
- Jan
- vLLM
How to use RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-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": "RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF", "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/RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
- Ollama
How to use RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF with Ollama:
ollama run hf.co/RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
- Unsloth Desktop
- Pi
How to use RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF with Docker Model Runner:
docker model run hf.co/RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
- Lemonade
How to use RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
Run and chat with the model
lemonade run user.MiMo-V2.6-Distill-Qwen-9B-GGUF-Q6_K
List all available models
lemonade list
- Hermes Agent
How to use RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-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 RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
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:8080/v1 hermes config set model.default RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
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:8080/v1 \ --custom-model-id "RESMP-DEV/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K" \ --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"
| {%- macro render_value(value) -%} | |
| {%- if value is string -%} | |
| {{- value -}} | |
| {%- else -%} | |
| {{- value | tojson(ensure_ascii=False) -}} | |
| {%- endif -%} | |
| {%- endmacro -%} | |
| {%- macro render_content(message_content) -%} | |
| {%- if message_content is string -%} | |
| {{- message_content -}} | |
| {%- elif message_content is iterable -%} | |
| {%- for part in message_content -%} | |
| {%- if part is not mapping -%} | |
| {{- part -}} | |
| {%- elif part['type'] == 'image' or 'image' in part or 'image_url' in part -%} | |
| {{- '<|vision_start|><|image_pad|><|vision_end|>' -}} | |
| {%- elif part['type'] == 'audio' or part['type'] == 'input_audio' or 'audio' in part or 'audio_url' in part or 'input_audio' in part -%} | |
| {{- '<|mimo_audio_start|><|audio_pad|><|mimo_audio_end|>' -}} | |
| {%- elif part['type'] == 'video' or 'video' in part or 'video_url' in part -%} | |
| {{- '<|vision_start|><|video_pad|><|vision_end|>' -}} | |
| {%- elif 'text' in part -%} | |
| {{- part['text'] -}} | |
| {%- endif -%} | |
| {%- endfor -%} | |
| {%- endif -%} | |
| {%- endmacro -%} | |
| {%- macro render_tools(tools) -%} | |
| {{- 'You are provided with the following tools:\n\n<tools>' -}} | |
| {%- for tool in tools -%} | |
| {{- '\n' ~ (tool | tojson(ensure_ascii=False)) -}} | |
| {%- endfor -%} | |
| {{- '\n</tools>' -}} | |
| {%- endmacro -%} | |
| {%- macro render_tool_calls(tool_calls) -%} | |
| {%- for tool_call in tool_calls -%} | |
| {%- if tool_call.function is defined -%} | |
| {%- set tool_call = tool_call.function -%} | |
| {%- elif tool_call.custom is defined -%} | |
| {%- set tool_call = tool_call.custom -%} | |
| {%- endif -%} | |
| {{- '<tool_call><function=' ~ tool_call.name ~ '>' -}} | |
| {%- if tool_call.input is defined and tool_call.input is string -%} | |
| {{- tool_call.input -}} | |
| {%- elif tool_call.arguments -%} | |
| {%- if tool_call.arguments is string -%} | |
| {{- tool_call.arguments -}} | |
| {%- else -%} | |
| {%- for args_name, args_value in tool_call.arguments | items -%} | |
| {{- '<parameter=' ~ args_name ~ '>' ~ render_value(args_value) ~ '</parameter>' -}} | |
| {%- endfor -%} | |
| {%- endif -%} | |
| {%- endif -%} | |
| {{- '</function></tool_call>' -}} | |
| {%- endfor -%} | |
| {%- endmacro -%} | |
| {%- macro render_assistant_message(message) -%} | |
| {%- generation -%} | |
| {%- set content = render_content(message.content) -%} | |
| {%- set reasoning = message.reasoning_content if message.reasoning_content is string else '' -%} | |
| {{- '<|im_start|>assistant\n<think>' ~ reasoning ~ '</think>' ~ content -}} | |
| {%- if message.tool_calls is defined and message.tool_calls is iterable and message.tool_calls | length > 0 -%} | |
| {{- render_tool_calls(message.tool_calls) -}} | |
| {%- endif -%} | |
| {{- '<|im_end|>' -}} | |
| {%- endgeneration -%} | |
| {%- endmacro -%} | |
| {%- if tools is defined and tools is iterable and tools | length > 0 -%} | |
| {{- '<|im_start|>system\n' ~ render_tools(tools) ~ '<|im_end|>' -}} | |
| {%- endif -%} | |
| {%- for message in messages -%} | |
| {%- if message.role == 'assistant' -%} | |
| {{- render_assistant_message(message) -}} | |
| {%- else -%} | |
| {%- set body = render_content(message.content) -%} | |
| {{- '<|im_start|>' ~ message.role ~ '\n' ~ body -}} | |
| {%- if message.tools is defined and message.tools is iterable and message.tools | length > 0 -%} | |
| {%- if body -%} | |
| {{- '\n\n' -}} | |
| {%- endif -%} | |
| {{- render_tools(message.tools) -}} | |
| {%- endif -%} | |
| {{- '<|im_end|>' -}} | |
| {%- endif -%} | |
| {%- endfor -%} | |
| {%- if add_generation_prompt -%} | |
| {{- '<|im_start|>assistant\n' -}} | |
| {%- if enable_thinking is false -%} | |
| {{- '<think></think>' -}} | |
| {%- endif -%} | |
| {%- endif -%} | |