Skip to content

Commit

Permalink
DiskCheckpointingManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Ig-dolci committed Nov 12, 2024
1 parent d6f960d commit b73712a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firedrake/adjoint_utils/checkpointing.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""A module providing support for disk checkpointing of the adjoint tape."""
from pyadjoint import get_working_tape, OverloadedType
from pyadjoint.tape import TapePackageData
from pyadjoint.checkpointing import ManageDiskCheckpointing
from pyadjoint.checkpointing import DiskCheckpointingManager
from pyop2.mpi import COMM_WORLD
import tempfile
import os
Expand Down Expand Up @@ -351,7 +351,7 @@ def _ad_restore_at_checkpoint(self, checkpoint):
return checkpoint


class AdjointDiskCheckpointing(ManageDiskCheckpointing):
class AdjointDiskCheckpointing(DiskCheckpointingManager):
"""Manager for the disk checkpointing process.
Parameters
Expand Down

0 comments on commit b73712a

Please sign in to comment.