AMD GPUs now train AI models 13.4% faster with FP8
AMD's FP8 optimizations boost AI training speed by 13.4% on MI300X GPUs
At the PyTorch Conference 2025, AMD demonstrated FP8 training performance improvements that have now been upstreamed into TorchAO and TorchTitan, enabling native support for AMD Instinct GPUs. The optimizations deliver a 13.4% throughput gain over BF16 on dense models like Llama3-8B while maintaining competitive memory usage (~39GB). For Mixture-of-Experts architectures such as DeepSeek-V3 671B, the team developed fused Triton quantization kernels that recovered 89% of FP8 overhead, with individual kernel optimizations achieving up to 6.2× speedups.
The breakthrough required three key components: native AMD FP8 format support via the FNUZ variant (Finite, No NaN, Unsigned Zero), grouped GEMM enablement for MoE models on ROCm, and a Triton fusion pipeline to reduce quantization overhead. Critical correctness fixes were implemented to address format mismatches where TorchAO initially used NVIDIA's e4m3fn format against AMD's FNUZ max value of 240, which could silently corrupt gradients. The team added hardware auto-detection to ensure proper format selection across AMD's MI300X, MI325X, and MI350X GPUs.
- AMD's FP8 optimizations in TorchAO/TorchTitan deliver 13.4% throughput gains over BF16 on Llama3-8B using MI300X GPUs
- Fused Triton kernels recover 89% of FP8 overhead on DeepSeek-V3 671B MoE models with up to 6.2× kernel speedups
- Native AMD FNUZ FP8 format support with hardware auto-detection prevents silent gradient corruption issues
Why It Matters
Accelerates AI training on AMD GPUs with no quality trade-offs, improving cost efficiency for large model training.