Skip to Main content Skip to Navigation
Reports

Enabling user-driven Checkpointing strategies in Reverse-mode Automatic Differentiation

Laurent Hascoet 1 Mauricio Araya-Polo 1
1 TROPICS - Program transformations for scientific computing
CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : This paper presents a new functionality of the Automatic Differentiation (AD) tool Tapenade. Tapenade generates adjoint codes which are widely used for optimization or inverse problems. Unfortunately, for large applications the adjoint code demands a great deal of memory, because it needs to store a large set of intermediates values. To cope with that problem, Tapenade implements a sub-optimal version of a technique called checkpointing, which is a trade-off between storage and recomputation. Our long-term goal is to provide an optimal checkpointing strategy for every code, not yet achieved by any AD tool. Towards that goal, we first introduce modifications in Tapenade in order to give the user the choice to select the checkpointing strategy most suitable for their code. Second, we conduct experiments in real-size scientific codes in order to gather hints that help us to deduce an optimal checkpointing strategy. Some of the experimental results show memory savings up to 35% and execution time up to 90%.
Complete list of metadatas

Cited literature [1 references]  Display  Hide  Download

https://hal.inria.fr/inria-00079223
Contributor : Rapport de Recherche Inria <>
Submitted on : Monday, June 12, 2006 - 10:54:05 AM
Last modification on : Saturday, January 27, 2018 - 1:31:24 AM
Long-term archiving on: : Monday, September 20, 2010 - 3:44:32 PM

Identifiers

Collections

Citation

Laurent Hascoet, Mauricio Araya-Polo. Enabling user-driven Checkpointing strategies in Reverse-mode Automatic Differentiation. [Research Report] RR-5930, INRIA. 2006, pp.21. ⟨inria-00079223v2⟩

Share

Metrics

Record views

149

Files downloads

140