Instructions to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound", filename="MiroThinker-v1.5-30B-Q2_K_S.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S # Run inference directly in the terminal: llama-cli -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S # Run inference directly in the terminal: llama-cli -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
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 Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S # Run inference directly in the terminal: ./llama-cli -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
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 Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S # Run inference directly in the terminal: ./build/bin/llama-cli -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
Use Docker
docker model run hf.co/Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
- LM Studio
- Jan
- vLLM
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
- Ollama
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with Ollama:
ollama run hf.co/Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
- Unsloth Studio
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound to start chatting
- Pi
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
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 Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with Docker Model Runner:
docker model run hf.co/Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
- Lemonade
How to use Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound:Q2_K_S
Run and chat with the model
lemonade run user.MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound-Q2_K_S
List all available models
lemonade list
Model Details
This model is a mixed GGUF Q2_K_S format of miromind-ai/MiroThinker-v1.5-30B generated by the intel/auto-round algorithm based on the paper SignRoundV2: Toward Closing the Performance Gap in Extremely Low-Bit Post-Training Quantization for LLMs.
In this configuration, the Embedding layer and lm-head layer fallback to 8 bits, and non-expert layers fallback to 4 bits.
Please follow the license of the original model.
How To Use
Llama.cpp inference
./llama-cli -hf Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound
Generate the model
Please use auto-round 0.9.2 or >=0.95 as 0.93/0.94 have device bugs that causing the quantization process very slow
import torch
from auto_round import AutoRound
from auto_round.utils import llm_load_model
model_name = "miromind-ai/MiroThinker-v1.5-30B"
model, tokenizer=llm_load_model(model_name,trust_remote_code=False,device="cpu")
layer_config = {}
for n, m in model.named_modules():
if isinstance(m,torch.nn.Embedding):
layer_config[n] = {"bits": 8}
if isinstance(m, torch.nn.Linear):
if n=="lm_head":
layer_config[n] = {"bits": 8}
continue
if "expert" in n and "shared_experts" not in n:
layer_config[n] = {"bits": 2}
elif n != "lm_head":
layer_config[n] = {"bits": 4}
print(n, 4)
ar = AutoRound(model, tokenizer=tokenizer, iters=0, scheme="gguf:q2_k_s", layer_config=layer_config)
ar.quantize_and_save(format="gguf:q2_k_s", output_dir="./MiroThinker-v1.5-30B-gguf-q2ks-mixed")
Ethical Considerations and Limitations
The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.
Therefore, before deploying any applications of the model, developers should perform safety testing.
Caveats and Recommendations
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
Here are a couple of useful links to learn more about Intel's AI software:
Disclaimer
The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.
Cite
@article{cheng2025signroundv2,
title={SignRoundV2: Closing the Performance Gap in Extremely Low-Bit Post-Training Quantization for LLMs},
author={Cheng, Wenhua and Zhang, Weiwei and Guo, Heng and Shen, Haihao},
journal={arXiv preprint arXiv:2512.04746},
year={2025}
}
- Downloads last month
- 207
2-bit
Model tree for Intel/MiroThinker-v1.5-30B-gguf-q2ks-mixed-AutoRound
Base model
Qwen/Qwen3-30B-A3B-Thinking-2507