UkisAI
Website  •  Learn more  •  Safetensors  •  GGUF  •  GSQ-RCO  •  License

Swift Inkling 2 Mini

GSQ-RCO GGUF. Compact, mixed-precision GGUF quantizations of Swift Inkling 2 Mini, built on the per-tensor allocations and the GSQ-RCO tensors of ISTA-DASLab's GSQ-RCO release.

Swift Inkling 2 Mini is UkisAI's reasoning-efficient derivative of Inkling 2 Mini, using 58.6% fewer thinking tokens while maintaining near-identical performance (<1% loss) and as a result getting a x2.4 speed-up on several tasks.

The prompt is a sample from LiveCodeBench v6

Training approach

We made Swift Inkling 2 Mini efficient by figuring out which tokens were linked to pathological overthinking and penalizing them without rewarding shorter reasoning length directly. We trained a model with this premise, then used it as the teacher for contextual on-policy distillation, leading to "compressed" token usage while maintaining accuracy.

Swift Inkling 2 Mini produces shorter reasoning traces. In our testing, we also observe fewer overthinking errors (reasoning loops without exit).

Evaluation scope

All results below compare the Inkling 2 Mini base with Swift Inkling 2 Mini. Both models use the same saved evaluation protocols, and all scores are averages over five seeds (0–4) per model.

The main table reports BF16 results. Quantized results are in Quantized models.

Benchmarks

Benchmark Score Mean tokens Median tokens
Base Swift Base Swift Reduction Reduction
General reasoning
GPQA-Diamond86.67%85.45%16,5719,455↓ 42.9%↓ 56.6%
MMLU-Pro83.19%82.41%5,4712,521↓ 53.9%↓ 58.6%
C-Eval82.15%84.40%3,3171,611↓ 51.4%↓ 52.4%
IFBench76.07%73.73%5,5962,247↓ 59.8%↓ 53.5%
Mathematics
AIME 2024–202699.33%97.11%16,97210,137↓ 40.3%↓ 44.0%
HMMT (Nov 2025)66.67%64.67%20,71515,282↓ 26.2%↓ 40.1%
Multimodal
ERQA63.25%61.50%4,1341,653↓ 60.0%↓ 58.6%
Coding
LiveCodeBench v686.41%85.99%15,99011,140↓ 30.3%↓ 33.7%
Agentic coding
Terminal-Bench 2.1*57.98%57.75%36,72027,454↓ 25.2%↓ 57.0%
DeepSWE v1.1*28.32%36.58%80,59449,883↓ 38.1%↓ 41.1%

* Note: Thinking Machines benchmarked Inkling 2 Mini on agent tasks with its full 1M-token context window. We consider that unrealistic for local use, so we ran both models at context sizes most people can actually run: 131,072 tokens for Terminal-Bench 2.1 and 262,144 tokens for DeepSWE v1.1.

How to reproduce

Serving: native mixed precision (BF16 attention, NVFP4/MXFP8 experts) · vLLM (vllm/vllm-openai:inkling-2-mini image) · data-parallel across 2 GPUs · context 262,144 · thinking on (enable_thinking=True, reasoning_effort="max").
Sampling: temperature 1.0 · top_p 0.95 · top_k 20 · min_p 0.0 · no repeat penalty.
Benchmarks: every benchmark averaged over five seeds (0–4) per model, same caps and scorer for base and Swift.

BenchmarkRunsOutput cap
GPQA-Diamond5100,000
MMLU-Pro5100,000
C-Eval516,384
IFBench581,920
AIME 2024–20265250,000
HMMT Nov 20255250,000
ERQA5100,000
LiveCodeBench v65100,000
Terminal-Bench 2.15 per taskagent limit 5 h per task, context 131,072, Harbor 0.20.0 + Terminus 2; thinking tokens per trial (all agent turns)
DeepSWE v1.13 per taskmini-swe-agent 2.4.6, task time limits; thinking tokens per trial (all agent turns)

