AI Cloud Architect

Mixture-of-Experts kernel engineering on Amazon SageMaker AI

AWSBlog post by Mona Mona, Sadaf Fardeen and Xin YangAWS Artificial Intelligence Blog

AWS engineers share kernel optimizations for fused Mixture-of-Experts (MoE) models on Amazon SageMaker AI: Swap-AB for WGMMA utilization, Triton backend routing for FP8 quantization, and eliminating Triton JIT recompilation. Together they deliver up to 10% higher throughput and up to 9% faster Time to First Token on H200 GPUs.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

SageMaker AI's LMI container gets three vLLM MoE kernel fixes: Swap-AB for Hopper WGMMA utilization, Triton routing for FP8 MoE, and removal of Triton JIT recompilation.

Who it is for

Teams serving large MoE models on SageMaker AI H200 instances who want to tune throughput and time to first token.

Key points

  • Swap-AB gives 2-4 percent end-to-end throughput on H200, in vLLM 0.24.0 or later.
  • Triton backend routing for FP8 quantized fused MoE gives 10 percent higher throughput; available in LMI v28.
  • Removing recompilation improves TTFT by 9 percent on H200 at 8-way tensor parallelism, in vLLM 0.22.0 or later.