Inkling-2-Mini GGUF Quantized Suite

This repository provides production-ready GGUF quantized models for thinkingmachines/Inkling-2-Mini (~26.4B total parameters, ~3.0B active parameters per token).

Because Inkling-2-Mini utilizes a custom looped Mixture-of-Experts architecture (Inkling2LoopConfig), standard high-level quantization wrappers often fail due to hardcoded model-registry assumptions. The GGUF weights in this repository were converted using architecture-agnostic layer reflection and direct tensor transformation routines to ensure complete compatibility with llama.cpp, Ollama, LM Studio, and vLLM GGUF execution backends.


Model Architecture Overview

  • Base Model: thinkingmachines/Inkling-2-Mini
  • Total Parameters: ~26.4 Billion
  • Active Parameters / Token: ~3.0 Billion (MoE)
  • Model Class: Inkling2LoopModel (inkling2_loop)
  • Primary Workloads: High-efficiency agentic reasoning, code generation, multi-turn dialogue, and low-latency local inference.

Quantization Matrix & File Guide

The table below lists all available GGUF variants included in this repository, ordered by file size and quality retention.

File Name Quant Type File Size Min VRAM / RAM Description & Target Hardware
Inkling-2-Mini-Q8_0.gguf Q8_0 27.8 GB 32 GB Near FP16 precision. Best for high-VRAM GPUs / unified memory.
Inkling-2-Mini-Q6_K.gguf Q6_K 23.5 GB 28 GB High precision with minor size reduction. Extremely low degradation.
Inkling-2-Mini-Q5_K_M.gguf Q5_K_M 19.9 GB 24 GB Recommended high-quality build for 24GB GPUs (RTX 3090/4090, A10G).
Inkling-2-Mini-Q5_1.gguf Q5_1 19.7 GB 24 GB Standard 5-bit legacy format.
Inkling-2-Mini-Q5_K_S.gguf Q5_K_S 18.6 GB 22 GB Small 5-bit variant for memory-constrained 24GB setups.
Inkling-2-Mini-Q5_0.gguf Q5_0 18.1 GB 22 GB Legacy 5-bit uniform quantization.
Inkling-2-Mini-Q4_K_M.gguf Q4_K_M 17.5 GB 20 GB Optimal balance of quality, speed, and VRAM usage.
Inkling-2-Mini-Q4_1.gguf Q4_1 16.5 GB 19 GB Standard legacy 4-bit format.
Inkling-2-Mini-Q4_K_S.gguf Q4_K_S 16.1 GB 19 GB Slightly smaller 4-bit option for tight VRAM limits.
Inkling-2-Mini-Q4_0.gguf Q4_0 14.9 GB 18 GB Fast baseline 4-bit quantization.
Inkling-2-Mini-Q3_K_L.gguf Q3_K_L 14.2 GB 17 GB High-bit 3-bit variant for reduced RAM overhead.
Inkling-2-Mini-Q3_K_M.gguf Q3_K_M 13.7 GB 16 GB Medium 3-bit quantization for 16GB VRAM GPUs.
Inkling-2-Mini-IQ3_S.gguf IQ3_S 12.6 GB 15 GB Importance-matrix 3-bit quantization. Superior quality over Q3_K_S.
Inkling-2-Mini-Q3_K_S.gguf Q3_K_S 12.6 GB 15 GB Standard small 3-bit quantization.
Inkling-2-Mini-IQ3_XXS.gguf IQ3_XXS 11.7 GB 14 GB Ultra-compact 3-bit variant for minimal VRAM footprints.
Inkling-2-Mini-Q2_K.gguf Q2_K 10.9 GB 13 GB Legacy 2-bit quantization.
Inkling-2-Mini-IQ2_M.gguf IQ2_M 10.7 GB 13 GB Medium 2-bit iMatrix quantization.
Inkling-2-Mini-IQ2_S.gguf IQ2_S 10.2 GB 12 GB Small 2-bit iMatrix quantization.
Inkling-2-Mini-IQ2_XS.gguf IQ2_XS 10.1 GB 12 GB Extra-small 2-bit iMatrix quantization.
Inkling-2-Mini-IQ2_XXS.gguf IQ2_XXS 9.6 GB 12 GB Ultra-low memory 2-bit option.
Inkling-2-Mini-IQ1_M.gguf IQ1_M 8.95 GB 10 GB Extreme sub-2-bit quantization for low-memory edge testing.
Inkling-2-Mini-IQ1_S.gguf IQ1_S 8.56 GB 10 GB Smallest available build. Ultra-low precision edge runtime.

