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.

promising

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

AccessOpen codePricefreeRuns onmacOS, LinuxLicenseMIT

Who says what

Opinion is cooling

Donato 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

  1. Nov 21
    antirez's engine for a few very large MoE models like DeepSeek V4 Flash on Macs, DGX Spark and Strix Halo
    ReportedThe Kaitchup
  2. Nov 17
    Uses SSD streaming and caching of MoE experts so not all experts must sit in RAM; Colibri does similar.
    Hands-on testAlessio GarauItalian
  3. Oct 18
    The existing ds4 toolbox runs the 1017 weights without updating, since the inference code is the same.
    Hands-on testDonato Capitella

Everything said about ds4, on the wire

Cost to run

Alternatives

Halogen Flash ServerSays that at the same Q4 quantization it runs more than twice as fast as the other engine, with a big prefill gain too.