Kimi K3 combines a latent routed mixture of experts with full-width shared experts. A complete feed-forward evaluation must score and select experts, project tokens into the latent space, exchange tokens across expert-parallel ranks, compute the routed and shared branches, and normalize and project the routed sum before joining the branches. We present GC-MoE K3, a datacenter Blackwell implementation that schedules this entire evaluation as a CUDA Graph across two Green Contexts. Five base roles split input projection, routing, dispatch, expert computation, and finalization. Dispatch can fill the routed input ring while the compute partition evaluates shared experts. Finalize waits for the expert owners needed by each token and overlaps routed reduction and RMSNorm with loading the output projection weights. Conditional roles reuse the communication partition for routed computation and reduce split-K projection partials. On GB200 at EP8, EP16, and EP32, the operator is faster at all 24 measured configurations than the paired SGLang-style reference (mean speedup 1.1324×). A comparison with historical vLLM-style measurements gives 1.3651× across the same 24 shapes. Both latency comparisons time single-layer graph replay on synthetic K3-shaped inputs with a residual prefix. The separate paired numerical suite passes all 142 cases and 2,936 rank checks.
Figures & tables
Figure 1: SGLang-style schedule for the measured decode shapes. The auxiliary stream starts the shared MLP after the merged front end, reading the original input X . The main stream stages the latent input, runs routed Mega MoE, then normalizes and projects the routed sum. The final addition waits for the shared result S . Amber arrows indicate cross-stream ordering.
Path
Front
Routed and shared experts
Output
SGLang-style
Merged gate/down, then Top16 and FP8 staging
Mega MoE routed call, shared MLP on a side stream
Routed norm and up projection, then join and add shared/prefix
vLLM-style
Gate/Top16 can overlap latent down projection, then staging
Mega MoE routed call, then shared MLP on the main stream
Routed norm, BF16 projection with shared addend, then prefix add
GC-MoE K3
Joint front projection with latent quantization, then router
Dispatch and a four-phase expert compute scheduler on separate SM partitions
Peer-ready combine, norm, up projection and shared/prefix addition
Table 1: Schedules compared at the same post-attention input and prefix-inclusive output boundary. The two Mega MoE rows describe the benchmark wrappers.
Figure 3: GC-MoE K3 dependencies across two Green Contexts. Front normally completes before Compute starts. The early-shared plan can trigger Compute sooner. The dotted edge carries input-block readiness to routed W1. Shared W1 can proceed independently. Without Assist, Finalize joins Dispatch and Compute. With Assist, the path through Role 7 replaces the direct Dispatch-to-Finalize edge. Split- K projection enables Role 6.
Figure 4: GB200 decode at 24 EP/token configurations. a, Lines join the measured maximum of rank-median latencies at successive token counts. b, Markers show the baseline/GC latency ratios for the same EP size and token count. The dashed line marks parity ( 1× ), and labels mark each baseline’s peak ratio. GC and SGLang share a measurement run. vLLM uses historical measurements.
SGLang / GC (paired)
vLLM / GC (historical)
Group
Points
Mean
Peak
Mean
Peak
EP8
8
1.1102
1.1537
1.2962
1.4226
EP16
8
1.1354
1.1804
1.3756
1.5011
EP32
8
1.1514
1.2222
1.4236
1.5404
All
24
1.1324
1.2222
1.3651
1.5404
Table 2: Speedup ratios from measured latencies. Each mean is an unweighted mean of per-point baseline/GC ratios. GC is faster at every listed point against both comparison series.
Path
Minimum cosine
Maximum relative ℓ2
Maximum absolute error
GC-MoE K3
0.999995410
0.003025480
0.50
SGLang-style
0.999996305
0.002748258
0.50
vLLM-style
0.999996006
0.002818683
0.50
Table 3: Numerical results against each path’s reference. GC and SGLang come from the paired experiment. vLLM is historical.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
EP
Tokens/rank
Total tokens
GC-MoE K3
SGLang (paired)
vLLM (historical)
8
1
8
135.065
154.775
192.141
8
2
16
157.357
181.541
215.983
8
4
32
182.449
201.645
241.794
8
8
64
214.038
233.386
275.104
8
16
128
247.180
276.877
314.660
8
32
256
287.506
325.036
360.202
Appendix
Table 4: Maximum of rank-median latency ( μs ). GC and SGLang are same-round values under PyTorch 2.13. vLLM values are historical under PyTorch 2.14.
Under expert parallelism, mixture-of-experts (MoE) layers pay all-to-all token dispatch, grouped GEMMs, and a combine step in every layer. In decode each rank holds only 1-256 tokens: dispatch latency and weight traffic dominate while tensor-core utilization is inherently low. In fused operators such as DeepGEMM's Mega MoE, dispatch and computation overlap only by sharing every SM: dispatch warps compete with TMA/MMA and epilogue warps for registers, shared memory, and issue slots; every phase shares one CTA resource budget, synchronization spans the whole SM array, and every replay ends with a workspace-clean pass and a cross-rank barrier. We present GC-MoE, an open-source FP8/FP4 MoE inference operator for NVIDIA Hopper and Blackwell GPUs that uses CUDA Green Contexts to split the device into a small communication partition and a large compute partition. Each role gets its own kernel, resource budget, and synchronization domain, so dispatch and GEMM tune independently. A three-node CUDA Graph (four on Hopper with fused shared experts) launches the dispatch and grouped-GEMM kernels as concurrent roots; a token-ring handshake starts computation on the first filled ring blocks, and double-buffered receive counters remove the trailing cross-rank barrier between replays. The compute partition runs operand-swapped tcgen05 block-scaled MMA on Blackwell and register-A WGMMA with in-register FP4 decoding on Hopper, with fused SwiGLU, requantization, and optional shared experts. On 8 H20 GPUs GC-MoE accelerates DeepSeek-V4.1-Flash decode by 1.188x on average on both the routed and shared-expert suites (peaks 1.296x and 1.353x); on 8 B300 GPUs it accelerates GLM-5.2 and DeepSeek-V4.1-Flash by 1.106x (1.123x with fused shared experts, peak 1.209x), beating Mega MoE at all 54 measured points at matched accuracy. GC-MoE reserves only 20 of 148 SMs on B300 for dispatch.
Mixture-of-experts (MoE) models expand model capacity by activating only a subset of experts for each token. On accelerators with static execution plans, expert capacities and placement are fixed before routing reveals each expert's load. Uniform worst-case capacities waste work on padding; smaller capacities tied to expert identities can overflow. We present RankLane, which ranks each device's experts by current load and assigns them to fixed-capacity lanes. Runtime indices select experts and token rows while tier populations, shapes and device placement remain fixed. An aggregation graph preserves device ownership and reduces each token's local contributions on one core. Routing calibration and measured execution costs guide tier selection; overflowing chunks rerun at full capacity. We evaluate full-model prefill of Qwen3-30B-A3B and Gemma 4 26B-A4B with MXFP6 weights on four Cloud AI 100 Ultra SoCs, using 128-2048-token chunks and including overflow detection and in-program recovery support. Against a dense baseline, RankLane achieves end-to-end prefill speedups of 1.27-4.18x on Qwen3 and 1.93-3.46x on Gemma.
Wentao Ni, Chihao Yu, Hong Cai +4
University of California, San Diego · Qualcomm AI Research
The Mixture of Experts (MoE) architecture has become a fundamental building block in state-of-the-art large language models (LLMs), improving domain-specific expertise in LLMs and scaling model capacity without proportionally increasing their computational overhead. However, MoE inference often suffers from suboptimal GPU utilization, load imbalance, and elevated latency arising from multiple tokens waiting on the same experts for their computation which arises from sparsity of expert activation. To address these challenges, we propose a dynamic expert replication strategy that predicts which experts are likely to be overloaded and replicates them for upcoming batches of tokens. The replicated experts process batch tokens concurrently across layers, which leads to improved parallelism, shorter GPU idle time, and significantly faster inference. Experimental evaluations conducted on large-scale MoE models, including Switch-base-128 and Switch-base-256, demonstrate that our method achieves near-complete GPU utilization (approx 100%), leading to upto 3x improvement in inference speed while preserving approximately 90-95% of the performance of baseline architectures
Ankit Jyothish, Ali Jannesari, Aishwarya Sarkar +1