The Pulse
AMD adds MXFP4 MoE kernel support for MI300 GPUs
AMD's AITER software now supports MXFP4 mixture-of-experts weights on MI300-series GPUs through a lookup-table decoding method. AMD reports faster kernel execution than an unmerged reference decoder in tests on one MI300X.

Software decoding for an older GPU
AMD's AITER software now supports MXFP4 mixture-of-experts weights in its FlyDSL kernels for MI300-series GPUs, using a lookup table to decode weights that the hardware cannot convert directly. In a ROCm blog post, AMD described the implementation and its tests on an Instinct MI300X.
AMD says the lookup-table method made the first matrix-multiplication kernel 2.2 to 2.4 times faster and the second 1.7 to 2.5 times faster than a reference software decoder. The comparison used the same tiles and covered token counts from 1 to 8192; it measured kernel performance rather than overall model performance.
Why the weights need decoding
The work targets the two-stage mixture-of-experts, or MoE, kernels in AITER, the AMD AI Tensor Engine for ROCm. They are written in FlyDSL, a Python domain-specific language for GPU kernels on ROCm.
The newer MI350 series, based on AMD's CDNA 4 architecture, has an instruction to convert MXFP4 weights to bf16. MI300X, based on CDNA 3, has no equivalent instruction. For models such as gpt-oss that use MXFP4 weights with bf16 activations, each weight must therefore be decoded in software before it can be used by a matrix core.
MXFP4 represents each weight as a 4-bit code and shares an e8m0 scale across a group of 32 weights. The kernel operates in two stages: a gate/up matrix multiplication followed by a down matrix multiplication. Its gated activation is fused into the first stage.
A lookup instead of the reference decoder
Both stages use a shared FlyDSL helper to load the packed weights. The implementation adds a lookup-table path for the MI300X architecture, identified as gfx942; the newer gfx950 architecture uses the hardware conversion instruction.
The first software decoder written while support was being developed was never merged into AITER. The lookup table shipped instead. To make the comparison, AMD put the unmerged decoder back at the same helper call site in the merge commit.
The company says the nonzero decoded bf16 weights were bit-identical between the approaches for every e8m0 scale up to 0xFC. The reported speedups compare the lookup table with that reference decoder, not with a previously shipped gfx942 implementation of the same FlyDSL MoE kernels.
What profiling found
AMD profiled the kernels on one MI300X, using GPU timestamps, hardware counters and an advanced thread trace. Kernel timing covered seven token counts, while the counter and trace analysis focused on an 8-token decode batch and a 2048-token prefill batch.
The company found that vector arithmetic instructions accounted for 93% to 98% of the cycles in which waves issued instructions on the reference software path. Memory and local-data-share instructions together accounted for at most 2.7%, pointing to instruction issue rather than memory waits as the limiter.
Mapping traced instructions back to FlyDSL source identified the weight-decoding helper as the source of 85% to 93% of executed instructions and 67% to 81% of traced cycles across the examined cases. Those results were measured on one compute unit of the MI300X.
Sources
- Original source · Blog post AMD ROCm Blogs “Bringing MXFP4 MoE to AMD Instinct MI300 Series GPUs with FlyDSL” rocm.blogs.amd.com