mlsanityData to 7 Oct 2026

Moirai: Towards Optimal Placement for Distributed Inference on Heterogeneous Devices

arXiv 2312.04025 ↗First posted 7 Dec 2023cs.DC cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

The escalating size of Deep Neural Networks (DNNs) has spurred a growing research interest in hosting and serving DNN models across multiple devices. A number of studies have been reported to partition a DNN model across devices, providing device placement solutions. The methods appeared in the literature, however, either suffer from poor placement performance due to the exponential search space or miss an optimal placement as a consequence of the reduced search space with limited heuristics. Moreover, these methods have ignored the runtime inter-operator optimization of a computation graph when coarsening the graph, which degrades the end-to-end inference performance. This paper presents Moirai that better exploits runtime inter-operator fusion in a model to render a coarsened computation graph, reducing the search space while maintaining the inter-operator optimization provided by inference backends. Moirai also generalizes the device placement algorithm from multiple perspectives by considering inference constraints and device heterogeneity.Extensive experimental evaluation with 11 large DNNs demonstrates that Moirai outperforms the state-of-the-art counterparts, i.e., Placeto, m-SCT, and GETF, up to 4.28× in reduction of the end-to-end inference latency. Moirai code is anonymously released at urlhttps://github.com/moirai-placement/moirai.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 20 of its 41 references that are in the map. First posted on arXiv 7 Dec 2023.

Builds on

20 of 41 references.

References · 20

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2016Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learningcited by 1,509
  4. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  5. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  6. 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
  7. 2018Object Detection with Deep Learning: A Reviewcited by 524
  8. 2018Horovod: fast and easy distributed deep learning in TensorFlowcited by 275
  9. 2020Memory-Efficient Pipeline-Parallel DNN Trainingcited by 133
  10. 2021Colossal-AI: A Unified Deep Learning System For Large-Scale Parallel Trainingcited by 96
  11. 2017Device Placement Optimization with Reinforcement Learningcited by 84
  12. 2021A Runtime-Based Computational Performance Predictor for Deep Neural Network Trainingcited by 29
8 more
  1. 2019Placeto: Learning Generalizable Device Placement Algorithms for Distributed Machine Learningcited by 26
  2. 2020Efficient Algorithms for Device Placement of DNN Graph Operatorscited by 24
  3. 2018On Optimizing Operator Fusion Plans for Large-Scale Machine Learning in SystemMLcited by 13
  4. 2023SuperScaler: Supporting Flexible DNN Parallelization via a Unified Abstractioncited by 5
  5. 2021Dynamic DNN Decomposition for Lossless Synergistic Inferencecited by 3
  6. 2023Baechi: Fast Device Placement of Machine Learning Graphscited by 2
  7. 2020Communication-Aware Scheduling of Precedence-Constrained Tasks on Related Machinescited by 1
  8. 2022Celeritas: Fast Optimizer for Large Dataflow Graphscited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.