# Inkling 2 Mini GSQ RCO GGUF

URL: https://interfaze.ai/models/ista-daslabinkling-2-mini-gsq-rco-gguf

[All models](https://interfaze.ai/models)

Inkling 2 Mini GSQ RCO GGUF by ISTA-DASLab, a text-generation model with multimodal capabilities. Understand and compare multimodal features, benchmarks, and capabilities.

## Comparison

| Feature | Inkling 2 Mini GSQ RCO GGUF | Interfaze |
| --- | --- | --- |
| Input Modalities | text, image | image, text, audio, video, document |
| Native OCR | No | Yes |
| Long Document Processing | No | Yes |
| Language Support | 30 partial | 162+ |
| Native Speech-to-Text | No | Yes |
| Native Object Detection | No | Yes |
| Guardrail Controls | No | Yes |
| Context Input Size | 1M | 1M |
| Tool Calling | Yes | Tool calling supported + built in browser, code execution and web search |

### Scaling

| Feature | Inkling 2 Mini GSQ RCO GGUF | Interfaze |
| --- | --- | --- |
| Scaling | Self-hosted/Provider-hosted with quantization | Unlimited |

[Try Interfaze](https://interfaze.ai/dashboard)[Read the Docs](https://interfaze.ai/docs)

View model card on [Hugging Face](https://huggingface.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF)

**Non-uniform GGUF quantizations** of a 26B-parameter, 128-expert looped MoE, produced with **GSQ** and **RCO**.

[![arXiv: GSQ](https://img.shields.io/badge/arXiv-GSQ_2604.18556-b31b1b?logo=arxiv&logoColor=white)](https://arxiv.org/abs/2604.18556) [![arXiv: RCO](https://img.shields.io/badge/arXiv-RCO_2605.00649-b31b1b?logo=arxiv&logoColor=white)](https://arxiv.org/abs/2605.00649) [![GSQ code](https://img.shields.io/badge/code-GSQ-181717?logo=github&logoColor=white)](https://github.com/IST-DASLab/GSQ) [![RCO code](https://img.shields.io/badge/code-RCO-181717?logo=github&logoColor=white)](https://github.com/IST-DASLab/RCO) [![DASLab](https://img.shields.io/badge/DASLab-GitHub-101048?logo=github&logoColor=white)](https://github.com/IST-DASLab) [![license](https://img.shields.io/badge/license-Apache_2.0-19a34a)](https://interfaze.ai/models/ista-daslabinkling-2-mini-gsq-rco-gguf#license)

![Base model vs GSQ-RCO quants on AIME25, GPQA-Diamond and LiveCodeBench v6](https://huggingface.co/ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF/resolve/main/assets/plots/Inkling-2-Mini-benchmarks_bars.png)

* * *

## Overview

This repository provides GGUF quantizations of **[Inkling-2-Mini](https://huggingface.co/thinkingmachines/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](https://interfaze.ai/models/ista-daslabinkling-2-mini-gsq-rco-gguf#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)](https://github.com/IST-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 `-ngl` is 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](https://github.com/IST-DASLab/GSQ-RCO-eval).

* * *

## Usage

> **Runtime support.** These files need llama.cpp [b12611](https://github.com/ggml-org/llama.cpp/releases/tag/b12611) (November 21, 2026) or newer.

### llama.cpp

Requires llama.cpp [b12611](https://github.com/ggml-org/llama.cpp/releases/tag/b12611) or newer.

```
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](https://interfaze.ai/models/ista-daslabinkling-2-mini-gsq-rco-gguf#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](https://github.com/ggml-org/llama.cpp/releases/tag/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

1.  **Per-tensor database.** Each weight tensor is quantized at every candidate GGUF quantization type with GSQ, yielding a searchable database of quantized tensor variants.
2.  **RCO search.** The budget-constrained Riemannian search assigns one quantization type per tensor such that the file's average bit-width meets the target.
3.  **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](https://github.com/IST-DASLab/GSQ) and **RCO** at [IST-DASLab/RCO](https://github.com/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](https://verda.com/) 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](https://thinkingmachines.ai/model-acceptable-use-policy/) applies as well. The GSQ-RCO tooling is released by the Deep Algorithms and Systems Lab under its repository license.

## Want more deterministic results?

[Try Interfaze](https://interfaze.ai/dashboard)[Read the Docs](https://interfaze.ai/docs)
