> For the complete documentation index, see [llms.txt](https://paper.lingyunyang.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://paper.lingyunyang.com/reading-notes/conference/sigcomm-2022/multi-resource-interleaving-for-deep-learning-training.md).

# Multi-resource interleaving for deep learning training

## Meta Info

Presented in [SIGCOMM 2022](https://doi.org/10.1145/3544216.3544224).

Authors: Yihao Zhao, Yuanqiang Liu, Yanghua Peng, Yibo Zhu, Xuanzhe Liu, Xin Jin.

Code: <https://github.com/Rivendile/Muri>

## Understanding the paper

### TL;DRs

This paper presents **Muri**, a DL *cluster scheduler* that utilizes *multi-resource interleaving* to improve cluster and job efficiency.\
It designs a scheduling algorithm based on *Blossom algorithm* for multi-resource multi-job packing.

### Key Insights

* DL training jobs have a unique staged, *iterative computation pattern*.
  * Motivate fine-grained multi-resource interleaving in *time*.
  * Each iteration is composed of a sequence of stages like *data loading (Storage IO)*, *preprocessing (CPUs)*, *forward and backward propagation (GPUs)*, and *gradient synchronization (Network IO)*.

### Implementation

Built a prototype of Muri with \~7k LoC and integrated it with **PyTorch**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://paper.lingyunyang.com/reading-notes/conference/sigcomm-2022/multi-resource-interleaving-for-deep-learning-training.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
