Image-Text-to-Text
GGUF
llama.cpp
quantized
1-bit
2-bit
Mixture of Experts
inkling2
reasoning
thinking
conversational
Instructions to use KarLexAI/Inkling-2-Mini-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 KarLexAI/Inkling-2-Mini-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 KarLexAI/Inkling-2-Mini-GGUF:IQ1_S # Run inference directly in the terminal: llama cli -hf KarLexAI/Inkling-2-Mini-GGUF:IQ1_S
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf KarLexAI/Inkling-2-Mini-GGUF:IQ1_S # Run inference directly in the terminal: llama cli -hf KarLexAI/Inkling-2-Mini-GGUF:IQ1_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 KarLexAI/Inkling-2-Mini-GGUF:IQ1_S # Run inference directly in the terminal: ./build/bin/llama cli -hf KarLexAI/Inkling-2-Mini-GGUF:IQ1_S
Use Docker
docker model run hf.co/KarLexAI/Inkling-2-Mini-GGUF:IQ1_S
- Llama new
- LM Studio
- Jan
- vLLM
How to use KarLexAI/Inkling-2-Mini-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KarLexAI/Inkling-2-Mini-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": "KarLexAI/Inkling-2-Mini-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/KarLexAI/Inkling-2-Mini-GGUF:IQ1_S
- Ollama
How to use KarLexAI/Inkling-2-Mini-GGUF with Ollama:
ollama run hf.co/KarLexAI/Inkling-2-Mini-GGUF:IQ1_S
- Unsloth Desktop
- Pi
How to use KarLexAI/Inkling-2-Mini-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KarLexAI/Inkling-2-Mini-GGUF:IQ1_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": "KarLexAI/Inkling-2-Mini-GGUF:IQ1_S" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use KarLexAI/Inkling-2-Mini-GGUF with Docker Model Runner:
docker model run hf.co/KarLexAI/Inkling-2-Mini-GGUF:IQ1_S
- Lemonade
How to use KarLexAI/Inkling-2-Mini-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull KarLexAI/Inkling-2-Mini-GGUF:IQ1_S
Run and chat with the model
lemonade run user.Inkling-2-Mini-GGUF-IQ1_S
List all available models
lemonade list
- Hermes Agent
How to use KarLexAI/Inkling-2-Mini-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 KarLexAI/Inkling-2-Mini-GGUF:IQ1_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 KarLexAI/Inkling-2-Mini-GGUF:IQ1_S
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use KarLexAI/Inkling-2-Mini-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KarLexAI/Inkling-2-Mini-GGUF:IQ1_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 "KarLexAI/Inkling-2-Mini-GGUF:IQ1_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"
File size: 5,465 Bytes
836a0c2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | ---
license: apache-2.0
base_model: thinkingmachines/Inkling-2-Mini
base_model_relation: quantized
library_name: gguf
pipeline_tag: image-text-to-text
tags:
- gguf
- llama.cpp
- quantized
- 1-bit
- 2-bit
- moe
- inkling2
- reasoning
- thinking
- conversational
- image-text-to-text
---
<div align="center">
# Inkling-2-Mini · KLX GGUF
### A 26B looped MoE in 7.8 GB. Closer to the original at every size.
   
