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.

Original post →

More from coding & agent

coding & agent channel →