DeepSeek Writes Custom Metal Kernel for Kimi in 50 Minutes
technaturalism · reddit · 2026-08-09
While running a quantized DeepSeek model on a Mac Studio (512GB), a developer realized there was no existing Metal kernel on GitHub for Unsloth's ultra-low bit quantization of Kimi K2/K3. They decided to let the model write one itself.
The model successfully wrote a custom Metal kernel in about 50 minutes. Although the performance is mediocre, it is significantly better than pure CPU compute, achieving around 4 t/s decode and 20 t/s prefill on the K3 Q10 quantization. The author expressed amazement at the coding capabilities demonstrated by the model at such a low bit quant level.
More from coding & agent
- 6 MCP servers ate 30k tokens before the first prompt: a Claude Code slimming recipe — for-entire-phonly · 2026-11-30
- Redditor ships 14-rule Lumen Anchor Protocol claiming math-anchored hallucination and jailbreak immunity — Teralitha · 2026-11-30
- Developer explains agent memory design: append-only storage plus quarantine to handle collisions — rchardkovacs · 2026-11-30
- WorkflowArena: 145 long-horizon tasks benchmark multi-agent orchestration across nine models — jiqizhixin · 2026-11-30
- Using Perplexity's Decider Model as a Reranker: Binary and Scale-Based Reranking — bo_wangbo · 2026-11-30
- VASP: visual-anchored agent tops scientific poster generation with 94.3 mAP figure extraction — Huihan Wang · 2026-11-30