Hardcore Reverse Engineering: Developer Rebuilds Kimi K3 Training Pipeline from Scratch

sharpeye_wnl · x · 2026-08-10

Moonshot previously released the 2.8-trillion-parameter Kimi K3 model but only provided inference code and weights, omitting the training pipeline. A developer decided to rebuild the training pipeline from scratch.

During the reverse-engineering process, they discovered and fixed four specific flaws in the officially released code that prevented it from being used for training. To validate this custom-built pipeline, they trained a miniature 1.27B-parameter (0.364B active) model end-to-end from a random init using K3's exact architecture (including features like Kimi Delta Attention, Stable LatentMoE, and SiTU-GLU).

This test model runs entirely on a standard laptop requiring only 2.4 GiB of memory, with no GPU needed. The developer has open-sourced the complete code and weights, proving that this cutting-edge architecture can be successfully reproduced and trained even without official training code.

Original post →

More from Models

Models channel →