Instructions to use fintecheando/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 fintecheando/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 fintecheando/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf fintecheando/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 fintecheando/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf fintecheando/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 fintecheando/Inkling-2-Mini-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf fintecheando/Inkling-2-Mini-GGUF:Q4_K_M
Use Docker
docker model run hf.co/fintecheando/Inkling-2-Mini-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use fintecheando/Inkling-2-Mini-GGUF with Ollama:
ollama run hf.co/fintecheando/Inkling-2-Mini-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use fintecheando/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 fintecheando/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": "fintecheando/Inkling-2-Mini-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use fintecheando/Inkling-2-Mini-GGUF with Docker Model Runner:
docker model run hf.co/fintecheando/Inkling-2-Mini-GGUF:Q4_K_M
- Lemonade
How to use fintecheando/Inkling-2-Mini-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull fintecheando/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 fintecheando/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 fintecheando/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 fintecheando/Inkling-2-Mini-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use fintecheando/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 fintecheando/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 "fintecheando/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 (Q4_K_M)
A quantized GGUF conversion of thinkingmachines/Inkling-2-Mini, packaged for inference with llama.cpp.
Overview
This repository contains a Q4_K_M quantized GGUF conversion of Thinking Machines Lab's Inkling 2 Mini, a 26.4B parameter (3.4B active, 5.4B effective active with looping) multimodal autoregressive looped transformer. The weights were quantized locally using llama.cpp commit 225a5345b (build b12627) and are provided so others can run the model with llama.cpp on consumer hardware.
Quantized by: fintecheando
Why this repo exists
Inkling 2 Mini uses the inkling2_loop architecture: 24 physical transformer layers, of which layers 6โ17 run three times (shared weights), yielding 48 layer applications per token. Existing third-party GGUF conversions (e.g. unsloth/Inkling-2-Mini-GGUF) declare the architecture as inkling2 with 48 blocks. Those files fail to load in current llama.cpp because the tensor layout expects 48 physical blocks โ for example, llama.cpp reports tensor 'blk.24.attn_q.weight' not found when the file only contains 24 blocks.
This repo publishes GGUFs that correctly declare general.architecture = 'inkling2_loop' with block_count = 24 and loop.start = 6, loop.end = 18, loop.count = 3, so they load and run in llama.cpp builds from commit 225a5345b onward.
This description is factual and is not intended to criticize any other publisher.
Requirements
- llama.cpp built from commit
225a5345b(b12627) or newer. Older builds may not support theinkling2_looparchitecture. - A GGUF-compatible loader:
llama-cli,llama-server(llama serve), or any llama.cpp binding.
Files
| File | Quant | Size | SHA256 | Notes |
|---|---|---|---|---|
inkling2-mini-Q4_K_M.gguf |
Q4_K_M | 17 GB | eb0d1fab25e0b01999dd92770143bf412fb39574e5dffbb4f0d4d02e8a196d41 |
4-bit medium quant; best balance of size and quality for this model |
Usage
Via Hugging Face Hub (llama serve)
llama serve -hf fintecheando/Inkling-2-Mini-GGUF:Q4_K_M \
-c 65536 -ub 128 -ot \
--ctx-shift 0
This starts an OpenAI-compatible API server at http://localhost:8080/v1/chat/completions (and /v1/completions).
Direct file
llama-cli -m inkling2-mini-Q4_K_M.gguf -p "The capital of France is" -n 200 -c 512
llama-server -m inkling2-mini-Q4_K_M.gguf -c 65536 -ub 128 -ot --host 0.0.0.0 --port 8080
Tested configuration
- Hardware: RTX 3060 12 GB, 32 GB RAM
- llama.cpp: commit
225a5345b(b12627), built with CUDA - Context: 64K
- KV cache: Q8_0
-ub 128(uniform batch size)- Expert (MoE) layers 0โ5 and 18โ23 offloaded to CPU with
-ot; looped core layers 6โ17 kept on GPU
Measured on one machine: ~55 tokens/s prompt processing, ~14 tokens/s generation. These are single-machine measurements, not guarantees โ your results will vary with hardware, context length, batch size, and offload settings.
Notes for low-VRAM GPUs
The looped core layers (6โ17) run three times per token and are the compute-heavy part of the model; keeping them on the GPU matters most for speed. The non-looped layers (0โ5, 18โ23) can be offloaded to CPU with -ot to save VRAM with minimal speed impact.
This architecture's attention may not use flash attention in llama.cpp, so the compute buffer grows with -ub and context length. On a 12 GB GPU, large contexts combined with large -ub can exceed VRAM โ reduce -ub or context if you see out-of-memory errors.
How it was made
The GGUF was converted from the original thinkingmachines/Inkling-2-Mini weights using this llama.cpp version's convert_hf_to_gguf.py, then quantized with llama-quantize to Q4_K_M. The exact command lines and whether an importance (imatrix) matrix was used were not recorded; if you need them, request them from the quantizer.
License & attribution
- Base model license: Apache 2.0 (as declared by
thinkingmachines/Inkling-2-Mini). - This quantized GGUF is a derivative work under Apache 2.0. Modified files are marked as such; the original copyright and license notices are retained.
- For intended use, limitations, and the Model Acceptable Use Policy, see the original model card and Thinking Machines Lab's Model Acceptable Use Policy.
Disclaimer
Quantization can reduce model quality relative to the original BF16 weights. These GGUF files are provided as-is, with no warranties of any kind.
- Downloads last month
- 370
4-bit
Model tree for fintecheando/Inkling-2-Mini-GGUF
Base model
thinkingmachines/Inkling-2-Mini