Instructions to use gufo-org/Inkling-2-Mini-DFlash2-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 gufo-org/Inkling-2-Mini-DFlash2-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 gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf gufo-org/Inkling-2-Mini-DFlash2-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 gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama cli -hf gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16
Use Docker
docker model run hf.co/gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use gufo-org/Inkling-2-Mini-DFlash2-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gufo-org/Inkling-2-Mini-DFlash2-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": "gufo-org/Inkling-2-Mini-DFlash2-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16
- Ollama
How to use gufo-org/Inkling-2-Mini-DFlash2-GGUF with Ollama:
ollama run hf.co/gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16
- Unsloth Desktop
- Pi
How to use gufo-org/Inkling-2-Mini-DFlash2-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gufo-org/Inkling-2-Mini-DFlash2-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": "gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use gufo-org/Inkling-2-Mini-DFlash2-GGUF with Docker Model Runner:
docker model run hf.co/gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16
- Lemonade
How to use gufo-org/Inkling-2-Mini-DFlash2-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16
Run and chat with the model
lemonade run user.Inkling-2-Mini-DFlash2-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use gufo-org/Inkling-2-Mini-DFlash2-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 gufo-org/Inkling-2-Mini-DFlash2-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 gufo-org/Inkling-2-Mini-DFlash2-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use gufo-org/Inkling-2-Mini-DFlash2-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf gufo-org/Inkling-2-Mini-DFlash2-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 "gufo-org/Inkling-2-Mini-DFlash2-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"
Inkling-2-Mini-DFlash2-GGUF
GGUF builds of incoai's Inkling-2-Mini-DFlash2 speculative-decoding drafter for Thinking Machines' Inkling 2 Mini, made for Gufo.
- Gufo: https://gufo.blog/
- Source: https://github.com/gufo-org/gufo
- Inkling 2 Mini in Gufo: https://gufo.blog/docs/development/models/inkling-2-mini
This is not a standalone language model. It drafts tokens for the Inkling 2 Mini target, which checks every one: the output is exactly what the target alone produces, only faster.
Files
| File | Use | Size | SHA-256 |
|---|---|---|---|
Inkling-2-Mini-DFlash2-Q4_K_M.gguf |
Serving | 300 MB | cdc7f89ee6e257a3639ec2a2eec202931ad83ef5c757d7885f6f32b4173ed421 |
Inkling-2-Mini-DFlash2-BF16.gguf |
Source for other quantizations | 1.0 GB | 38b16556c49acf391fd1b3e0fffd802b82f5e20c3a7fed9f95f45939fb75560d |
Usage
With Gufo's Inkling 2 Mini support and Unsloth's
Inkling-2-Mini-UD-Q4_K_XL.gguf
target:
hf download gufo-org/Inkling-2-Mini-DFlash2-GGUF Inkling-2-Mini-DFlash2-Q4_K_M.gguf --local-dir .
gufo serve llm --model Inkling-2-Mini-UD-Q4_K_XL.gguf \
--speculative dflash2 --dflash-model Inkling-2-Mini-DFlash2-Q4_K_M.gguf
DFlash2 support for Inkling 2 Mini was added to Gufo in gufo-org/gufo#1527. llama.cpp can read the file's layout but does not run this drafter with the Inkling 2 Mini target.
Speed
As of November 30, 2026, on AMD Strix Halo (gfx1151), Gufo serving the
UD-Q4_K_XL target over HTTP, eight chat prompts, tokens per second:
| Workload | Without a drafter | Inkling's DSpark | This drafter (Q4_K_M) |
|---|---|---|---|
| One user, greedy | 52.3 | 78.5 | 91.8 |
| One user, default sampling | 52.3 | 73.4 | 84.5 |
| One user, 32,000-token context | 38.3 | 59.7 | 69.1 |
| 8 users, total | 117 | 140 | 148 |
The method and every measurement are in gufo-org/gufo#1527.
How the files were made
incoai/Inkling-2-Mini-DFlash2at revision4f9088ea66c21f2b99ed657d1941c306b03e84d2(BF16 safetensors) was converted with Gufo'stools/models/inkling2/convert_dflash2.py. The converter writes llama.cpp's DFlash2 tensor names and metadata and copies in the tokenizer ofunsloth/Inkling-2-Mini-GGUF(revision8078d149286eec7193795413b9e0643da6d11fa1). Matrices stay BF16, and norms and convolution bases are F32. The result isInkling-2-Mini-DFlash2-BF16.gguf.- llama.cpp's
llama-quantize Inkling-2-Mini-DFlash2-BF16.gguf Inkling-2-Mini-DFlash2-Q4_K_M.gguf Q4_K_Mmade the Q4_K_M file. This is the recipe of incoai's other DFlash2 GGUFs: 45 Q4_K and 4 Q6_K matrices, 32 F32 tensors.
The weights are otherwise unchanged. dflash.target_layers keeps the
checkpoint's [5, 23, 41, 48] (the inputs of layer visits 5, 23 and 41 and the
final norm, as Inkling's own DSpark drafter), and
dflash.selector_softcap_mode = after_correction records how the candidate
selector applies its soft cap.
License and attribution
Apache License 2.0, the license of the original drafter, of Inkling 2 Mini and
of Unsloth's GGUF whose tokenizer is embedded; see LICENSE and
NOTICE.
- Drafter weights: incoai/Inkling-2-Mini-DFlash2 by Inco AI.
- Target model and tokenizer: thinkingmachines/Inkling-2-Mini by Thinking Machines, as packaged in unsloth/Inkling-2-Mini-GGUF.
- Changes: conversion to GGUF and quantization only, as described above.
If you use DFlash 2, please cite the work as incoai's model card asks:
@misc{inco2026dflash2,
title = {{DFlash 2: Keep Drafting Parallel}},
author = {{Inco AI}},
year = {2026},
month = {August},
url = {https://inco.ai/blog/dflash2/}
}
@inproceedings{chen2026dflash,
title = {{DFlash: Block Diffusion for Flash Speculative Decoding}},
author = {Chen, Jian and Liang, Yesheng and Liu, Zhijian},
booktitle = {International Conference on Machine Learning (ICML)},
year = {2026}
}
- Downloads last month
- 810
4-bit
16-bit
Model tree for gufo-org/Inkling-2-Mini-DFlash2-GGUF
Base model
thinkingmachines/Inkling-2-Mini