Efficiency across reasoning efforts

Swift Inkling 2 Mini was benchmarked, trained and made to be used at "max" reasoning effort. The Swift version of the model at "max" uses 30.1% fewer tokens even when compared to the base model at the default "high" reasoning effort.

Inkling 2 Mini's reasoning effort setting lets users choose how much the model thinks. For Swift Inkling 2 Mini to be useful across these settings, it needs to reduce thinking while keeping accuracy close to the base.

Reasoning effort Score Mean thinking tokens Median thinking tokens
Base Swift Base Swift Reduction Reduction
GPQA-Diamond
Max86.67%85.45%16,5719,455↓ 42.9%↓ 56.6%
High86.46%84.44%13,5236,618↓ 51.1%↓ 60.1%
Medium84.75%80.20%5,8443,027↓ 48.2%↓ 35.1%
Low79.19%76.77%1,9401,400↓ 27.8%↓ 17.5%

MTP speculative decoding

The BF16 weights include the base model's MTP head. These results evaluate its acceptance rate on GPQA-Diamond (32 questions), served with llama.cpp.

Benchmark Base
MTP acceptance
Swift
MTP acceptance
GPQA-Diamond
BF16 GGUF
48.7%49.4%

Swift keeps the base model's MTP acceptance with the same, unchanged MTP head.

Quantized models

Quantized deployment is the intended use for Swift: lower-memory weights paired with shorter reasoning. The GGUF evaluations below retain token savings on GPQA-Diamond, and Swift reduces output-cap failures by 59–94%.

Benchmark / quantization Base accuracy Swift accuracy Mean token reduction Median token reduction
GPQA-Diamond
GGUF Q4_K_M · completion tokens
85.45%85.15%↓ 40.4%↓ 55.9%
GPQA-Diamond
BF16 · thinking tokens
86.67%85.45%↓ 42.9%↓ 56.6%
Quantized evaluation settings

Each row compares the same quantized base with and without the Swift post-training. GPQA uses five seeds. Output cap: GPQA 100,000. Truncated answers count as incorrect. Base quantization: a Q4_K_M with the same per-tensor types as Swift's, served with llama.cpp. The BF16 row is the same run as the BF16 table.

GSQ-RCO quantizations

Each tier is a single GGUF file. Sizes are decimal GB; runtime memory also includes the context cache and compute buffers. Tier names denote mixed-precision allocation profiles, not a uniform type for every tensor.

Tier GGUF Size Development KLD ↓
IQ3_S Swift-Inkling-2-GSQ-RCO-IQ3_S.gguf 11.43 GB 0.040383 ± 0.000660
IQ3_XXS Swift-Inkling-2-GSQ-RCO-IQ3_XXS.gguf 10.61 GB 0.056403 ± 0.000813
Q2_K_XL Swift-Inkling-2-GSQ-RCO-Q2_K_XL.gguf 9.79 GB 0.080671 ± 0.001069
IQ2_S Swift-Inkling-2-GSQ-RCO-IQ2_S.gguf 8.98 GB 0.122282 ± 0.001516

The token embedding is kept exact in every build (llama.cpp holds it in system memory, so it takes no VRAM). The vision tower is unchanged from base, so this repo ships the base vision projector, mmproj-Inkling-2-Mini-BF16.gguf (0.64 GB), required for image input.

Exact file identities are recorded in SHA256SUMS and RECIPE.txt.

KL divergence

KLD measures the divergence of the quantized model's next-token distribution from Swift Inkling 2 Mini BF16; lower is better. All measurements use llama.cpp llama-perplexity --kl-divergence on wiki.test.raw, 100 chunks at a 512-token context, all four tiers in one run on the llama.cpp CPU backend. These are distributional KLD measurements, not task-accuracy scores.

