Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix lint
  • Loading branch information
dimdi-y committed Jan 13, 2025
commit dba9dad1873b6497b80fd55012ca9a47f7f71842
2 changes: 1 addition & 1 deletion torchtitan/checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def load(self, step: int = -1) -> bool:

def _remove_checkpoint(self, step: int) -> None:
"""Remove a checkpoint for the given step.

Can be overriden for compatibility with custom storage_reader/storage_writer
"""
path = self._create_checkpoint_id(step)
Expand Down