Skip to content

Commit

Permalink
Merge pull request #592 from tlm-adjoint/jrmaddison/paper_ref
Browse files Browse the repository at this point in the history
Preprint -> published article
  • Loading branch information
jrmaddison authored Aug 12, 2024
2 parents 419414e + 5c5e36e commit 7441732
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions docs/source/acknowledgements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ based on the approach described in

Checkpointing with tlm_adjoint is described in

- James R. Maddison, 'On the implementation of checkpointing with high-level
algorithmic differentiation', https://arxiv.org/abs/2305.09568v1, 2023
- James R. Maddison, 'Step-based checkpointing with high-level algorithmic
differentiation', Journal of Computational Science 82, 102405, 2024,
doi: 10.1016/j.jocs.2024.102405

References
----------
Expand Down
8 changes: 4 additions & 4 deletions tlm_adjoint/checkpoint_schedules/mixed.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ class MixedCheckpointSchedule(CheckpointSchedule):
required to restart the forward has the same size as the data required to
advance the adjoint over a step.
An updated version of the algorithm described in
Described in
- James R. Maddison, 'On the implementation of checkpointing with
high-level algorithmic differentiation',
https://arxiv.org/abs/2305.09568v1, 2023
- James R. Maddison, 'Step-based checkpointing with high-level
algorithmic differentiation', Journal of Computational Science 82,
102405, 2024, doi: 10.1016/j.jocs.2024.102405
Offline, one adjoint calculation permitted.
Expand Down
6 changes: 3 additions & 3 deletions tlm_adjoint/checkpoint_schedules/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ def action_forward(cp_action):
dependency data either for storage in checkpointing units or for immediate
use by the adjoint. For details see
- James R. Maddison, 'On the implementation of checkpointing with
high-level algorithmic differentiation',
https://arxiv.org/abs/2305.09568v1, 2023
- James R. Maddison, 'Step-based checkpointing with high-level
algorithmic differentiation', Journal of Computational Science 82,
102405, 2024, doi: 10.1016/j.jocs.2024.102405
In 'offline' schedules, where the number of steps in the forward
calculation is initially known, this should be provided using the `max_n`
Expand Down

0 comments on commit 7441732

Please sign in to comment.