Deployment & Usage Quickstart

1. llama.cpp CLI & Server

Run inference directly using llama.cpp:

# Download a model file (e.g., Q4_K_M)
huggingface-cli download codegood/Inkling-2-Mini-GGUF Inkling-2-Mini-Q4_K_M.gguf --local-dir .

# Run Interactive CLI
./llama-cli -m Inkling-2-Mini-Q4_K_M.gguf -p "Explain structural resilience in distributed systems." -n 256 -ngl 99

# Start OpenAI-Compatible API Server
./llama-server -m Inkling-2-Mini-Q4_K_M.gguf --port 8080 -ngl 99

2. Ollama Deployment

To run with Ollama, create a Modelfile:

FROM ./Inkling-2-Mini-Q4_K_M.gguf

PARAMETER stop "<|im_end|>"
PARAMETER stop "<|endoftext|>"
PARAMETER num_ctx 8192

TEMPLATE """{{ if .System }}<|im_start|>system
{{ .System }}<|im_end|>
{{ end }}{{ if .Prompt }}<|im_start|>user
{{ .Prompt }}<|im_end|>
{{ end }}<|im_start|>assistant
{{ .Response }}<|im_end|>"""

Build and run:

ollama create inkling-2-mini -f Modelfile
ollama run inkling-2-mini "Write a Python script for parallel web scraping."

3. vLLM Serving (GGUF Backend)

You can serve GGUF files directly using vLLM:

vllm serve codegood/Inkling-2-Mini-GGUF \
  --model Inkling-2-Mini-Q4_K_M.gguf \
  --tokenizer thinkingmachines/Inkling-2-Mini \
  --max-model-len 8192 \
  --trust-remote-code

Repository Structure

codegood/Inkling-2-Mini-GGUF/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ .gitattributes
โ”œโ”€โ”€ Inkling-2-Mini-IQ1_S.gguf
โ”œโ”€โ”€ Inkling-2-Mini-IQ1_M.gguf
โ”œโ”€โ”€ Inkling-2-Mini-IQ2_XXS.gguf
โ”œโ”€โ”€ Inkling-2-Mini-IQ2_XS.gguf
โ”œโ”€โ”€ Inkling-2-Mini-IQ2_S.gguf
โ”œโ”€โ”€ Inkling-2-Mini-IQ2_M.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q2_K.gguf
โ”œโ”€โ”€ Inkling-2-Mini-IQ3_XXS.gguf
โ”œโ”€โ”€ Inkling-2-Mini-IQ3_S.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q3_K_S.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q3_K_M.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q3_K_L.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q4_0.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q4_K_S.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q4_1.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q4_K_M.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q5_0.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q5_K_S.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q5_1.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q5_K_M.gguf
โ”œโ”€โ”€ Inkling-2-Mini-Q6_K.gguf
โ””โ”€โ”€ Inkling-2-Mini-Q8_0.gguf

Citation & Acknowledgments

@misc{inkling2mini-gguf-2026,
  title={Inkling-2-Mini GGUF Quantized Suite for Local & Edge Inference},
  author={Codegood Quantization Lab},
  year={2026},
  publisher={Hugging Face},
  howpublished={\url{https://huggingface.co/codegood/Inkling-2-Mini-GGUF}}
}
Downloads last month
318
GGUF
Model size
26B params
Architecture
inkling2_loop
Hardware compatibility
Log In to add your hardware

1-bit

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for codegood/Inkling-2-Mini-GGUF

Quantized
(240)
this model