The TensorFlow Partitioning and Scheduling Problem: It's the Critical Path!
Not on the map. Why?
Abstract (arXiv)
State-of-the-art data flow systems such as TensorFlow impose iterative calculations on large graphs that need to be partitioned on heterogeneous devices such as CPUs, GPUs, and TPUs. However, partitioning can not be viewed in isolation. Each device has to select the next graph vertex to be executed, i.e., perform local scheduling decisions. Both problems, partitioning and scheduling, are NP-complete by themselves but have to be solved in combination in order to minimize overall execution time of an iteration. In this paper, we propose several heuristic strategies to solve the partitioning and scheduling problem in TensorFlow. We simulate the performance of the proposed strategies in heterogeneous environments with communication-intensive workloads that are common to TensorFlow. Our findings indicate that the best partitioning and scheduling heuristics are those that focus on minimizing the execution time of the critical path in the graph. Those strategies provide a speed-up of up to 4 times in comparison to strategies that are agnostic to the critical path, such as hash-based partitioning and FIFO scheduling.
Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). First posted on arXiv 6 Nov 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1.
4 papers.
- 2023Memory-aware Scheduling for Complex Wired Networks with Iterative Graph Optimizationcited by 2
- 2022Accelerate Model Parallel Training by Using Efficient Graph Traversal Order in Device Placementcited by 0
- 2023A Survey on Design Methodologies for Accelerating Deep Learning on Heterogeneous Architecturescited by 0
- 2024A resource-efficient model for deep kernel learningcited by 0
- 2024A resource-efficient model for deep kernel learning13 Oct 2024
- 2023A Survey on Design Methodologies for Accelerating Deep Learning on Heterogeneous Architectures29 Nov 2023
- 2023Memory-aware Scheduling for Complex Wired Networks with Iterative Graph Optimization26 Aug 2023
- 2022Accelerate Model Parallel Training by Using Efficient Graph Traversal Order in Device Placement21 Jan 2022