warp
A C inference engine that runs large AI models by reading only the needed weights from NVMe.
What does it do?
It keeps the shared parts of a mixture of experts model in RAM and reads only the experts selected for token computation from NVMe. It uses remaining memory as a size limited expert cache and prefetches experts likely to be needed by the next layer, overlapping computation with disk access. Published measurements include runs of the full Kimi K3, DeepSeek-V4.1-Flash, and GLM-5.3-Flash models on a 64GB MacBook Pro. Kimi K3 requires storage space for a converted model container, and its reported speed is about 0.6 tokens/second.
Key features
- Read only selected expert weights from disk for inference
- Keep shared weights in RAM and use remaining memory as a limited cache
- Prefetch experts for the next layer to overlap disk access with computation
- Provide an embeddable C engine without third party runtime dependencies