Kindi
by Amir Husain · Runtime · Text & code
An inference engine that runs ternary-weight language models on older Nvidia Pascal graphics cards, in Docker or Python, across one or several GPUs.
Roughly doubles writing speed on old P100 cards, but reads long prompts slower
Latest · Nov 13Version 0.4 runs Ternary Bonsai 2 27B on old Nvidia cards via Python plus its own GPU code on CUDA 10.2
Write-upFree speed-ups for old GPUs, up to twice the tokens per second
Why we say so
Amir Husain claims 1.9 to 2.7 times llama.cpp's writing speed and 12-14% faster prompt reading. Junk GPU Lab, the only one to have tested it, confirmed the writing gain on one PCIe P100 (31.9 vs 16.5 tok/s, still about 22-25 vs 13.5 at 30K) and matched llama.cpp's output token for token on 4 of 4 prompts. The same tester found prompt reading slower (about 80 vs 125 tok/s) and llama.cpp finishing first on 8K-prompt, short-answer jobs, so the maker's reading claim did not hold on that card. The first start took over 7 minutes.
Seen running on
| Machine | Speed | How | Seen by |
|---|---|---|---|
| 8 runs on 16 GB | |||
| 31.9 tok/s | 27B · 36.9K context | ||
| 21.8 tok/s | 27B · 36.9K context | ||
| 30.3 tok/s | 27B · 36.9K context | ||
Evidence
- Nov 13Claims Ternary Bonsai 2 27B writes 1.9 to 2.7 times as fast as llama.cpp on P100; one PCIe card 29.6 vs 14.4 tok/sMaker's claimAmir Husainvia
Junk GPU Lab - Nov 13Docs claim prompt reading is 12-14% faster than llama.cpp, measured on a P100 SXM2 at 300 WMaker's claimAmir Husainvia
Junk GPU Lab - Nov 13Reports 40.4 tok/s on two P100s on Bonsai versus about 15 for llama.cpp; not tested by the reviewerMaker's claimAmir Husainvia
Junk GPU Lab - Nov 13Writes about twice as fast as stock llama.cpp on one PCIe P100: 31.9 vs 16.5 tok/s, 30.3 vs 15.5 at 8K, about 22-25 vs 13.5 at 30KHands-on test
Junk GPU Lab - Nov 13Reads prompts slower than stock llama.cpp on a 175 W-capped PCIe P100: about 80 vs 125 tok/s short, 110 vs 134 at 8KHands-on test
Junk GPU Lab
Show all 11
- Nov 13For an 8K-token prompt with a short answer, stock llama.cpp finished first all three times (about 68-82 s vs 80-93 s)Hands-on test
Junk GPU Lab - Nov 13Self-check matched llama.cpp token for token on 4 of 4 prompts; first start took 7 min 21 s loading weights, later starts said to take about 30 sHands-on test
Junk GPU Lab - Nov 13At temperature 0, code and list answers matched llama.cpp word for word; prose matched for about 400 characters; reasoning 5/5 on bothHands-on test
Junk GPU Lab - Nov 13Short prompt on one PCIe P100 16 GB, PTQ1_0 file, q8_0 KV cache: 31.9 tok/s writing, about 80 tok/s prompt readingHands-on test
Junk GPU Lab - Nov 13At about 8-10K token prompt on one PCIe P100: 30.3 tok/s writing, about 110 tok/s readingHands-on test
Junk GPU Lab - Nov 13At about 26-29K token prompt on one PCIe P100: 21.8 and 25.4 tok/s writing, 96 and 86 tok/s readingHands-on test
Junk GPU Lab