Repository navigation
Kindi 0.9.0
Kindi 0.9.0 adds Qwen3.6-35B-A3B, faster Bonsai models, new server features and several experimental items.
What is new
- Qwen3.6-35B-A3B runs on one card with the CPU for the experts, and on the CPU alone. Both use an MTP head. See docs/A3B.md.
- Ornith-1.5-35B-A3B (ornith-ai, MIT) runs with the same engine, with its MTP block inside the file. Install it with
install.sh --model ornith. See docs/A3B.md. - Bonsai 4B and 9B use the tensor cores by default. The output is exact.
- The server answers the OpenAI Responses API and accepts structured output (
json_schemaandjson_object). - Chat sessions work over HTTP and with
kindi chat --resume.kindi chatnow records sessions by default, in~/.kindi/state/sessions/. Usekindi chat --no-recordto turn it off. - The CPU engine runs on CPUs without AVX, AVX2 or F16C.
- Kindi stops with a clear message, and names the program, when another program holds the card memory.
- New commands:
kindi capsandkindi io. Podman works as a container runtime. See docs/TUTORIAL.md.
Speeds
Same file, same context and same card or CPU for each pair of numbers. Tokens per second.
- Qwen3.6-35B-A3B on an RTX 3060 12 GB with 40 physical CPU cores (20,480 context): write 65.3 with the MTP head (fast mode) and 47.7 without it (llama.cpp 44.8). Read 1,594 for a 4,096-token prompt (llama.cpp 333) and 1,421 for 16,384 tokens (llama.cpp 269).
- Qwen3.6-35B-A3B on an Intel Core i5-8400 with no card (6 threads): write 12.64 with the MTP head and 8.92 without it (llama.cpp 7.68). Read 53.6 for a 4,096-token prompt (llama.cpp 47.0).
- Ornith-1.5-35B-A3B on an RTX 3060 12 GB with CPU experts (llama.cpp
--n-cpu-moe 20): write 61.2 plain (llama.cpp 50.9), 74.4 with the MTP block in fast mode and 74.4 on the exact path. Read 1,548 for a 4,096-token prompt (llama.cpp 307). - Bonsai on an RTX 3080 10 GB (context of about 512): 4B write 139 to 301, 9B write 105 to 207, from the 0.8 default to the 0.9 default.
See docs/SPEED.md for the conditions.
Experimental
- Qwen3.8-27B dense (docs/QWEN27B-DENSE.md).
- LoRA adapters with
kindi serve --lora name=FILE[:scale](docs/LORA.md). - MiniCPM5-2B and LFM3-1.7B (docs/NEW-MODELS-0.9.md).
These items have no speed claims.
kindi verifyhas no check for Inkling 2 Mini. Its engine test suite compares its tokens with llama.cpp.
Fixes
- Kindi picks the newest NVRTC that the driver supports (CUDA error 218 on hosts with several NVRTC libraries).
- Flash-Next and the A3B models no longer stop on hosts with about 128 GB of RAM.
kindi servelists a fine-tune under its own name.- Long chats with the Flash-Next and A3B models no longer run out of card memory.
/v1/messagesturns thinking off unless the request enables it (Anthropic API clients).- A prompt-cache cleanup no longer blocks a request.
- The sampler runs on the card that holds its buffers.
- The Flash-Next self-check no longer fails on a near-tie at the first token.
kindi servestarts in the CUDA image.- The CPU expert kernel for Q6_K down projections gave wrong results. We fixed it.
- The drafter's window cache gave a garbled reply after a long prompt. We fixed it.
- CPU logits no longer depend on the number of threads.
- The exact path reads prompts with fp32 GEMMs and is slower than fast mode at prompt reads.
- The MTP head or block is off by default on Turing cards, because the drafts gave no gain there.
KINDI_MTP=1turns it on.
Upgrade
To upgrade, run the installer again (the command is below). It keeps your models. If you use the CUDA container image, pull the 0.9.0-cuda tag and start the container again. See docs/CONTAINERS.md.
Thanks
Thank you to atimelessrage for the pull requests #52, #54, #56, #57, #59, #60, #61, #62, #65, #73 and #74. Thank you to Qwen (Alibaba Cloud), ornith-ai, ggml-org, lmstudio-community, OpenBMB, Liquid AI and harness-hub for their models and files, and to every other model source in the README.
Install or upgrade on Linux with one command (see docs/INSTALL.md for the sha256 check):
curl -fsSL https://amirhusain.com/kindi/install.sh | bashOn Windows 10 or 11, run this in PowerShell (see docs/WINDOWS.md):
irm https://amirhusain.com/kindi/install.ps1 | iexThe sha256 of install.ps1 in this release: 08b1b852a05570452dd6754ce33e5ab232ce3cfed3a94e15bd7902fe98ce530f.