mlsanityData to 14 Oct 2026

Learning to Shard: RL for Co-optimizing the Parallelism Degrees and Per-operator Sharding Dimensions in Distributed LLM Inference

arXiv 2509.00217 ↗First posted 29 Aug 2025cs.LG cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

Distributed LLM inference requires careful coordination of parallelization strategies across hundreds to thousands of NPUs to meet production SLOs. Current systems like Megatron-LM rely on static heuristics that separately configure parallelism degrees and per-operator sharding dimensions, leaving significant performance on the table as models scale and hardware topologies diversify. We introduce Learn to Shard, to our knowledge, the first RL-based approach to co-optimize both coarse-grained parallelism degrees and fine-grained per-operator sharding dimensions for distributed LLM inference. Our method employs an attention-based policy over an elite history that learns from high-performing strategies to efficiently navigate the vast combinatorial search space. Evaluated on H100 clusters with MoE models up to 1.6T parameters, Learn to Shard achieves up to 3.5x throughput improvement over metaheuristic baselines and 1.06x over Megatron heuristics.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 19 references that are in the map. First posted on arXiv 29 Aug 2025.

Builds on

13 of 19 references.

References · 13

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  4. 2018Beyond Data and Model Parallelism for Deep Neural Networkscited by 179
  5. 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 126
  6. 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 111
  7. 2020Transferable Graph Optimizers for ML Compilerscited by 29
  8. 2025Seesaw: High-throughput LLM Inference via Model Re-shardingcited by 15
  9. 2025Helix Parallelism: Rethinking Sharding Strategies for Interactive Multi-Million-Token LLM Decodingcited by 7
  10. 2023TAPAS: Fast and Automatic Derivation of Tensor Parallel Strategies for Large Neural Networkscited by 3
  11. 2023UniAP: Unifying Inter- and Intra-Layer Automatic Parallelism by Mixed Integer Quadratic Programmingcited by 2
  12. 2024DFModel: Design Space Optimization of Large-Scale Systems Exploiting Dataflow Mappingscited by 2
1 more
  1. 2025COSMIC: Enabling Full-Stack Co-Design and Optimization of Distributed Machine Learning Systemscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Characterizing Parallelism Strategies in LLM Inference: Fundamental Compute-Communication Trade-offs
  2. 2026Pre-Compiled Pipeline Shards for Distributed LLM Inference on Intel AI PC Fleets
  3. 2026Scaling LLM Inference Beyond Amdahl`s Limits via Eliminating Non-Scalable Overheads ↗
  4. 2026Distributed Generative Inference of LLM at Internet Scales with Multi-Dimensional Communication Optimization
  5. 2026DWDP: Distributed Weight Data Parallelism for High-Performance LLM Inference on NVL72
  6. 2026LLM-CoOpt: A Co-Design and Optimization Framework for Efficient LLM Inference on Heterogeneous Platforms
  7. 2026WISP: Waste- and Interference-Suppressed Distributed Speculative LLM Serving at the Edge via Dynamic Drafting and SLO-Aware Batching
  8. 2026VPP: Virtual Pipeline Parallelism for Efficient Chunked Prefill in Long-Context LLM Inference