NEST: Network- and Memory-Aware Device Placement For Distributed Deep Learning

Irene Wang, Vishnu Varma Venkata, Arvind Krishnamurthy, Divya Mahajan
3/6/2026
cs.LGcs.DCstat.ML

Official code: scai-tech/Nest (4 stars, MIT, last commit 2026-03-04).

Abstract

The growing scale of deep learning demands distributed training frameworks that jointly reason about parallelism, memory, and network topology. Prior works often rely on heuristic or topology-agnostic search, handling communication and memory separately. Without per-device memory awareness, these methods typically ensure feasibility post hoc by sharding parameters and activations across many devices, increasing synchronization, inflating communication, and underutilizing compute-limiting scalability and efficiency on real datacenter networks. We present NEST, a network-, compute-, and memory-aware device placement framework that unifies model parallelism, topology modeling, and memory feasibility via structured dynamic programming. NEST's DP operates on operator graphs with tensor and expert parallel configurations, explicit allreduce latencies across hierarchical or arbitrary networks, and memory/compute profiles. By factoring parallelism across tensor, pipeline, data, and expert dimensions, NEST defines a principled search space for hybrid strategies while jointly optimizing co-location, network latency, and memory feasibility. Evaluations across diverse hardware and networks show NEST achieves up to 2.43 times higher throughput, better memory efficiency, and improved scalability over state-of-the-art baselines, providing a foundation for co-designing parallelization strategies and datacenter interconnects for next-generation AI infrastructure. The source code of NEST is available at: https://github.com/scai-tech/Nest

View on arXivView PDF

Code Implementations(1)

scai-tech/NestOfficial100%
MIT
40C, C++Feb 19, 20267 months agoMIT

Similar Papers

Cite this paper

@article{wang2026nest,
  title  = {NEST: Network- and Memory-Aware Device Placement For Distributed Deep Learning},
  author = {Irene Wang and Vishnu Varma Venkata and Arvind Krishnamurthy and Divya Mahajan},
  year   = {2026},
  eprint = {2603.06798},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.06798v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.06798.svg)](https://codeofpaper.com/paper/2603.06798)

Discussion