mlsanityData to 14 Oct 2026

DiviML: A Module-based Heuristic for Mapping Neural Networks onto Heterogeneous Platforms

arXiv 2308.00127 ↗First posted 31 Jul 2023cs.LG cs.DC cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Datacenters are increasingly becoming heterogeneous, and are starting to include specialized hardware for networking, video processing, and especially deep learning. To leverage the heterogeneous compute capability of modern datacenters, we develop an approach for compiler-level partitioning of deep neural networks (DNNs) onto multiple interconnected hardware devices. We present a general framework for heterogeneous DNN compilation, offering automatic partitioning and device mapping. Our scheduler integrates both an exact solver, through a mixed integer linear programming (MILP) formulation, and a modularity-based heuristic for scalability. Furthermore, we propose a theoretical lower bound formula for the optimal solution, which enables the assessment of the heuristic solutions' quality. We evaluate our scheduler in optimizing both conventional DNNs and randomly-wired neural networks, subject to latency and throughput constraints, on a heterogeneous system comprised of a CPU and two distinct GPUs. Compared to na"ively running DNNs on the fastest GPU, he proposed framework can achieve more than 3× times lower latency and up to 2.9× higher throughput by automatically leveraging both data and model parallelism to deploy DNNs on our sample heterogeneous server node. Moreover, our modularity-based "splitting" heuristic improves the solution runtime up to 395× without noticeably sacrificing solution quality compared to an exact MILP solution, and outperforms all other heuristics by 30-60% solution quality. Finally, our case study shows how we can extend our framework to schedule large language models across multiple heterogeneous servers by exploiting symmetry in the hardware setup. Our code can be easily plugged in to existing frameworks, and is available at https://github.com/abdelfattah-lab/diviml.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 42 references that are in the map. First posted on arXiv 31 Jul 2023.

Builds on

17 of 42 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2014Going Deeper with Convolutionscited by 4,241
  6. 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
  7. 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 943
  8. 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 673
  9. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
  10. 2020BRP-NAS: Prediction-based NAS using GCNscited by 111
  11. 2019Exploring Randomly Wired Neural Networks for Image Recognitioncited by 103
  12. 2017Device Placement Optimization with Reinforcement Learningcited by 86
5 more
  1. 2021Torch.fx: Practical Program Capture and Transformation for Deep Learning in Pythoncited by 40
  2. 2020Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devicescited by 27
  3. 2018DLA: Compiler and FPGA Overlay for Neural Network Inference Accelerationcited by 15
  4. 2020A Computational-Graph Partitioning Method for Training Memory-Constrained DNNscited by 5
  5. 2020DYNAMAP: Dynamic Algorithm Mapping Framework for Low Latency CNN Inferencecited by 3

Built on by

Not cited yet.