Instructions to use ji-farthing/Inkling-2-Mini-ik-llama-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 ji-farthing/Inkling-2-Mini-ik-llama-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 ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
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 ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
Use Docker
docker model run hf.co/ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use ji-farthing/Inkling-2-Mini-ik-llama-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ji-farthing/Inkling-2-Mini-ik-llama-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": "ji-farthing/Inkling-2-Mini-ik-llama-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
- Ollama
How to use ji-farthing/Inkling-2-Mini-ik-llama-GGUF with Ollama:
ollama run hf.co/ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
- Unsloth Desktop
- Pi
How to use ji-farthing/Inkling-2-Mini-ik-llama-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
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": "ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ji-farthing/Inkling-2-Mini-ik-llama-GGUF with Docker Model Runner:
docker model run hf.co/ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
- Lemonade
How to use ji-farthing/Inkling-2-Mini-ik-llama-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
Run and chat with the model
lemonade run user.Inkling-2-Mini-ik-llama-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use ji-farthing/Inkling-2-Mini-ik-llama-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 ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
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 ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ji-farthing/Inkling-2-Mini-ik-llama-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16
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 "ji-farthing/Inkling-2-Mini-ik-llama-GGUF:BF16" \ --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"
Hugging Face's download widget doesn't recognize ik_llama.cpp's _KS and _KT GGUFs. Download links are in the table below.
Inkling 2 Mini, ik_llama.cpp GGUFs
| File | Size | BPW | KLD | Same top | PPL |
|---|---|---|---|---|---|
| Inkling-2-Mini-ik_llama-NVFP4-FP8B128.gguf | 19.0 GB | 5.83 | 0.0024 | 97.8 % | 8.201 |
| Inkling-2-Mini-ik_llama-IQ4_KS.gguf (v2) | 14.5 GB | 4.45 | 0.0092 | 95.6 % | 8.212 |
| Inkling-2-Mini-ik_llama-IQ4_KT.gguf (v2) | 13.7 GB | 4.22 | 0.0128 | 94.7 % | 8.259 |
| Inkling-2-Mini-ik_llama-IQ3_KS.gguf (v2) | 12.0 GB | 3.67 | 0.0247 | 93.1 % | 8.346 |
| Inkling-2-Mini-ik_llama-IQ3_KT.gguf (v2) | 11.0 GB | 3.37 | 0.0309 | 92.9 % | 8.331 |
| Inkling-2-Mini-ik_llama-IQ2_KS.gguf (v2) | 9.0 GB | 2.76 | 0.0894 | 87.4 % | 8.827 |
| Inkling-2-Mini-ik_llama-IQ2_KT.gguf (v2) | 8.2 GB | 2.51 | 0.1054 | 87.0 % | 8.931 |
| Inkling-2-Mini-ik_llama-IQ1_KT.gguf (v2) | 6.8 GB | 2.08 | 0.1817 | 83.6 % | 9.595 |
KLD and same top token are against the BF16 checkpoint run in transformers, over 16 x 512 tokens of wikitext-2 wiki.test.raw, where the BF16 PPL is 8.205. Measured with ik_llama.cpp main at 1180df7 on an NVIDIA GB10, -ngl 99 -fa on, except the v2 rows, which are main at 1621473. BPW is ik_llama.cpp's figure over the 26.07B parameters in the files.
These files need ik_llama.cpp main at 1180df7 or later (Inkling 2 Mini support landed in #2967). They don't load in llama.cpp. Text only; the vision tower isn't included.
llama-server -m Inkling-2-Mini-ik_llama-IQ4_KS.gguf -ngl 99 -fa on -c 65536 --jinja
With too little VRAM for the whole file, add -ot exps=CPU to keep the routed experts in system RAM.
DFlash2 draft for speculative decoding
| File | Size | Use |
|---|---|---|
| Inkling-2-Mini-ik_llama-DFlash2-BF16.gguf | 1.0 GB | draft model, -md |
| Inkling-2-Mini-ik_llama-DFlash2-IQ4_KS.gguf | 332 MB | draft model, -md |
GGUF conversions of incoai/Inkling-2-Mini-DFlash2, the DFlash 2 block-diffusion draft for Inkling 2 Mini. It doesn't run alone. It drafts tokens for one of the files above, and the target verifies them. These files need ik_llama.cpp main with #2994 (merged 2026-11-25) or later.
llama-server \
-m Inkling-2-Mini-ik_llama-NVFP4-FP8B128.gguf \
-md Inkling-2-Mini-ik_llama-DFlash2-IQ4_KS.gguf \
--spec-type dflash \
-ngl 99 -ngld 99 -fa on \
-c 4096 -t 16 --jinja \
--spec-ckpt-mode per-step
| Draft | GSM8K20 decode t/s | Tokens per round |
|---|---|---|
| none (target only) | 32.2 | - |
| DFlash2 BF16 | 49.8 | 5.03 |
| DFlash2 IQ4_KS | 52.9 | 4.98 |
Measured with ik_llama.cpp main at 1621473 on an NVIDIA GB10 with the NVFP4-FP8B128 target, -temp 0, 20 GSM8K prompts with up to 256 tokens each, mean of two runs. The gain depends on the text. On a code prompt and an extraction prompt the IQ4_KS draft reached 56.0 and 50.1 t/s, against 32.4 and 31.8 without a draft. On a story prompt it was below the target-only speed (28.0 against 32.2).
The BF16 file is convert_hf_to_gguf.py from #2994 on the source safetensors, with --target-model-dir set to the Inkling 2 Mini checkpoint and --outtype bf16. The IQ4_KS file is llama-quantize --custom-q 'selector_(predecessor|successor)\.weight$=q8_0' <BF16> <out> IQ4_KS.
Recipes
The NVFP4-FP8B128 file is the release checkpoint converted with ik_llama.cpp's convert_hf_to_gguf.py, nothing requantized. The routed experts of layers 0-19 are the checkpoint's own NVFP4 weights as NVFP4_KS. Layers 20-23 are MXFP8 in the checkpoint and become F8_E4M3_B128. Everything else is BF16 and F32.
The other seven files were made with llama-quantize --allow-requantize --imatrix inkling2-mini-r1.imatrix from the NVFP4-FP8B128 file, with ik_llama.cpp's default mix for each type. The imatrix, inkling2-mini-r1.imatrix, is 200 chunks of 512 tokens computed on the same file. All of them except IQ4_KS used --cuda-quantize, because their mixes include trellis tensors.
IQ1_KT adds --custom-q "attn_(q|k|v|gate|output|rel)\.weight=q8_0,attn_(sink_proj|k_conv_proj|v_conv_proj)\.weight=bf16,token_embd\.weight=iq2_ks": the v2 rule below plus the token embedding at IQ2_KS. The routed experts stay at IQ1_KT. v1 used --custom-q "attn_q\.weight=q4_K,attn_output\.weight=q5_K,attn_gate\.weight=iq2_ks,attn_rel\.weight=iq2_ks,attn_sink_proj\.weight=iq2_ks,attn_v_conv_proj\.weight=iq2_ks,token_embd\.weight=iq2_ks". The default IQ1_KT mix measured KLD 0.357.
All seven IQ and KT files are v2. v2 adds --custom-q "attn_(q|k|v|gate|output|rel)\.weight=q8_0,attn_(sink_proj|k_conv_proj|v_conv_proj)\.weight=bf16", which puts attention at Q8_0 and the three small projections at BF16. That costs 0.3-0.4 GB per file. On main at 1621473, mean KLD from v1 to v2 on wikitext-2 is 0.0108 to 0.0092 (IQ4_KS), 0.0181 to 0.0128 (IQ4_KT), 0.0303 to 0.0247 (IQ3_KS), 0.0345 to 0.0309 (IQ3_KT), 0.1046 to 0.0894 (IQ2_KS), 0.1197 to 0.1054 (IQ2_KT) and 0.2012 to 0.1817 (IQ1_KT). On a code text (ik_llama.cpp's src/llama.cpp, against the NVFP4-FP8B128 file) it is 0.0069 to 0.0052 (IQ4_KS), 0.0089 to 0.0066 (IQ4_KT), 0.0142 to 0.0118 (IQ3_KS), 0.0163 to 0.0147 (IQ3_KT), 0.0418 to 0.0353 (IQ2_KS), 0.0466 to 0.0410 (IQ2_KT) and 0.0775 to 0.0728 (IQ1_KT). The v1 files are in the repository history.
License
Apache-2.0, the same as the source checkpoint.
- Downloads last month
- 4,901
Model tree for ji-farthing/Inkling-2-Mini-ik-llama-GGUF
Base model
thinkingmachines/Inkling-2-Mini