Serving frontier mixture-of-experts models locally usually requires massive cluster memory or catastrophic quantization penalties. Salvatore Sanfilippo, the creator of Redis, has introduced DwarfStar 4, a narrow C inference runtime engineered to execute models like DeepSeek V4 and Qwen locally on high-memory hardware.
The engine relies on two smart architectural decisions to bypass typical memory bottlenecks. First, it applies asymmetric two-bit quantization specifically targeted at routed experts, leaving the shared attention critical paths uncompressed to maintain reasoning capability. Second, it treats the key-value cache as a first-class disk citizen. Long prompt prefixes are hashed via SHA1 and persisted directly to SSD storage, allowing local server instances to restart without triggering an expensive full re-prefill phase.
Minimalist systems programming continues to outperform heavy serving frameworks when engineering for pure hardware efficiency.







