Concept

Advantages of Graph-Based Backends for Parallel Scheduling

Manually scheduling a parallel program—such as training a multi-layer neural network across a CPU and multiple GPUs—is an extremely complex process due to the intricate dependencies between computation tasks and cross-device communication. Deep learning frameworks overcome this challenge by utilizing graph-based computing backends. By analyzing the complete computational graph and its dependencies, the backend can automatically schedule and overlap independent operations across different devices, sparing developers from explicitly programming parallel execution.

Image 0

0

1

Updated 2026-05-18

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L