Instructions to use blackdeep/knaif 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 blackdeep/knaif 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 blackdeep/knaif:Q6_K # Run inference directly in the terminal: llama cli -hf blackdeep/knaif:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf blackdeep/knaif:Q6_K # Run inference directly in the terminal: llama cli -hf blackdeep/knaif:Q6_K
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 blackdeep/knaif:Q6_K # Run inference directly in the terminal: ./build/bin/llama cli -hf blackdeep/knaif:Q6_K
Use Docker
docker model run hf.co/blackdeep/knaif:Q6_K
- Llama new
- LM Studio
- Jan
- vLLM
How to use blackdeep/knaif with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "blackdeep/knaif" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "blackdeep/knaif", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/blackdeep/knaif:Q6_K
- Ollama
How to use blackdeep/knaif with Ollama:
ollama run hf.co/blackdeep/knaif:Q6_K
- Unsloth Desktop
- Pi
How to use blackdeep/knaif with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf blackdeep/knaif:Q6_K
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": "blackdeep/knaif:Q6_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use blackdeep/knaif with Docker Model Runner:
docker model run hf.co/blackdeep/knaif:Q6_K
- Lemonade
How to use blackdeep/knaif with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull blackdeep/knaif:Q6_K
Run and chat with the model
lemonade run user.knaif-Q6_K
List all available models
lemonade list
- Hermes Agent
How to use blackdeep/knaif with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf blackdeep/knaif:Q6_K
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 blackdeep/knaif:Q6_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use blackdeep/knaif with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf blackdeep/knaif:Q6_K
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 "blackdeep/knaif:Q6_K" \ --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"
Card: the measured table from knaif 1.3.0 (same models; macOS rows)
Browse files
README.md
CHANGED
|
@@ -47,6 +47,7 @@ A knaif release is bound to the models it was tested with; its bundled manifest
|
|
| 47 |
|
| 48 |
| knaif | Default (desktop / CLI) | Mobile / low footprint |
|
| 49 |
|---|---|---|
|
|
|
|
| 50 |
| 1.2.0 | `knaif-qwen3-4b-v2` | `knaif-qwen3-1.7b-v2` |
|
| 51 |
| 1.1.0 | `knaif-qwen3-4b-v1` | `knaif-qwen3-1.7b-v1` |
|
| 52 |
| 1.0.1 | `knaif-qwen3-4b-v1` | `knaif-qwen3-1.7b-v1` |
|
|
@@ -79,7 +80,7 @@ every run behind them: [evals/INDEX.md](https://github.com/blackdeep-tech/knaif/
|
|
| 79 |
|
| 80 |
### From the shipped binary, per backend
|
| 81 |
|
| 82 |
-
The same corpora and grader, but run by the packaged knaif 1.
|
| 83 |
per request, executing for real, graded on the files it produced, with complete coverage and the
|
| 84 |
safety gate re-run on the binary. Each backend is accepted against the bar on its own: the
|
| 85 |
model's floor, and its Python score minus 0.02, on outcome and knaif score, plus every required
|
|
@@ -89,29 +90,31 @@ capability slice.
|
|
| 89 |
|---|---|---|---|---|---|
|
| 90 |
| `knaif-qwen3-4b-v2` | Windows · CUDA | 0.943 / 0.984 | 0.982 / 0.980 | 11/11 · 9/9 | accepted |
|
| 91 |
| `knaif-qwen3-4b-v2` | Windows · Vulkan | 0.941 / 0.986 | 0.976 / 0.987 | 11/11 · 9/9 | accepted |
|
| 92 |
-
| `knaif-qwen3-4b-v2` | Windows · CPU
|
| 93 |
| `knaif-qwen3-4b-v2` | Linux · CUDA | 0.945 / 0.981 | 0.982 / 0.980 | 11/11 · 9/9 | accepted |
|
| 94 |
-
| `knaif-qwen3-4b-v2` | Linux · CPU
|
| 95 |
-
| `knaif-qwen3-
|
|
|
|
|
|
|
| 96 |
| `knaif-qwen3-1.7b-v2` | Windows · Vulkan | 0.919 / 0.978 | 0.963 / 0.994 | 11/11 · 9/9 | ffmpeg: one slice short ² |
|
| 97 |
| `knaif-qwen3-1.7b-v2` | Windows · CPU | 0.918 / 0.982 | 0.963 / 0.996 | 11/11 · 9/9 | ffmpeg: three slices short ² |
|
| 98 |
| `knaif-qwen3-1.7b-v2` | Linux · CUDA | 0.922 / 0.977 | 0.963 / 0.994 | 11/11 · 9/9 | accepted |
|
| 99 |
-
| `knaif-qwen3-1.7b-v2` | Linux · CPU
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 104 |
² The 1.7B clears these capability slices by a single request on CUDA, so a backend that breaks a
|
| 105 |
-
near-tie the other way falls below: on
|
| 106 |
-
`codec` (19/22), `adjust_speed` (40/45) and `batch` (24/29); on
|
| 107 |
-
and `batch` (25/29).
|
| 108 |
-
asks a question instead of planning (two "re-encode all videos to
|
| 109 |
-
and a German speed-plus-quality request)
|
| 110 |
-
|
| 111 |
-
³ Sampled, not measured in full: the Windows CPU cell with a 150-request Linux CPU sample
|
| 112 |
-
swapped in. The sample planned 3–5% of requests differently from Windows, none for the worse
|
| 113 |
-
(Linux right as often as Windows or more often); accepting it instead of a full Linux CPU run
|
| 114 |
-
was the owner's decision.
|
| 115 |
|
| 116 |
## Known limitations
|
| 117 |
|
|
|
|
| 47 |
|
| 48 |
| knaif | Default (desktop / CLI) | Mobile / low footprint |
|
| 49 |
|---|---|---|
|
| 50 |
+
| 1.3.0 | `knaif-qwen3-4b-v2` | `knaif-qwen3-1.7b-v2` |
|
| 51 |
| 1.2.0 | `knaif-qwen3-4b-v2` | `knaif-qwen3-1.7b-v2` |
|
| 52 |
| 1.1.0 | `knaif-qwen3-4b-v1` | `knaif-qwen3-1.7b-v1` |
|
| 53 |
| 1.0.1 | `knaif-qwen3-4b-v1` | `knaif-qwen3-1.7b-v1` |
|
|
|
|
| 80 |
|
| 81 |
### From the shipped binary, per backend
|
| 82 |
|
| 83 |
+
The same corpora and grader, but run by the packaged knaif 1.3.0 binary itself: one fresh process
|
| 84 |
per request, executing for real, graded on the files it produced, with complete coverage and the
|
| 85 |
safety gate re-run on the binary. Each backend is accepted against the bar on its own: the
|
| 86 |
model's floor, and its Python score minus 0.02, on outcome and knaif score, plus every required
|
|
|
|
| 90 |
|---|---|---|---|---|---|
|
| 91 |
| `knaif-qwen3-4b-v2` | Windows · CUDA | 0.943 / 0.984 | 0.982 / 0.980 | 11/11 · 9/9 | accepted |
|
| 92 |
| `knaif-qwen3-4b-v2` | Windows · Vulkan | 0.941 / 0.986 | 0.976 / 0.987 | 11/11 · 9/9 | accepted |
|
| 93 |
+
| `knaif-qwen3-4b-v2` | Windows · CPU | 0.942 / 0.986 | 0.976 / 0.982 | 11/11 · 9/9 | accepted |
|
| 94 |
| `knaif-qwen3-4b-v2` | Linux · CUDA | 0.945 / 0.981 | 0.982 / 0.980 | 11/11 · 9/9 | accepted |
|
| 95 |
+
| `knaif-qwen3-4b-v2` | Linux · CPU ¹ | 0.943 / 0.985 | 0.976 / 0.982 | 11/11 · 9/9 | accepted |
|
| 96 |
+
| `knaif-qwen3-4b-v2` | macOS · Metal | 0.938 / 0.986 | 0.976 / 0.985 | 11/11 · 9/9 | accepted |
|
| 97 |
+
| `knaif-qwen3-4b-v2` | macOS · CPU ¹ | 0.940 / 0.986 | 0.976 / 0.985 | 11/11 · 9/9 | accepted |
|
| 98 |
+
| `knaif-qwen3-1.7b-v2` | Windows · CUDA | 0.921 / 0.978 | 0.963 / 0.994 | 11/11 · 9/9 | accepted |
|
| 99 |
| `knaif-qwen3-1.7b-v2` | Windows · Vulkan | 0.919 / 0.978 | 0.963 / 0.994 | 11/11 · 9/9 | ffmpeg: one slice short ² |
|
| 100 |
| `knaif-qwen3-1.7b-v2` | Windows · CPU | 0.918 / 0.982 | 0.963 / 0.996 | 11/11 · 9/9 | ffmpeg: three slices short ² |
|
| 101 |
| `knaif-qwen3-1.7b-v2` | Linux · CUDA | 0.922 / 0.977 | 0.963 / 0.994 | 11/11 · 9/9 | accepted |
|
| 102 |
+
| `knaif-qwen3-1.7b-v2` | Linux · CPU ¹ | 0.920 / 0.981 | 0.963 / 0.996 | 11/11 · 9/9 | ffmpeg: two slices short ² |
|
| 103 |
+
| `knaif-qwen3-1.7b-v2` | macOS · Metal | 0.919 / 0.978 | 0.963 / 0.994 | 11/11 · 9/9 | ffmpeg: one slice short ² |
|
| 104 |
+
| `knaif-qwen3-1.7b-v2` | macOS · CPU ¹ | 0.922 / 0.976 | 0.963 / 0.994 | 11/11 · 9/9 | ffmpeg: one slice short ² |
|
| 105 |
+
|
| 106 |
+
Measured 2026-10-11/15 with the release binary on an RTX 5080 (Windows 11, and Ubuntu 24.04 under
|
| 107 |
+
WSL2) and an M1 Pro (macOS).
|
| 108 |
+
¹ Sampled, not measured in full: a 150-request CPU sample on that OS swapped into the same model's
|
| 109 |
+
Windows CPU (Linux) or Metal (macOS) results; at most 9 requests planned differently, none for the
|
| 110 |
+
worse.
|
| 111 |
² The 1.7B clears these capability slices by a single request on CUDA, so a backend that breaks a
|
| 112 |
+
near-tie the other way falls below: on Windows Vulkan, macOS Metal and the macOS CPU `batch` (25 of
|
| 113 |
+
29, 26 needed); on the Windows CPU `codec` (19/22), `adjust_speed` (40/45) and `batch` (24/29); on
|
| 114 |
+
the Linux CPU `adjust_speed` (40/45) and `batch` (25/29). On Windows and Linux the whole gap is among
|
| 115 |
+
three requests where the model asks a question instead of planning (two "re-encode all videos to
|
| 116 |
+
HEVC" phrasings, one in Chinese, and a German speed-plus-quality request), the same three as with
|
| 117 |
+
knaif 1.2.0. The aggregates and the safety gate clear everywhere. Released by owner decision.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
|
| 119 |
## Known limitations
|
| 120 |
|