Amazon SageMaker AI has introduced kernel engineering improvements for Mixture-of-Experts (MoE) models, focusing on fusing token routing, data shuffling, and expert calculations into a single batched GPU operation. The team addressed hardware inefficiencies by transposing matrices to match NVIDIA Hopper’s Warp Group Matrix Multiply Accumulate (WGMMA) instruction layout, ensuring the large expert dimension occupies the primary operand slot and saturating the 64‑row hardware requirement. This change also activates asynchronous prefetching from shared memory, reducing idle cycles. The optimizations produce a 2–4 percent end‑to‑end throughput improvement on H200 GPUs and are upstreamed to vLLM version 0.24.0. Additionally, the choice of backend influences performance; profiling shows that for FP8 tensor‑quantized models on Hopper, the Triton backend consistently outperforms the default FlashInfer+CUTLASS path. Triton achieves this by consolidating the entire pipeline—FP8 scaling, matrix multiplication, and expert aggregation—into a single hardware pass, pulling data once from high‑bandwidth memory and processing it entirely within local SRAM registers, thereby eliminating costly global VRAM round‑trips. These kernel and backend optimizations collectively enhance MoE model efficiency, lowering request latency and operational cost for large‑scale language model deployments.
Mixture-of-Experts kernel engineering on Amazon SageMaker AI
Amazon SageMaker AI has released kernel optimizations for Mixture-of-Experts (MoE) models that fuse token routing, data shuffling, and expert calculations into a single GPU operation. By transposing matrices to align with NVIDIA Hopper’s WGMMA instruction layout and using a Triton backend for FP8 quantized models, the team achieved 2–4% throughput gains on large‑scale MoE workloads. The optimizations are integrated into vLLM version 0.24.0 and beyond.
Why it matters
Efficient MoE execution reduces latency and cost for large language models, enabling more scalable AI services.
Topic dossiers NVIDIA