Enabling user-driven Checkpointing strategies in Reverse-mode Automatic Differentiation - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Rapport (Rapport De Recherche) Année : 2006

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

Résumé

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%.
Fichier principal
Vignette du fichier
eccomas2006-RR-araya.pdf (298.38 Ko) Télécharger le fichier

Dates et versions

inria-00079223 , version 1 (09-06-2006)
inria-00079223 , version 2 (12-06-2006)

Identifiants

Citer

Laurent Hascoet, Mauricio Araya-Polo. Enabling user-driven Checkpointing strategies in Reverse-mode Automatic Differentiation. [Research Report] 2006, pp.21. ⟨inria-00079223v1⟩
39 Consultations
75 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More