Inside the Together Compiler: from Megakernels and PTX hacking to agent-driven optimization

simran_s_arora · x · 2026-11-05

Together researcher simransarora shares the personal arc behind the Together Compiler: from ThunderKittens and Megakernels to a year at Together scaling optimization from hand-tuning every customer to peak performance delivered in hours. The compiler took several forms: (1) trying to productionize Megakernels; (2) augmenting the Inductor FX graph by lowering all code to PTX, inserting PDL, and launching in one giant C++ Cubin to avoid PyTorch dispatch overhead; (3) hypothesizing agents would drown in millions of lines of inference engine code and kernel dispatch mechanisms, building a highly instrumented environment (thread continues).

Related event: Together AI Unveils TKCC, an Agentic Continuous Compiler for Production Inference(11 posts)→

Original post →

More from coding & agent

coding & agent channel →