Repository navigation
Releases
Kraits-CUDA v0.1 — Windows x64 Multi-Arch (8 GB+ NVIDIA GPUs)
Kraits-CUDA v0.1 (Windows x64 — Zero CUDA Toolkit Install)
Run bigger MoE models on 8–16 GB NVIDIA GPUs — 100% lossless, no quant tricks.
Verified Benchmarks (8 GB RTX 4070 Laptop, 32 GB RAM, Windows 11)
Model: gemma-4-26B-A4B-it-qat-UD-Q4_K_XL.gguf (14.25 GB on 8 GB VRAM, -ngl 99 -ot exps.weight=CPU -fa 1)
- Prompt (
pp512):400–538 tok/s - Decode (
tg128):30.2–30.5 tok/sat default1050 MBreserve (31–33 tok/slive server) - Long Context & Agent Ready: Verified OpenAI tool-calling (
21.4–21.8 tok/s) and4/4needle recall up to29,801tokens (332–449 tok/spp,14–19 tok/sdecode, flat6,877 / 8,188 MiBVRAM). - Stability:
0OOMs across13launches with graceful VRAM bank shrink fallback;~10sstartup.
Quickstart (3 Steps)
- Download
kraits-cuda-v0.1-win64.zip(600.53 MB, SHA-256:b22d728595764d09a2f7441cd051101cf2372d993974a06ff744b9f1401e2a3c). - Unzip to any folder (NVIDIA CUDA 13.4 runtime DLLs are bundled — no CUDA Toolkit install needed).
- Run:
- PowerShell:
.\start-kraits.ps1 -Model "C:\path\to\model.gguf" - Command Prompt:
start-kraits.bat "C:\path\to\model.gguf" - Open
http://127.0.0.1:8099(OpenAI API athttp://127.0.0.1:8099/v1).
- PowerShell:
Requirements & Notes
- GPUs: Multi-arch
sm_75;80;86;89+ PTX (RTX 20 / 30 / 40 / 50 series, A100, A6000). Physically verified on RTX 4070 Laptop (sm_89). - Driver: Recent NVIDIA GPU driver supporting CUDA 13.x.
- RAM:
32 GBrecommended for 26B–30B MoE models (on16 GBPCs, set$env:KRAITS_RAM_CAP_GB = "10"). Close other GPU-heavy apps for best decode speed. - Thinking models: Defaults to
-ReasoningBudget 0for clean OpenAIcontent; pass-ReasoningBudget -1to enablereasoning_content.
Kraits v0.7.1 ÔÇö Bring Your Own LLM (macOS ARM64 DMG)
Install & Run (1 Step)
- Download Kraits-v0.7.1-macos-arm64.dmg (16 MB, Apple Silicon arm64, macOS 14+, SHA-256: a65a5c0a9f4d829f2e3bd6bf545ede23c0194b42facf4c4ff2811d7c84e0a0e).
- Drag Kraits.app into Applications.
- Double-click Kraits -> pick your .gguf (shard 1 for split models) -> browser opens at http://127.0.0.1:8105 (with OpenAI API on :8099).
Verified on 16 GB M4 Mac Mini (Qwen3.8-Flash-Next-IQ4_XS, 90.97 GiB, K=10 native)
- Clean code: 11ÔÇô15.4 tok/s (10.9 cold -> 14.9ÔÇô15.4 warm, 6/6 clean), 12.6 tok/s prose, 418 MB swap.
- First launch (ad-hoc build on macOS 15+): Double-click once to dismiss the initial block, then open System Settings -> Privacy & Security -> Open Anyway (for CLI use: xattr -dr com.apple.quarantine /Applications/Kraits.app).
Kraits v0.7.0 ÔÇö Bring Your Own LLM (macOS ARM64 DMG)
Install & Run (1 Step)
- Download Kraits-v0.7.0-macos-arm64.dmg (16 MB, Apple Silicon arm64, macOS 14+, SHA-256: 210bae1472a74088b5c57fde6745636882073e8b43ca58debddd072c2565c4bd).
- Drag Kraits.app into Applications.
- Double-click Kraits -> pick your .gguf (shard 1 for split models) -> browser opens at http://127.0.0.1:8105 (with OpenAI API on :8099).
First launch (ad-hoc build on macOS 15+): Double-click once to dismiss the initial block, then open System Settings -> Privacy & Security -> Open Anyway (for CLI use: xattr -dr com.apple.quarantine /Applications/Kraits.app).
Kraits v0.6.29 - Qwen3.8 16K + Repo Adaptor
Complete �0.6.29 sync for macOS Apple Silicon (16 GB M4 tested):
- Engine (�in/): Synced �sync_iq4 libggml-kraits.dylib, libkraits.dylib, patched libggml-metal.0.27.0.dylib, and kraits-server.sh configured for Qwen3.8-Flash-Next-IQ4_XS (91 GiB, -c 16384, 7.20 GB wired bank).
- Adaptor (kraits-adaptor/): Auto-scales context budget to upstream_n_ctx (16384), fixes F23 loopback shutdown, F25 stock macOS python/python3 detection (19/19 cargo test --release passing without a venv), F26 512-token open tool cap, F27 test-only verification reset, F28 default non-thinking proxy guard, and the updated repo-agnostic UI (�uto-grow input + live step traces).
- Bundle SHA-256 (kraits-v0.6.29-macos-arm64.tar.gz):
602e2ef5290efb1d7910121382e5bcc92723eceabcb4e90b18911caf90408062
Kraits v0.6.28 — Repo Adaptor
Zero-dependency AST indexer, KV-prefix lock proxy, and loop-guarded coding-agent harness (kraits-adaptor/), tested with llama-server --jinja and Qwen3.8-Flash-Next-IQ4_XS (16 GB Mac, -c 10240, 16.5-17.7 tok/s).
- Signed planted-bug scope (
pallets/flask, 83 files): 4/4 green in 73-189 s (4-9 turns), 23/26 acrossv0.6.21-v0.6.28. - Known limits: 0/7 on multi-file features and open issues (
#6123). - Build on Mac (
cargo build --release) & docs:kraits-adaptor/README.md· Kraits Wiki
Kraits v0.6.17 — Ling-3.0-flash TypeScript Cut (TS128)
Kraits
A plugin for llama.cpp that runs mixture-of-experts models bigger than a 16 GB Mac's GPU can hold.
New in 0.6.17: Ling-3.0-flash-TS128-Q4_K_M, TypeScript edition
47/48 on six TypeScript tasks, at about 20 tokens/s on a 16 GB Mac. gpt-5-mini: 46/48.
Kraits 0.6.17 runs the 20.4 GB Ling-3.0-flash-TS128-Q4_K_M.gguf (20,395,487,680 bytes, cut from 512 to 128 experts per MoE layer from InclusionAI's inclusionAI/Ling-3.0-flash) on a 16 GB Mac for TypeScript coding. It ships its own expert pin list inside the release tarball (release-0617/Ling-3.0-flash-TS128-Q4_K_M.kraits-pins.txt), locks a 9.6 GB bank of the hottest experts in wired GPU memory at load, refills the bank's tail slots from each prompt's expert picks, and streams cold experts from the SSD.
Measured by the release tester, Mac mini M4 16 GB, Fri 6 Nov 2026, temperature 0, launcher as shipped: writing 19.6 to 20.7 tokens/s (mean 20.4; writing 19 to 20 tokens/s in whole numbers), reading 37 to 45 tokens/s (with a live 100% -> 0% progress countdown on stderr).
| Task | Ling TS128 + Kraits 0.6.17 | gpt-5-mini |
|---|---|---|
| Express route | 7 | 8 |
| Types and generics | 8 | 8 |
| Async error handling | 8 | 8 |
| Jest test suite | 8 | 6 (average of 3 runs: 8, 8, 2) |
| JS to strict TypeScript | 8 | 8 |
| React component | 8 | 8 |
| Total | 47/48 | 46/48 |
The Jest task uses a reworded prompt written by the release tester and unseen by the model's tuning. Ling's answers are identical on every run at temperature 0. gpt-5-mini's answers vary between runs, so its Jest score is the average of 3 runs; its other five scores are single runs from 2 Nov.
Download and run
This git repository holds the Kraits plugin libraries (bin/), not llama-server. To run out of the box, download:
- The release bundle (
kraits-v0.6.17-macos-arm64.tar.gz, which includes the 0.6.17 expert pin listLing-3.0-flash-TS128-Q4_K_M.kraits-pins.txt): https://github.com/1picassoai/kraits/releases/download/v0.6.17/kraits-v0.6.17-macos-arm64.tar.gz (on the v0.6.17 release page) - The 20.4 GB model (
Ling-3.0-flash-TS128-Q4_K_M.gguf): https://huggingface.co/vinnj/Ling-3.0-flash-TypeScript-Edition-GGUF
Unpack the release tarball, copy its Ling-3.0-flash-TS128-Q4_K_M.kraits-pins.txt next to Ling-3.0-flash-TS128-Q4_K_M.gguf, and run:
curl -LO https://github.com/1picassoai/kraits/releases/download/v0.6.17/kraits-v0.6.17-macos-arm64.tar.gz
curl -LO https://huggingface.co/vinnj/Ling-3.0-flash-TypeScript-Edition-GGUF/resolve/main/Ling-3.0-flash-TS128-Q4_K_M.gguf
tar -xzf kraits-v0.6.17-macos-arm64.tar.gz
cp ./release-0617/Ling-3.0-flash-TS128-Q4_K_M.kraits-pins.txt .
./release-0617/kraits-server.sh ./Ling-3.0-flash-TS128-Q4_K_M.gguf 8080Check the model file with shasum -a 256 Ling-3.0-flash-TS128-Q4_K_M.gguf: it must print e9ae4335a36ed49e8262add1099459a807692edb18c6252ba855f0923c52f602 (20,395,487,680 bytes). Check the pin list with shasum -a 256 Ling-3.0-flash-TS128-Q4_K_M.kraits-pins.txt: it must print b430f9b004cc6ea5da2f84aba52ab90e7be5c378a4985886d9ba67515b7f5a23 (16,192 bytes).
Before you start
You need an Apple silicon Mac with 16 GB or more on macOS 15 or later, and the kraits-v0.6.17-macos-arm64.tar.gz release bundle (built against llama.cpp b11936, ggml-base 0.27.0). Kraits 0.6.17 runs only Ling-3.0-flash-TS128-Q4_K_M.gguf (20,395,487,680 bytes) and refuses any other file. It worked if it prints kraits: 0.6.17, encoder bank on..., and then the 100% -> 0% remaining countdown when reading a prompt. The server is llama-server's usual OpenAI-compatible API on the chosen port (default 8080), one request at a time. Nothing leaves the Mac. More detail is in BUILD.md.
Credits
- llama.cpp and ggml, by Georgi Gerganov and contributors (MIT).
- Candle, by Hugging Face and contributors (MIT or Apache 2.0).
- Ling-3.0-flash, by InclusionAI, for the base model.
Licence
Apache 2.0. See LICENSE and NOTICE. The models keep their own licences.
Kraits 0.6.16
Kraits 0.6.16 - Ling-3.0-flash-TS128-Q4_K_M (TypeScript edition)
Runs the 20.4 GB Ling-3.0-flash-TS128-Q4_K_M.gguf (128 experts per MoE layer, cut from inclusionAI/Ling-3.0-flash) on a 16 GB Apple silicon Mac:
- 6-Task TypeScript Benchmark: 45 / 48 across two identical runs (7/8 Express, 6/8 Generics, 8/8 Async, 8/8 Jest, 8/8 JS-to-Strict-TS, 8/8 React).
- Speed (with the launcher as shipped): 32 to 44 tokens/s reading (with a live
100% -> 0%progress countdown), 12 to 17 tokens/s writing.
Checksums (SHA-256)
kraits-v0.6.16-macos-arm64.tar.gz(15,335,988bytes):56c4958c2fb09dbd4c08868e985d8702ace43a18445e460e4147aecbafb41b13Ling-3.0-flash-TS128-Q4_K_M.gguf(20,395,487,680bytes):e9ae4335a36ed49e8262add1099459a807692edb18c6252ba855f0923c52f602Ling-3.0-flash-TS128-Q4_K_M.kraits-pins.txt(16,192bytes):7a5c3f335ee411b5733eb507b650f9a0f646ce5f5660495442dc4a05d23d0c02
Kraits 0.3.0
Gemma 4 26B-A4B, TypeScript edition, on a 16 GB Mac.
- Kraits runs Google's own 14.4 GB file
gemma-4-26B_q4_0-it.gguf. A heat map ships beside the launcher, and each layer's 80 hottest experts go on the GPU at load, so nothing is read from the SSD while it writes. - The model lock accepts this Gemma file and the Qwen3.6-35B-A3B file, and refuses any other.
- Build paths are remapped out of the binaries, and the plugin finds the engine library beside itself.
- The README is shorter, with Gemma first.
Measured by the release tester on a Mac mini M4 with 16 GB, 25 Oct 2026, thinking off, temperature 0: reading 105 tokens/s, writing 31 to 33 tokens/s, five judged TypeScript tasks 33 of 40.
Files (sha256):
bin/libggml-kraits.dylib8fcc3cae44d8de20e12b7268cc581f2603ff08f0564caa77992336cb7e21380fbin/libkraits.dylib967085d4fe8cd83993c1bc88a1194316e722912ed31d10d5661f1d569ff5b27cbin/kraits-servered4ba7173c88511a7b97798dc2683b4a5fe854d22e1ee891fe2109a162b25cdfbin/gemma4-26b-a4b-heat.txtfaf2434846bc3d3f1adcdb90736e2efb8f9af50d37767e78cbbad21b05ca2719
Prerequisites, limits and install are in the README.
Kraits 0.1.1
Documentation only. The binaries are byte-identical to v0.1.0, and the release tester re-checked their hashes for this version.
- BUILD.md no longer carries a speed figure for plain llama.cpp. That figure was a developer's control, never measured by the release tester, and v0.1.0's copy gave it the wrong unit.
- VERSION is 0.1.1.
Files (sha256), unchanged from v0.1.0:
bin/libggml-kraits.dylibc331340e7d5669efa6a649baec601409f873bfac787211328a902373d1a2d486bin/libkraits.dylib46b473875a5be18aa400afcb7bd246cb686afe555cc260b35c270d8278d48709bin/kraits-serverac41413debd10f012b3a0c2612ffab255ce9c12a255bc667e3ffe382bdaf7e65
Numbers, prerequisites and install are in the README.
Kraits 0.1.0
Kraits 0.1.0 is a plugin for stock llama.cpp. It runs Unsloth's Qwen3.6-35B-A3B 4-bit file (22 GB) on a Mac with 16 GB of memory. It changes nothing in llama.cpp and nothing in the model file.
Needs: Apple silicon with 16 GB or more, macOS 15 or later. llama.cpp build b11715, where the official llama-b11715-bin-macos-arm64.tar.gz works as it comes. The model file Qwen3.6-35B-A3B-UD-Q4_K_M.gguf from https://huggingface.co/unsloth/Qwen3.6-35B-A3B-GGUF. Kraits runs this one file and refuses any other.
Measured by the release tester on a Mac mini M4 with 16 GB, using the shipped files, a four-agent coding crew, temperature 0 and thinking off. Speeds are llama-server's own counts in tokens per second, given as the range across the agents' turns.
| Conversation size | Reading (tokens/s) | Writing (tokens/s) | Code score |
|---|---|---|---|
| ~1,000 tokens | 30.4 – 49.3 | 18.2 – 23.0 | 6/8 |
| ~8,000 tokens | 36.7 – 48.4 | 15.8 – 22.5 | 8/8 |
| ~16,000 tokens | 37.8 – 47.3 | 16.0 – 23.8 | 9/9 |
Start: see the README's Quick start. kraits-server prints Kraits loaded when the plugin is running. If it did not load, it stops and says why.
Files (sha256):
bin/libggml-kraits.dylibc331340e7d5669efa6a649baec601409f873bfac787211328a902373d1a2d486bin/libkraits.dylib46b473875a5be18aa400afcb7bd246cb686afe555cc260b35c270d8278d48709bin/kraits-serverac41413debd10f012b3a0c2612ffab255ce9c12a255bc667e3ffe382bdaf7e65
