Megakernel optimization speeds DeepSeek V4.1 Flash decode up to 2.27x on AMD MI325X with no accuracy loss

Electronic-Ebb9771 · reddit · 2026-11-05

Sciforium engineers combined many small GPU operations into a single megakernel, speeding up DeepSeek V4.1 Flash 1017 decode by up to 2.27x per user on AMD MI325X with no accuracy loss, across code generation, math, writing, and general Q&A workloads — same weights, only the decode kernel changed.

The takeaway for agent workloads: model choice is only part of the performance equation; kernel and serving-stack optimization can materially improve latency, throughput, and infra efficiency without touching the model. The company owns its GPUs and prices its serverless API 50% below the standard rates of major inference providers it benchmarked against.

Original post →

More from Infra

Infra channel →