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"
Low-bit GGUFs of 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 | 7.76 GB | 0.0499 | 92.1% | 93.8 | the smallest download |
| 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 | 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.
๐ Run it with two commands
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:
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. 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'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.
Made by KarLex AI. If these files save you memory, a โค๏ธ on this repo helps others find them.
Not affiliated with Thinking Machines or Unsloth.
- Downloads last month
- 3,264
1-bit
2-bit
Model tree for KarLexAI/Inkling-2-Mini-GGUF
Base model
thinkingmachines/Inkling-2-Mini
docker model run hf.co/KarLexAI/Inkling-2-Mini-GGUF: