DeepSeek 4 Flash and PRO Local Inference Engine 'ds4' Released for Metal, CUDA, and ROCm Platforms
DwarfStar, a new native inference engine named 'ds4', has been released, optimized primarily for DeepSeek V4 Flash and PRO models. This engine also supports GLM 5.2 and 5.3, including GLM 5.3 Flash. Unlike general GGUF runners, ds4 is self-contained and specifically designed for these models, integrating model loading, prompt rendering, tool calls, KV state, an HTTP server, and a coding agent. It supports various hardware backends, including Apple's Metal for Macs with 96 GB or more RAM (with SSD streaming for smaller machines), NVIDIA CUDA for multi-GPU systems, and ROCm for Strix Halo systems. The project emphasizes its ability to run capable open-weight models on consumer hardware, such as MacBooks, DGX Spark, or Strix Halo, even with limited RAM through SSD streaming. The development process heavily utilized AI assistance from GPT 5.5, 5.6, and Claude Fable, with human oversight for ideas, testing, and debugging.