<figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6aaaeb5b3de0d0477f9dcca7_k3-article-cover.png" loading="lazy" alt="We made Kimi K3 faster: 1× to ~3× baseline speed on AMD GPUs"></div></figure><p>Kimi K3 now runs at about 3× its baseline speed on Sciforium, on AMD GPUs.</p><p>K3 is a big model to serve: a mixture-of-experts model with 2.8T total parameters, 104B active, and a 1M-token context. We run it on 8× AMD MI355X. This post covers five changes to the software between the model and the GPUs, three of them in detail, and the one that slowed things down first.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6ab1c5be3c58f4093fde2423_k3-article-fig-01-v2.png" loading="lazy" alt="Chart: K3 decode speed, baseline vs Sciforium-optimized"></div></figure><h2>The result</h2><p>On our internal test, with every Sciforium optimization on, K3 runs at about 3× the speed of the baseline. Baseline means Sciforium optimizations off, speculative decoding off.</p><p>The changes are in the kernels of the inference engine (SGLang on ROCm), not in the prompts, so we expect them to hold on other workloads. The number we're publishing is the one we've measured.</p><h2>Speculative decoding first slowed K3 down</h2><p>Speculative decoding is a standard speed-up. A small draft model suggests a few tokens; K3 checks them in a single pass. Accept most of the suggestions and you get several tokens for the price of one forward pass.</p><p>On K3, with speculative decoding on and none of our optimizations, it did the opposite: K3 ran at about 0.5× the speed it had with speculative decoding off. Half as fast as doing nothing.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6aaaeb5c9ec54daca6f2703c_k3-article-setback.png" loading="lazy" alt="Speculative decoding on, optimizations off: about 0.5× baseline"></div></figure><p>The fix wasn't a different draft model. It was changes to the kernels K3 runs on. Three of them are below.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6ab1c5c0605ec0a2dfd51caa_k3-article-fig-02-v2.png" loading="lazy" alt="Diagram: the kernel changes behind the speed-up"></div></figure><h2>Change one: a faster attention kernel</h2><p>We replaced AMD's stock AITER attention kernel with a Sciforium-optimized attention kernel. On the attention step alone, it runs at about 1.68× the stock kernel's speed, geometric mean across our tests.</p><p>That figure is for the attention step only, and it's measured separately from the overall ~3×.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6ab1c5c263565dd30d6c019f_k3-article-fig-03-v2.png" loading="lazy" alt="Chart: attention kernel, about 1.68× the stock kernel's speed"></div></figure><h2>Change two: four GPU kernels, one fused kernel</h2><p>K3 is a mixture-of-experts model. On every routing step, the engine decides which experts handle which tokens and prepares the data for them. In the stock engine that was four separate GPU kernel launches. We fused the routing and preparation work into one optimized kernel, built on and improved from AMD AITER kernels. Four launches become one, and the fixed overhead of the other three goes away.</p><p>This is an optional setting. What we're reporting here is the launch count, not a separate timing.</p><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6ab1c5c2da14dd8d20377c15_k3-article-fig-04-v2.png" loading="lazy" alt="Diagram: four kernel launches fused into one"></div></figure><h2>Change three: less wasted work in the attention step</h2><p>When speculative decoding is on, the attention step was laying out 512 + 64 values in a single 1,024-wide block. That left 448 of the 1,024 slots as empty padding the GPU still had to work through: 43.75% of the block, call it ~44%.</p><p>The new layout uses two right-sized blocks, 512 and 64, holding the same values. 576 wide, no padding. The math didn't change. The hardware stopped spending time on empty slots.</p><h2>Same model, same GPUs</h2><figure class="w-richtext-align-fullwidth w-richtext-figure-type-image"><div><img src="https://cdn.prod.website-files.com/69983d45217658e64b234512/6ab1c5c2afbf49d242e01699_k3-article-fig-05.png" loading="lazy" alt="Same model, same GPUs: every gain came from kernel work on the AMD software stack"></div></figure><p>Every gain here came from kernel work on top of the stock AMD software stack. Five changes in all, in the inference engine and the kernels, including AMD's kernel library, which we built on and improved. None to the model, ROCm or the GPUs. Every change is opt-in or gives the same outputs.</p><p>This is the kind of work we do at Sciforium every day, and we'll keep publishing what we change and what it's worth, so what's possible on AMD is visible to everyone building on it. Which model would you want to see next?</p><h2>Try it</h2><p>Kimi K3 with these optimizations is available on Sciforium dedicated deployments, on our own AMD hardware. <a href="https://console.sciforium.com/signup">Get Started</a> at <a href="https://sciforium.ai">sciforium.ai</a>, or <a href="https://www.sciforium.ai/contact">Contact Sales</a> to talk through your workload.</p><p><em>Test details: our internal test, Kimi K3 on 8× AMD MI355X, run dated 09/05/2026. Baseline = Sciforium optimizations off, speculative decoding off. The ~0.5× point is the same stack with speculative decoding on and no Sciforium optimizations. Attention-kernel figure is the attention step only, geometric mean across tests, and separate from the overall ~3×. Padding figure applies when speculative decoding is on. Kernel-fusion figure counts kernel launches, not run time.</em></p>
← Back
We made Kimi K3 faster.
About 3× baseline speed on 8× AMD MI355X. Here is what changed, including the part where it got slower first.
