Content Deep Dive

Prime Mega MoE: Fast Fused MoE Kernels for Training

Blog post from Prime Intellect

Post Details
Company
Date Published
Author
-
Word Count
571
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

Prime Mega MoE extends DeepSeek’s forward-only Mega MoE kernel with an overlapping backward pass, enabling its use in training mixture-of-experts models, where routing tokens among GPU-hosted experts can otherwise create substantial communication delays. The fused kernel combines token routing, expert MLP computation, and result aggregation while overlapping data transfers with computation, reducing GPU idle time and avoiding intermediate tensors through GPU-resident workspace buffers. It supports bfloat16, Blackwell-only MXFP8, and Hopper-only blockwise FP8, and is optimized for Hopper and Blackwell hardware. In benchmarks using H200 GPUs, Qwen3 MoE models, FP8, activation checkpointing, and real routing workloads, the implementation achieved up to a 3.11× MoE-kernel speedup over PyTorch-based operations and up to a 1.34× end-to-end training speedup over the Prime-RL baseline, demonstrating that fused communication-and-compute kernels can substantially reduce distributed MoE training overhead.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.