The engine · geistlib
Inference for CPUs and little memory
A C23 inference engine, shipped as a static library with no runtime dependencies. It loads GGUF models and produces tokens, nothing more.
- Ternary models (BitNet) with integer-only kernels: ARM SDOT on the Pi, AVX-512 VNNI on x86
- Weights memory-mapped and loaded on demand
- Quantised KV cache: INT8, INT4 and 2-bit
- CPU first; Metal and Vulkan on GPUs