AI RESEARCH

Building a monokernel for LLM inference on AMD MI300X - up to 3,300 output tokens/s per request [P]

r/MachineLearning

We built a monokernel that runs the full decode sequence as one GPU-resident program on AMD MI300X, with some neat optimizations. The die topology is central to the result, we map memory access patterns to the physical layout, compute units group by their associated IOD, and the hardware runs at its full design performance. Up to 3,300 output tokens/s per request, batch size 1, no speculative decoding, no quantization, on 8x MI300X. This preview runs a small 2B coding model, and we plan to large frontier MoE in the future. Technical deep dive: Try it: submitted by /u/averne_ [link] [comments.