Backend
NanoCP: Taming Load Imbalance in Data-Expert Parallel Decoding under Variable-Length Workloads
arXiv cs.DC0 views
arXiv:2605.21100v2 Announce Type: replace Abstract: Modern serving systems for Mixture-of-Experts (MoE) models adopt hybrid data-expert parallelism: expert parallelism (EP) shards experts across GPUs to scale capacity, while data parallelism (DP) replicates attention layers across instances to process independent requests. Existing systems bind each request's attention, MoE communication, and KV cache to a single instance. Because attention latency scales with KV cache size while MoE communication latency scales with batch size, this binding cannot balance both simultaneously, producing EP stragglers; it also fragments KV memory across instances, inflating tail latency under long contexts. While existing context parallelism (CP) mitigates these constraints, existing group-level and uniform CP designs incur prohibitive communication and attention-side overheads. We present NanoCP, which decouples MoE communication from KV cache placement and achieves dual balance through dynamic context parallelism (DCP). DCP assigns each request a context-parallel degree sized to its KV footprint: long requests distribute attention across multiple instances; short requests remain local. This dynamic parallelism effectively liquefies the KV cache across DP instances within each node, balancing both the per-instance KV cache occupancy and batch sizes without unnecessary load-balancing costs. To bridge DCP with static execution, NanoCP introduces an ahead-of-time (AOT) graph engine paired with a custom routing-based communication backend. Experimental results show that, under 99% TPOT-SLO attainment, NanoCP achieves $3.27\times$ and $2.11\times$ the maximum sustainable request rate of the best-performing vLLM baseline on the DeepSeek-V3 Issue 1% and Issue 5% workloads, respectively, while reducing P99 TPOT by $1.94\times$ and $2.01\times$ on the same two workloads, respectively.
Source:https://arxiv.org/abs/2605.21100PreviousDooly: Configuration-Agnostic, Redundancy-Aware Profiling for LLM Inference SimulationNextConcepts in Practice: C++ MPI Bindings for the HPC Ecosystem - From a Standardizable Core to a Composable Interface
Related posts
SV-WAM: An Efficient Surround-View World-Action Model for End-to-End Autonomous Driving
0arXiv cs.RO
LOGIV: Graph-Verified Execution with Causal Local Repair for Long-Horizon Robot Tasks
0arXiv cs.RO
Staff Augmentation Companies in Canada: How to Choose a Resource Augmentation Partner
0dev.to AI

Harness : quand l'agent améliore lui-même le harness qui l'entoure
0dev.to AI
Google Opens Connected Apps Preview for AI Mode and Gemini
0dev.to AI
San Francisco’s Startup Map Is Missing Something: A Map of How Innovation Actually Works
0dev.to AI