Instructions to use ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-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 ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-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 ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S # Run inference directly in the terminal: llama cli -hf ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S # Run inference directly in the terminal: llama cli -hf ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S # Run inference directly in the terminal: ./build/bin/llama cli -hf ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
Use Docker
docker model run hf.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
- Llama new
- LM Studio
- Jan
- vLLM
How to use ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-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": "ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
- Ollama
How to use ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF with Ollama:
ollama run hf.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
- Unsloth Desktop
- Pi
How to use ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF with Docker Model Runner:
docker model run hf.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
- Lemonade
How to use ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
Run and chat with the model
lemonade run user.Inkling-2-Mini-GSQ-RCO-GGUF-IQ2_S
List all available models
lemonade list
- Hermes Agent
How to use ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-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 ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_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:9931/v1 hermes config set model.default ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S
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:9931/v1 \ --custom-model-id "ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF:IQ2_S" \ --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"
Inkling-2-Mini · GSQ-RCO GGUFs
Non-uniform GGUF quantizations of a 26B-parameter, 128-expert looped MoE, produced with GSQ and RCO.
Overview
This repository provides GGUF quantizations of Inkling-2-Mini at four sizes: IQ2_S (2.75 bits per weight), Q2_K_XL (3.00), IQ3_XXS (3.25) and IQ3_S (3.50). In contrast to uniform quantization, which applies a single quantization type to all weight tensors, each model here assigns a separate quantization type to every tensor. The assignment is obtained by a gradient-based search that allocates precision according to per-tensor sensitivity, subject to a total size budget. The resulting files are standard GGUF.
Inkling-2-Mini is a looped sparse mixture-of-experts model with 26.4B parameters: 24 layers, of which the middle 12 run three times with the same weights, 128 routed experts per layer, of which 8 are active per token, and a 1M-token context window. The routed experts dominate the parameter count, so they also dominate the size budget, and the search spends most of its freedom there, assigning a quantization type per layer (not per expert, which GGUF cannot express).
The token embedding is kept at BF16 in every build: llama.cpp holds it in system memory, so it takes no VRAM. See Why the token embedding is BF16.
Method summary. GSQ provides accurate low-bit scalar quantization of each tensor at a given quantization type; RCO assigns the per-tensor quantization types under a size budget. Together they yield a non-uniform GGUF at the requested size.
| Method | Description |
|---|---|
| GSQ (Gumbel-Softmax Quantization, paper, code) | Post-training scalar quantization that jointly learns the per-coordinate grid assignments and the per-group scales via a Gumbel-Softmax relaxation. GSQ closes most of the gap between scalar and vector quantization at 2 to 3 bits while remaining deployable in standard scalar formats such as GGUF. |
| RCO (Riemannian Constrained Optimization, paper, code) | Assigns one of K quantization types to each of N tensors under a total size budget. The budget constraint is reformulated as a smooth Riemannian manifold in logit space, which permits gradient-based optimization directly on the task loss while enforcing the budget exactly, without constraint-specific hyperparameter tuning. |
Both methods were developed at the Deep Algorithms and Systems Lab (DASLab), Institute of Science and Technology Austria.
Available files
Each build is a single GGUF named after its quantization identifier: Inkling-2-Mini-GSQ-RCO-<ID>.gguf. The bpw is the average bit-width over the whole file, 26.07B parameters.
The token embedding, token_embd.weight (0.46B parameters, 0.93 GB), is BF16 in every build. It is a lookup, not a matmul weight, so it is held at a fixed type and excluded from the search, and llama.cpp keeps it in system memory instead of VRAM.
| Build | bpw | On GPU | Embedding | Total | Notes |
|---|---|---|---|---|---|
IQ2_S |
2.75 | 8.05 GB | 0.93 GB | 8.98 GB | Smallest |
Q2_K_XL |
3.00 | 8.86 GB | 0.93 GB | 9.79 GB | |
IQ3_XXS |
3.25 | 9.68 GB | 0.93 GB | 10.61 GB | |
IQ3_S |
3.50 | 10.50 GB | 0.93 GB | 11.43 GB | Recommended; closest to the base model |
The Embedding column is the same tensor in every row. The vision projector, mmproj-Inkling-2-Mini-BF16.gguf (0.64 GB), and the DSpark draft for speculative decoding, dspark-Inkling-2-Mini-Q8_0.gguf (0.40 GB) or dspark-Inkling-2-Mini-BF16.gguf (0.75 GB), also serve all builds. GB is 109 bytes.
The IQ3_S build is the strongest operating point: it stays within 1.0 point of the base model on all three benchmarks and reaches 99.2% of its task average (88.61). The Q2_K_XL build trades 1.0 point of task average for 1.6 GB less.
Why the token embedding is BF16
token_embd.weight (201,024 x 2304 weights, 0.93 GB) is stored at BF16 in every build, the precision it has in the released checkpoint. The reason is where llama.cpp keeps it:
- The embedding is a lookup table. One row is read per input token; it is never the operand of a matrix product, so its type has no effect on speed.
- llama.cpp always assigns this input layer to the CPU, whatever
-nglis set to. The table sits in system memory, memory-mapped from the file by default, and never in VRAM.
A quantized embedding would therefore make the download about 0.7 GB smaller and free no VRAM. Keeping the table exact costs disk space only, and the first layer receives the same input as in the base model.
The output head (output.weight) is a separate tensor of the same shape. It runs as a matrix product on the GPU and is quantized by the search like the attention tensors.
Results
All models are evaluated against the base model thinkingmachines/Inkling-2-Mini as released (routed experts in NVFP4 and MXFP8). We report three reasoning and generation benchmarks: AIME25, GPQA-Diamond, and LiveCodeBench v6. AIME25 is averaged over 10 runs, GPQA-Diamond and LiveCodeBench v6 over 3 runs each. Task average is the mean of the three; recovery is the task average relative to the base model.
All numbers in this card were measured at reasoning effort xhigh.
| Variant | bpw | AIME25↑ | GPQA-D↑ | LCB v6↑ | Task avg↑ | Recovery |
|---|---|---|---|---|---|---|
| Base (NVFP4 / MXFP8) | n/a | 99.33 | 86.87 | 79.62 | 88.61 | 100.0% |
| GSQ-RCO IQ2_S | 2.75 | 92.33 | 84.34 | 73.90 | 83.52 | 94.3% |
| GSQ-RCO Q2_K_XL | 3.00 | 97.00 | 86.53 | 76.95 | 86.83 | 98.0% |
| GSQ-RCO IQ3_XXS | 3.25 | 96.00 | 85.86 | 77.90 | 86.59 | 97.7% |
| GSQ-RCO IQ3_S | 3.50 | 98.33 | 86.20 | 79.05 | 87.86 | 99.2% |
IQ3_S (3.50 bpw) keeps 99.2% of the base model's task average: it is 1.00 point below the base model on AIME25 (98.33), 0.67 on GPQA-Diamond (86.20) and 0.57 on LiveCodeBench v6 (79.05). Q2_K_XL (3.00 bpw) keeps 98.0% and IQ3_XXS (3.25 bpw) 97.7%; the two are within 1.0 point of each other on every benchmark. The smallest build, IQ2_S (2.75 bpw), retains 94.3% overall.
For the commands and settings we use to evaluate these checkpoints on GPQA-Diamond, AIME25, and LiveCodeBench v6, see the GSQ-RCO evaluation guide.
Usage
Runtime support. These files need llama.cpp b12611 (November 21, 2026) or newer.
llama.cpp
Requires llama.cpp b12611 or newer.
# download one build (requires: pip install -U "huggingface_hub[cli]")
hf download ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF \
--include "*IQ3_S.gguf" --local-dir .
llama-cli -m Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf \
-p "Explain mixed-precision quantization." -ngl 99
To try another build, download only its file (--include "*IQ2_S.gguf").
The token embedding stays in system memory with any -ngl setting, so it needs no VRAM. See Why the token embedding is BF16.
Images
Download the vision projector and pass it with --mmproj:
hf download ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF \
--include "mmproj-*" --local-dir .
llama-server -m Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf \
--mmproj mmproj-Inkling-2-Mini-BF16.gguf -ngl 99
With llama-mtmd-cli, also pass --jinja so that the chat template embedded in the GGUF is used.
Speculative decoding
The base model ships a DSpark draft model (mtp.safetensors), which proposes a block of tokens per step for the main model to verify. dspark-Inkling-2-Mini-Q8_0.gguf and dspark-Inkling-2-Mini-BF16.gguf are that draft, converted with llama.cpp at Q8_0 and at BF16, the precision of the checkpoint; the draft is not part of the GSQ-RCO search. It needs llama.cpp b12720 (November 25, 2026) or newer:
hf download ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF \
--include "dspark-*Q8_0.gguf" --local-dir .
llama-server -m Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf \
-md dspark-Inkling-2-Mini-Q8_0.gguf -ngl 99 -ngld 99
The draft is optional, and its type is detected from the file. In a short test with the IQ3_S build (two prompts), the Q8_0 and the BF16 draft had the same acceptance rate (65% and 36% of the drafted tokens).
Chat template and reasoning effort
The GGUFs embed the base model's chat template. Reasoning effort accepts none, minimal, low, medium, high, xhigh or max, or a number from 0.0 to 0.99. The default effort is high.
llama-server -m Inkling-2-Mini-GSQ-RCO-IQ3_S.gguf -ngl 99 \
--reasoning-effort xhigh
Effort xhigh is the setting all results in this card were measured with. Per request, set "reasoning_effort": "xhigh" in the chat completion body. According to the base model's card, the lowest setting does not fully disable reasoning.
Quantization procedure
- Per-tensor database. Each weight tensor is quantized at every candidate GGUF quantization type with GSQ, yielding a searchable database of quantized tensor variants.
- RCO search. The budget-constrained Riemannian search assigns one quantization type per tensor such that the file's average bit-width meets the target.
- Assembly. The selected per-tensor variants are stitched into a standard GGUF file.
The dense tensors (attention, output head) and the routed-expert matrices draw on separate quantization ladders, because the routed experts sit at a much lower bit-width than the dense path at any given budget: the dense tensors choose among IQ4_XS, Q4_K, Q5_K, Q6_K and Q8_0, the ffn_gate_up_exps matrices among types from IQ1_S to IQ3_S, and the ffn_down_exps matrices between Q2_0 and IQ4_NL, the only low-bit types that fit their rows of 1152 weights. The search covers 169 tensors: 48 routed-expert matrices, 120 attention matrices and the output head. The search's teacher is the released checkpoint itself, and its calibration data was generated by the model.
| Build | ffn_gate_up_exps (24) |
ffn_down_exps (24) |
attention, output.weight (121) |
|---|---|---|---|
IQ2_S |
7 IQ1_S, 3 IQ1_M, 5 IQ2_XXS, 6 IQ2_XS, 3 IQ2_S | 15 Q2_0, 9 IQ4_NL | 59 IQ4_XS, 27 Q4_K, 21 Q5_K, 11 Q6_K, 3 Q8_0 |
Q2_K_XL |
5 IQ1_S, 2 IQ1_M, 5 IQ2_XXS, 3 IQ2_XS, 8 IQ2_S, 1 IQ3_XXS | 11 Q2_0, 13 IQ4_NL | 45 IQ4_XS, 34 Q4_K, 22 Q5_K, 13 Q6_K, 7 Q8_0 |
IQ3_XXS |
3 IQ1_S, 6 IQ2_XXS, 6 IQ2_XS, 6 IQ2_S, 2 IQ3_XXS, 1 IQ3_S | 6 Q2_0, 18 IQ4_NL | 37 IQ4_XS, 21 Q4_K, 29 Q5_K, 29 Q6_K, 5 Q8_0 |
IQ3_S |
3 IQ1_S, 6 IQ2_XXS, 2 IQ2_XS, 3 IQ2_S, 6 IQ3_XXS, 4 IQ3_S | 3 Q2_0, 21 IQ4_NL | 10 IQ4_XS, 22 Q4_K, 29 Q5_K, 49 Q6_K, 11 Q8_0 |
Reference implementations: GSQ at IST-DASLab/GSQ and RCO at IST-DASLab/RCO.
Reproducibility artifacts
Each released build ships the file needed to audit how it was built:
| File | Contents |
|---|---|
tensor-allocation/Inkling-2-Mini-GSQ-RCO-<ID>.rco-allocation.txt |
The quantization type assigned to every tensor of that build (704 tensors), with a quant-type histogram and the target bit-width. This is the RCO search result, so the allocation can be inspected without opening the model. |
Citation
If you use these models or methods, please cite both papers:
@article{gsq2026,
title = {GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling},
author = {Dadgarnia, Alireza and Tabesh, Soroush and Nikdan, Mahdi and Helcig, Michael and Kurtic, Eldar and Kleinegger, Maximilian and Alistarh, Dan},
journal= {arXiv preprint arXiv:2604.18556},
year = {2026}
}
@article{rco2026,
title = {Model Compression with Exact Budget Constraints via Riemannian Manifolds},
author = {Helcig, Michael and Alistarh, Dan},
journal= {arXiv preprint arXiv:2605.00649},
year = {2026}
}
Acknowledgements
We thank Verda and Scientific Computing at the Institute of Science and Technology Austria for providing the compute resources used to produce these models.
License
These quantized weights inherit the license of the base model (Inkling-2-Mini, Apache 2.0); its Model Acceptable Use Policy applies as well. The GSQ-RCO tooling is released by the Deep Algorithms and Systems Lab under its repository license.
- Downloads last month
- -
2-bit
3-bit
8-bit
16-bit

