ds4
by antirez · Runtime · Text & code
An inference engine that runs a few very large mixture-of-experts models on Macs and similar machines, streaming experts from disk when memory runs short.
Runs huge DeepSeek-class models on Macs and mini PCs; one rival tested twice as fast
Latest · Nov 29With SSD streaming it reads MoE experts from disk, so the Bosgame M5's stock SSD is likely the bottleneck rather than the chip
Who says what
Opinion is coolingDonato Capitella, who ran it, and The Kaitchup
Capitella found the existing ds4 toolbox ran the 1017 weights without any update, because the inference code is unchanged. The Kaitchup describes it as an engine for a few very large models like DeepSeek V4 Flash on Macs, DGX Spark and Strix Halo.
Alessio Garau, comparing local engines
Garau notes it streams model experts from SSD so they need not all sit in RAM, which makes a stock SSD the likely bottleneck on a Bosgame M5. At the same Q4 quantization he found Halogen Flash Server more than twice as fast, with a big prefill gain too.
October's report was that it simply kept working with new weights; late November brought a rival measured at more than twice its speed.
What would settle it. An independent tokens-per-second comparison of ds4 and Halogen Flash Server on the same model, quantization and machine.
Evidence
- Nov 21antirez's engine for a few very large MoE models like DeepSeek V4 Flash on Macs, DGX Spark and Strix HaloReported
The Kaitchup - Nov 17Uses SSD streaming and caching of MoE experts so not all experts must sit in RAM; Colibri does similar.Hands-on test
Alessio Garau - Oct 18The existing ds4 toolbox runs the 1017 weights without updating, since the inference code is the same.Hands-on test
Donato Capitella