Instructions to use codegood/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 codegood/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 codegood/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf codegood/Inkling-2-Mini-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf codegood/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf codegood/Inkling-2-Mini-GGUF:Q4_K_M
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 codegood/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf codegood/Inkling-2-Mini-GGUF:Q4_K_M
Use Docker
docker model run hf.co/codegood/Inkling-2-Mini-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use codegood/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 "codegood/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": "codegood/Inkling-2-Mini-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/codegood/Inkling-2-Mini-GGUF:Q4_K_M
- Ollama
How to use codegood/Inkling-2-Mini-GGUF with Ollama:
ollama run hf.co/codegood/Inkling-2-Mini-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use codegood/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 codegood/Inkling-2-Mini-GGUF:Q4_K_M
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": "codegood/Inkling-2-Mini-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use codegood/Inkling-2-Mini-GGUF with Docker Model Runner:
docker model run hf.co/codegood/Inkling-2-Mini-GGUF:Q4_K_M
- Lemonade
How to use codegood/Inkling-2-Mini-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull codegood/Inkling-2-Mini-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Inkling-2-Mini-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use codegood/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 codegood/Inkling-2-Mini-GGUF:Q4_K_M
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 codegood/Inkling-2-Mini-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use codegood/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 codegood/Inkling-2-Mini-GGUF:Q4_K_M
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 "codegood/Inkling-2-Mini-GGUF:Q4_K_M" \ --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"
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
1-bit
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Model tree for codegood/Inkling-2-Mini-GGUF
Base model
thinkingmachines/Inkling-2-Mini