Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
Kindi is a custom inference engine, written in Python on CuPy with CUDA kernels compiled for the installed card, that runs Prism ML's ternary-weight Ternary-Bonsai-2 language models (2B to 27B) on cheap or old GPUs. Supported hardware runs from a 1 GB Quadro K420 (Kepler, NVIDIA 470 driver branch) through the Quadro K1200 (one card, or two in tensor parallel), Quadro K6000 and GeForce GTX 1080 to an RTX 3080, plus AMD Radeon 780M via a ROCm image and an AVX2 CPU engine; support for NVIDIA Nemotron 3.5 Bolt E4B is experimental. A one-command Linux installer detects the cards, downloads and checks the model, and starts an OpenAI-compatible server on 127.0.0.1:8093 with streaming, tool calls and an optional thinking budget; for RTX 30 cards limited to half-rate 16-bit arithmetic it offers to load the separate gpu-unlock module by Zagitta. The README says default (exact-head) greedy output is token-for-token identical to llama.cpp for the same model file, and kindi verify checks this. An optional fast output head scores a shortlist of vocabulary clusters, is about 15% faster, and chose the same token as the full head in 99.4% of 310 measured steps. A prompt cache keeps recurrent-state checkpoints every 256 tokens, up to 3 parked conversations in RAM and saved prompt openings on disk. All comparisons are the author's own tests against llama.cpp with the same model file and context. On the K420 with the 2B at 512 tokens, Kindi writes 20.8 tokens/s against 1.65 (llama.cpp Vulkan build); on a GTX 1080 with the 27B it writes 15.4 tokens/s at 64,000 tokens, where llama.cpp runs out of memory. The speed chart shows Kindi 0.2.0 measurements, not repeated on 0.3.0 except on the K1200 cards (within 0.5%). On a Ryzen 9 7940HS the CPU engine writes the 2B at 64.8 against 23.6 tokens/s. Limits: one request at a time, at most two GPUs per model, and a new 5,000-token prompt takes about 3 minutes on the K420. Released under AGPL-3.0, with paid commercial licences available.