GGUF
For llama.cpp and the ecosystem built on it. Cross-platform: CPU, CUDA, Metal, Vulkan, ROCm.
MLX
Apple’s array framework, tuned for Apple Silicon. Best raw performance on M-series Macs and the basis for the iPhone/iPad apps.
Quantization types
Runtime support matrix
This is the part that matters most for a low-bit model: a runtime without native kernels either refuses the file or runs it dequantized, silently losing the speed and memory advantage.1-bit (Q1_0): merged upstream
Because
Q1_0 is upstream, any llama.cpp-based tool built from a recent enough version runs 1-bit Bonsai. When in doubt, use the PrismML llama.cpp binaries, which are known-good.
Ternary (Q2_0): PrismML fork for now
Pre-built binaries
The PrismML llama.cpp release covers 1-bit and ternary on:setup.sh in the demo repo picks the right one automatically. Build-from-source instructions are on the llama.cpp page.