Skip to content

Commit

Permalink
notebooks' review
Browse files Browse the repository at this point in the history
  • Loading branch information
Ig-dolci committed Sep 7, 2023
1 parent b45fa28 commit ea60a16
Show file tree
Hide file tree
Showing 3 changed files with 421 additions and 143 deletions.
2 changes: 1 addition & 1 deletion checkpoint_schedules/basic_schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _iterator(self):
while True:
while self._r < self._max_n:
n1 = self._max_n - self._r
n0 = ((n1 - 1) // sys.maxsize) * sys.maxsize
n0 = n1 - 1

self._n = n0
if self._move_data:
Expand Down
2 changes: 1 addition & 1 deletion checkpoint_schedules/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"EndForward",
"EndReverse",
"CheckpointSchedule",
"StorageType"
"StorageType",
]


Expand Down
Loading

0 comments on commit ea60a16

Please sign in to comment.