Split IQ2_S Q2_K_XL IQ3_XXS IQ3_S
Development KLD ↓ 0.122282 ± 0.001516 0.080671 ± 0.001069 0.056403 ± 0.000813 0.040383 ± 0.000660
Development PPL(Q) ↓ 7.8772 7.5573 7.4184 7.3608
Development same-top-p 85.75% 88.13% 90.08% 91.78%

The raw logs are in evaluation/ and the summary in evaluation/kld-summary.tsv.

How to use

Use a llama.cpp build that supports Inkling 2: b12611 (November 21, 2026) or newer; the DSpark draft needs b12720 (November 25, 2026) or newer.

hf download ukisai/Swift-Inkling-2-GSQ-RCO-GGUF \
  --include "*IQ3_S.gguf" --include "mmproj-*" --local-dir .

llama-server -m Swift-Inkling-2-GSQ-RCO-IQ3_S.gguf \
  --jinja -fa on -ngl 99 -c 32768 \
  --reasoning-effort max --port 8000

The chat template is embedded in the GGUF. Reasoning effort accepts none, minimal, low, medium, high, xhigh or max, or a number from 0.0 to 0.99; the default is high.

Images

Pass the shipped vision projector with --mmproj:

llama-server -m Swift-Inkling-2-GSQ-RCO-IQ3_S.gguf \
  --mmproj mmproj-Inkling-2-Mini-BF16.gguf -ngl 99 --reasoning-effort max

With llama-mtmd-cli, also pass --jinja.

Speculative decoding

The optional DSpark draft (dspark-Inkling-2-Mini-Q8_0.gguf, 0.40 GB) is in the ISTA repo and works with this build unchanged:

hf download ISTA-DASLab/Inkling-2-Mini-GSQ-RCO-GGUF \
  --include "dspark-*Q8_0.gguf" --local-dir .

llama-server -m Swift-Inkling-2-GSQ-RCO-IQ3_S.gguf \
  -md dspark-Inkling-2-Mini-Q8_0.gguf -ngl 99 -ngld 99 --reasoning-effort max

The draft is optional; its type is detected from the file.

Quantization procedure

  1. Reuse the published ISTA GSQ-RCO per-tensor allocation for each matching Inkling-2-Mini tier.
  2. Quantize Swift weights with the Swift V1MIX importance matrix and the selected allocation.
  3. Keep the Swift-quantized bytes only for the 97 tensors that differ from Inkling-2-Mini (attention q/k/v/o in all 24 blocks and output.weight); copy the other 607 tensors byte for byte from the matching ISTA GSQ-RCO file. Every file is verified tensor by tensor (see RECIPE.txt).
  4. Freeze exact file identities, run the reporting evaluations, and publish the raw logs.

This release reuses ISTA's allocation search results; it does not claim a new RCO search on Swift. The Swift importance matrix is included as imatrix-swift-inkling2-v1mix.gguf. Per-tensor assignments for all four tiers are in tensor-allocation/, with ISTA's per-tensor type lists.

Methods

GSQ and RCO were developed by the Deep Algorithms and Systems Lab at the Institute of Science and Technology Austria. This Swift adaptation is by UkisAI.

License and access

Swift Inkling 2 Mini is a derivative of Inkling 2 Mini, and both are licensed under the Apache License 2.0, as are the GSQ-RCO components from ISTA-DASLab. See NOTICE for attribution details.

Citation

@misc{swift-inkling-2-mini,
  title  = {Swift Inkling 2 Mini},
  author = {UkisAI},
  year   = {2026},
  url    = {https://huggingface.co/ukisai/Swift-Inkling-2-Mini}
}
@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}
}
Swift model by UkisAI · GSQ-RCO quantization by IST-DASLab, Institute of Science and Technology Austria
Downloads last month
2,519
GGUF
Model size
26B params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ukisai/Swift-Inkling-2-GSQ-RCO-GGUF

Quantized
(13)
this model

Collection including ukisai/Swift-Inkling-2-GSQ-RCO-GGUF

Papers for ukisai/Swift-Inkling-2-GSQ-RCO-GGUF