</div>
Low-bit GGUFs of [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)
(26.4B parameters, 3.4B active, layers 6-17 run three times). At each of the three smallest sizes, the KLX file stays
closer to the original model than Unsloth's file of the same size, and scores on par with it on AIME. Standard
GGUF, stock llama.cpp, text and images.
## ✨ Highlights
- 🎯 **9-12% lower KL divergence than Unsloth's files of the same size**, measured against Unsloth's own reference
(UD-Q8_K_XL), with more top tokens in agreement at every size.
- 🧠 **AIME 2025+2026 on par with Unsloth's** at 7.76, 8.49 and 9.14 GB: every difference is within about one
standard error, on fresh samples that played no part in choosing the files.
- 🔌 **Plain GGUF.** Only standard llama.cpp tensor types: nothing to patch, no fork to build.
## 📦 Pick your file
| File | Size | Mean KLD vs UD-Q8_K_XL | Same top token | AIME 2025+2026 (%) | Pick it for |
|---|---|---|---|---|---|
| [Inkling-2-Mini-KLX-IQ1_S.gguf](https://huggingface.co/KarLexAI/Inkling-2-Mini-GGUF/blob/main/Inkling-2-Mini-KLX-IQ1_S.gguf) | **7.76 GB** | 0.0499 | 92.1% | 93.8 | the smallest download |
| [Inkling-2-Mini-KLX-IQ2_XXS.gguf](https://huggingface.co/KarLexAI/Inkling-2-Mini-GGUF/blob/main/Inkling-2-Mini-KLX-IQ2_XXS.gguf) | **8.49 GB** | 0.0391 | 93.0% | 92.5 | the middle size |
| [Inkling-2-Mini-KLX-Q2_K.gguf](https://huggingface.co/KarLexAI/Inkling-2-Mini-GGUF/blob/main/Inkling-2-Mini-KLX-Q2_K.gguf) | **9.14 GB** | 0.0305 | 93.8% | 94.4* | the closest to the original |
The file names give the size class. Each file mixes several standard tensor types.
AIME: 4 fresh samples per problem (240 answers) at 7.76 and 8.49 GB; Unsloth's files scored 92.50% and 93.75% on the
same samples. \* 9.14 GB: from the 8-sample run that also chose the file; choosing a file by a test can only inflate a
lead, and this result is a tie, so no separate run was needed.
## 🥊 Head to head
Same harness, same text and questions, paired differences with one standard error.
| Size | KLX file | Against | Mean KLD | AIME 2025+2026 (points) |
|---|---|---|---|---|
| 7.76 GB | IQ1_S | Unsloth UD-IQ1_S | **0.0499** vs 0.0567 (-11.9%) | +1.25 ± 1.72 |
| 8.49 GB | IQ2_XXS | Unsloth UD-IQ2_XXS | **0.0391** vs 0.0444 (-11.8%) | -1.25 ± 1.51 |
| 9.14 GB | Q2_K | Unsloth UD-Q2_K_XL | **0.0305** vs 0.0336 (-9.2%) | +0.00 ± 0.84* |
Our KLD numbers come from our own held-out text, so they are lower than the ones on Unsloth's card for the same files;
the comparison between files is what this table shows. Setup, every score and the file hashes:
[BENCHMARKS.md](https://huggingface.co/KarLexAI/Inkling-2-Mini-GGUF/blob/main/BENCHMARKS.md).
## 🚀 Run it with two commands
```bash
hf download KarLexAI/Inkling-2-Mini-GGUF Inkling-2-Mini-KLX-IQ2_XXS.gguf --local-dir .
llama-server -m Inkling-2-Mini-KLX-IQ2_XXS.gguf -ngl 99 -c 65536 --jinja
```
Then open http://localhost:8080 and chat. Needs llama.cpp b12611 or newer (earlier builds mishandle the looped
layers). The model's sampler (temperature 1.0, no top-k, top-p or min-p truncation) is stored in the file. Long
reasoning needs room: AIME answers used up to about 80k tokens.
### 🖼️ Images
Inkling-2-Mini also reads images. Download the vision projector (about 0.64 GB) and add `--mmproj`:
```bash
hf download KarLexAI/Inkling-2-Mini-GGUF mmproj-F16.gguf --local-dir .
llama-server -m Inkling-2-Mini-KLX-IQ2_XXS.gguf --mmproj mmproj-F16.gguf -ngl 99 -c 65536 --jinja
```
`mmproj-BF16.gguf` works the same way, with any of the files above.
## 🧾 The fine print
- Quantized from [thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini).
After quantization, the low-bit weights were calibrated by distillation from the original Inkling-2-Mini. The architecture, tokenizer and chat template are unchanged; the multi-token prediction (MTP) head is
not included. The vision encoder is in the separate mmproj files, unquantized (F16 and BF16), converted with
upstream llama.cpp.
- The per-tensor type allocation (which quantization type each tensor uses) follows
[Unsloth](https://huggingface.co/unsloth/Inkling-2-Mini-GGUF)'s Dynamic GGUF files of the same size. The weights are
quantized independently from the original release.
- Every number above comes from one harness on stock llama.cpp.
- Apache-2.0, like the base model. See [NOTICE](https://huggingface.co/KarLexAI/Inkling-2-Mini-GGUF/blob/main/NOTICE).
<div align="center">
**Made by [KarLex AI](https://karlex.ai).** If these files save you memory, a ❤️ on this repo helps others find them.
<sub>Not affiliated with Thinking Machines or Unsloth.</sub>
</div>
|