TL;DR
XEngine introduces an optimal scheduling approach for tensor checkpointing and recomputation in heterogeneous environments, significantly improving memory efficiency and execution time for deep learning training on resource-constrained devices.
Contribution
It formulates a mixed-integer quadratic programming model for optimal tensor rematerialization across heterogeneous devices, outperforming existing MILP-based methods.
Findings
XEngine achieves up to 22.5% faster schedules than Checkmate.
It effectively utilizes both CPUs and GPUs under memory constraints.
The approach improves resource utilization and training efficiency.
Abstract
Memory efficiency is crucial in training deep learning networks on resource-restricted devices. During backpropagation, forward tensors are used to calculate gradients. Despite the option of keeping those dependencies in memory until they are reused in backpropagation, some forward tensors can be discarded and recomputed later from saved tensors, so-called checkpoints. This allows, in particular, for resource-constrained heterogeneous environments to make use of all available compute devices. Unfortunately, the definition of these checkpoints is a non-trivial problem and poses a challenge to the programmer - improper or excessive recomputations negate the benefit of checkpointing. In this article, we present XEngine, an approach that schedules network operators to heterogeneous devices in low memory environments by determining checkpoints and recomputations of tensors. Our approach…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
