r/MachineLearning · · 1 min read

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

Mirrored from r/MachineLearning for archival readability. Support the source by reading on the original site.

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 support large frontier MoE in the future.

Technical deep dive: https://blog.kog.ai/building-a-single-kernel-latency-optimized-llm-inference-engine-on-amd-mi300x-gpus

Try it: https://playground.kog.ai

submitted by /u/averne_
[link] [comments]

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from r/MachineLearning