AI & ML
Weave: Routing-Adaptive Runtime Warp Scheduling for MoE Megakernels
arXiv cs.DC0 views
arXiv:2611.27765v1 Announce Type: new Abstract: The Mixture-of-Experts (MoE) architecture is widely used in mainstream large language models. Under expert parallelism (EP), state-of-the-art systems fuse each MoE layer into a persistent megakernel for high performance. By the nature of EP, each GPU's communication and computation volumes vary with the routing result. However, prior work either fixes how GPU resources are divided between communication and computation at compile time (e.g., MegaMoE), or adapts to runtime dynamism only at coarse-grained SM granularity (e.g., mKernel), dedicating whole SMs to communication and leaving their Tensor Cores idle. At the finer warp granularity within each SM, static warp schedules can neither match routing-dependent loads nor prevent warps from idling while waiting for inputs or after finishing their assigned work. Therefore, we propose Weave, an MoE megakernel with three key designs. First, a spatial schedule allocates resources between communication and computation at both SM and warp granularities to match each GPU's load. Second, a temporal schedule switches warp roles as execution progresses, enlisting all warps at the start and end of a layer and selectively handing output scatter to idle communication warps. Third, a fused cost model jointly selects both schedules per GPU at launch from runtime routing statistics. Across all evaluated platforms, Weave outperforms the strongest baselines: under EP8 over DeepGEMM-MegaMoE, it speeds up the MoE layer by 1.30x geomean and up to 1.97x on SM103, and by 1.24x geomean and up to 1.72x on SM90; under EP16 on CDNA3, it beats the fastest official RCCL+AITER baseline by 1.44x geomean (up to 2.87x; 1.67x over vLLM).
Source:https://arxiv.org/abs/2611.27765PreviousAsynchronous Byzantine Lattice Agreement with Logarithmic Response Time and Optimal ResilienceNextTriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Tasks
Related posts
AI Agents Zip From Flaw Discovery to Root Access in 11 Minutes
0Dark Reading

Experts warn SMBs to make sure their websites are ready for Black Friday traffic surges
0TechRadar

You can now run ChatGPT on the SNES
0TechRadar

This new retro-looking Kodak keychain is a mini photo frame and tracker tag
0TechRadar

Apple Black Friday deals live: AirPods. iPad, Apple Watch, iPhone, Apple TV and more!
0TechRadar

Tesla drivers hail new 'Reality Mode' that looks like a video game starring your car
0TechRadar