Tessel: Boosting Distributed Execution of Large DNN Models via Flexible Schedule Search

Zhiqi Lin, Youshan Miao, Guanbin Xu, Cheng Li, Olli Saarikivi +2 more
11/26/2023
15 citations
cs.DCcs.AI

No official code found. Best implementation: zhiqi-0/Tessel (6 stars, Python, MIT, last commit 2024-10-13).

Abstract

Increasingly complex and diverse deep neural network (DNN) models necessitate distributing the execution across multiple devices for training and inference tasks, and also require carefully planned schedules for performance. However, existing practices often rely on predefined schedules that may not fully exploit the benefits of emerging diverse model-aware operator placement strategies.

Show full abstract

Handcrafting high-efficiency schedules can be challenging due to the large and varying schedule space. This paper presents Tessel, an automated system that searches for efficient schedules for distributed DNN training and inference for diverse operator placement strategies. To reduce search costs, Tessel leverages the insight that the most efficient schedules often exhibit repetitive pattern (repetend) across different data inputs. This leads to a two-phase approach: repetend construction and schedule completion. By exploring schedules for various operator placement strategies, Tessel significantly improves both training and inference performance. Experiments with representative DNN models demonstrate that Tessel achieves up to 5.5x training performance speedup and up to 38% inference latency reduction.

View on arXivView PDF

Code Implementations(1)

zhiqi-0/TesselCommunity71%
MIT

HPCA'2024 & TPDS'2024 Tessel: Boosting Distributed Execution of Large DNN Models via Flexible Schedule Search

61Python, ShellJul 9, 20222 years agoMIT

Similar Papers

Cite this paper

@article{lin2023tessel,
  title  = {Tessel: Boosting Distributed Execution of Large DNN Models via Flexible Schedule Search},
  author = {Zhiqi Lin and Youshan Miao and Guanbin Xu and Cheng Li and Olli Saarikivi and Saeed Maleki and Fan Yang},
  year   = {2023},
  eprint = {2311.15269},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.15269v1}
}

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/2311.15269.svg)](https://codeofpaper.com/paper/2311.15269)

Discussion