Prime Intellect Releases Prime Mega MoE: Trainable Fused MoE Kernel, 3.11x Faster Forward Pass
Prime Intellect has released Prime Mega MoE, a training extension of DeepSeek’s fused Mega MoE kernel.DeepSeek’s kernel only ran the forward pass.Prime Intellect added a fast, overlapping backward pass.That makes the fused kernel usable for training, not just inference.
In its prime-rl trainer, full training steps on Qwen3 MoE models run up to 34% faster.Against TorchTitan, the gain reaches 55%.For teams training mixture-of-experts (MoE) models, that is a direct cut in GPU hours.TL;DR Size: A GPU kernel, not a model.
Tested on Qwen3-30B-A3B and Qwen3-235B-A22B (128 experts, top-8 routing).Runs on: NVIDIA Hopper (blockwise FP8) and Blackwell (MXFP8) GPUs, BF16 on both.Published numbers use 8×H200 nodes, 32 to 128 GPUs.Performance: 32% to 34% faster full training steps than the prime-rl baseline.
48% to 55% faster than TorchTitan.Best: 3.11x faster forward pass on a Qwen3-30B-A3B MoE layer (12.0 ms to 3.9 ms).Worst: 1.24x backward pass on a Qwen3-235B-A22B MoE layer (30.5 ms to 24.6 ms).What is Prime Mega MoE?
Prime Mega MoE is a fused, overlapping MoE kernel for training from Prime Intellect.It builds on the Mega MoE kernel in DeepSeek’s open-source DeepGEMM library.Why is MoE training communication-bound?In an MoE model, each token goes to a small subset of experts.Those experts sit on different GPUs.
So every layer sends tokens out, runs expert math, and sends results back.This happens in the forward pass and again in the backward pass.In a standard setup, these are separate operations.The GPU sorts tokens and waits on the transport layer.Then it computes, hands results back, and waits again.
Those waits are idle GPU time.How does the fused kernel work?DeepSeek’s Mega MoE, added to DeepGEMM in April 2026, replaces that chain with one kernel call.It fuses expert-parallel dispatch, the 2 expert linear layers, SwiGLU, and combine.
While one token group is in transit, the kernel computes on a group that already arrived.It also skips intermediate tensors by using GPU-only scratch buffers.But it only shipped a forward implementation.Prime Intellect wrote the missing backward kernel, also overlapping.
Supported types are BF16, MXFP8 (Blackwell only) and blockwise FP8 (Hopper only).The prime-rl config also exposes an fp8bwd mode: BF16 forward, FP8 backward.(function(){var f=document.getElementById("mtp-pmm-frame");window.addEventListener("message",function(e){if(e.data&&e.data.mtpEmbed==="pmm"&&e.
data.height&&f&&e.source===f.contentWindow){f.style.height=e.data.height+"px";}});})(); How fast is Prime Mega MoE?All numbers below are self-reported by Prime Intellect.Training steps use 8×H200 nodes, FP8, 16,384-token sequences and full activation checkpointing.
Each result is the mean of steps 6 to 20.Full training step, seconds (lower is better): Model (cluster)prime-rl baselineTorchTitan (FP8)Prime Mega MoEGain vs baselineGain vs TorchTitanQwen3-30B-A3B (32 H200)2.783.072.0834%48%Qwen3-235B-A22B (128 H200)12.7214.989.
6532%55% Against TorchTitan, throughput rose from 5,337 to 7,886 tokens/s/GPU on the 30B model.On the 235B model, it rose from 1,094 to 1,697.The prime-rl baseline uses torch all-to-all plus DeepGEMM FP8 experts.
Single MoE layer, milliseconds (1 node, 8×H200, EP=8, 128 experts, top-8, random routing): LayerForwardBackwardFull layer (2x fwd + bwd)Qwen3-30B-A3B12.0 to 3.9 (3.11x)15.4 to 8.2 (1.87x)39.3 to 15.9 (2.47x)Qwen3-235B-A22B20.7 to 9.5 (2.17x)30.5 to 24.6 (1.24x)71.9 to 43.7 (1.
64x) The pattern is clear.Forward gains are large, and backward gains are smaller.The headline “up to 3.11x” refers to the forward pass only.How does it compare with other fused MoE options?
FeaturePrime Mega MoEDeepGEMM Mega MoETorchTitan + DeepEPAMD Primus MegaMoEDeveloperPrime IntellectDeepSeekPyTorch, NebiusAMDTraining (backward)Yes, fused and overlappingNo, forward onlyYes (separate dispatch kernels)Yes, per design docsCompute and comms fusedYesYesNoYes (dispatch+GEMM1, GEMM2+combine)GPUsHopper, BlackwellSM90, SM100 (library)B200 in published runsMI355X (gfx950)Data typesBF16, MXFP8, blockwise FP8FP8xFP8, FP8xFP4BF16, MXFP8 grouped GEMMsBF16, MXFP8Published speedupUp to 55% step time vs TorchTitanNot disclosedUp to 41% on DeepSeek-V3 671BNot disclosedLicenseApache 2.
0 (prime-rl)MITBSD-3-ClauseMIT TorchTitan’s 41% gain comes from a different setup (B200, 671B model, BF16 baseline).It is not directly comparable.How do developers use it?Prime Mega MoE is a dispatch backend in prime-rl.Set type = "megamoe" under [trainer.model.moe.dispatch].
Choose precision from bf16, mxfp8, fp8 or fp8bwd.The training kernels ship in a prebuilt DeepGEMM wheel from prime-kernels.The stock DeepGEMM build lacks them.Key Takeaways Prime Mega MoE adds a fused, overlapping backward pass to DeepSeek’s Mega MoE.
Full training steps run 32% to 34% faster than the prime-rl baseline.Against TorchTitan, steps run 48% to 55% faster on Qwen3 MoE models.Forward gains reach 3.11x, but backward gains drop to 1.24x on large layers.It ships in prime-rl as the megamoe dispatch backend.
Check out the Prime Mega MoE blog post, the announcement on X, and the prime-rl repo.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!are you on telegram?now you can join us on telegram as well.
Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?Connect with us The post Prime Intellect Releases Prime Mega MoE: Trainable Fused MoE Kernel, 3.11x Faster Forward Pass appeared first on MarkTechPost.
Related
相關文章
騰訊12.8億用戶蟬聯中國互聯網第一,綠泡泡月活破1.5億,手遊top10獨佔8款
本文作者: Nemo 2026-11-03 18:59 導語:短劇業務是本次報告的關注重點。11 月 3 日,QuestMobile發佈最新《中國移動互聯網秋季大報告》。報告顯示,截至 2026 年 9 月,騰訊控股以 12.80 億去重總用戶量(APP + 小程序)位列中國互聯網公司用戶規模榜首,第九年蟬聯榜首,霸主地位穩固。
實測阿里版Muse:千問Go 7×24小時在線,幫我逛淘寶、盯大麥
AI應用風向標(公眾號:ZhidxcomAI) 作者|畢偉豪 編輯|漠影 如果有這樣一個AI,它有一部手機和一臺電腦在雲端24小時運轉等你發號施令,能登錄你的淘寶、高德、大麥,能幫忙挑選商品,還能在雲端電腦上開發遊戲,甚至可以一句話做出應用,你會拿它來做什麼?
螞蟻自研AI數據平臺OceanBase獲獲世界互聯網大會傑出貢獻獎
本文作者: 徐咪 2026-11-03 14:46 導語:11月3日上午,2026世界互聯網大會在浙江烏鎮開幕。記者從大會現場獲悉,螞蟻自研AI數據平臺OceanBase獲得“世界互聯網大會傑出貢獻獎”。大會頒獎詞指出 11月3日上午,2026世界互聯網大會在浙江烏鎮開幕。
QuestMobile:豆包、DeepSeek月人均使用次數超其他AI應用
報告認為,具備獨立服務閉環的應用入口,以及能夠打通服務交付的系統級入口,正在逐漸佔據優勢。數據顯示,2026年9月,豆包和DeepSeek的月人均使用次數分別達到72.0次和65.9次,月人均使用時長分別為132.5分鐘和136.7分鐘,在使用頻次和時長方面領先其他AI應用。
騰訊混元放出"AI 科學家":自己訓蛋白、造機械手,還反手改進下一代 AI
為撐起動輒數週的研究,Hyra 2.0 把活拆給三層 Agent:Overall 管資源協調,Mission 做規劃,Worker 跑實驗。任務狀態持久化,等訓練間隙也能推進別的項目;每結論都得附代碼與日誌當憑證,存疑時交獨立 Agent 複核,跑通的經驗沉澱成 Skill 複用。
從用戶場景到產業落地:美的原創性競爭的底層邏輯
每年的科技月都是美的展示技術肌肉的時刻,聚光燈下的獎項固然耀眼,但真正值得關注的,往往是藏在產品背後的研發邏輯。第31屆科技月傳遞出一個明確信號:美的的創新重心,正從“參數內卷”轉向“原創性競爭”。在頒獎儀式上,美的集團董事長兼總裁方洪波強調:“沒有科技的投入和沉澱,就不會有美的的今天;要從同質化競爭,升級到原創性競爭。”這句話不是一句應景的口號,而是美的研發體系多年演進的底層邏輯。