CPU-only interactive demo recreates Kimi K3 post-training modules
Developer RossiLH published a lightweight, CPU-only recreation of KIMI K3's post-training system as a Gradio app with 17 interactive tabs plus eight static plot scripts, built on the real models/llm/kimi_k3/posttrain/ code. It covers seven components — XTML dialogue template, SFT, budget control, GRM generative reward, MOPD multi-teacher distillation, partial rollout and the AgentENV sandbox — and explains the underlying math for each. The author states the project is part of his own learning process, uses reduced-size or approximated substitutes where no open-source component exists, and involves no GPUs or large-scale training.
It gives practitioners a runnable, GPU-free way to inspect how Kimi K3's post-training pieces — reward cliffs, rubric scoring, clipped OPD rewards, staleness regularization and sandbox overcommit — behave, though the scaled-down substitutes mean it is a teaching aid rather than evidence of training results.
Some source content is omitted. Continue reading on the original site.