Skip to content

Commit

Permalink
enable saving checkpoint
Browse files Browse the repository at this point in the history
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
  • Loading branch information
weifengpy committed May 1, 2024
1 parent e68804a commit d6af9a2
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 d6af9a2

Please sign in to comment.