Skip to content

Commit

Permalink
Merge pull request #2 from weifengpy/fsdp2
Browse files Browse the repository at this point in the history
enable saving checkpoint
  • Loading branch information
weifengpy authored May 1, 2024
2 parents b6fad93 + d6af9a2 commit 7bbe522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/lora_finetune_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def train(self) -> None:
)

self.epochs_run += 1
# self.save_checkpoint(epoch=curr_epoch)
self.save_checkpoint(epoch=curr_epoch)

def cleanup(self) -> None:
if self._is_rank_zero:
Expand Down

0 comments on commit 7bbe522

Please sign in to comment.