Skip to content

Commit

Permalink
Upd
Browse files Browse the repository at this point in the history
  • Loading branch information
rohan-varma committed Apr 10, 2024
1 parent 0ebd6f6 commit 0b4fbe1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipes/lora_finetune_single_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,11 @@ def save_checkpoint(self, epoch: int) -> None:
epoch=epoch,
intermediate_checkpoint=(epoch + 1 < self.total_epochs),
)
log.info(
utils.memory_stats_log(
"Memory Stats during checkpoint save:", device=self._device
)
)

def train(self) -> None:
"""
Expand Down

0 comments on commit 0b4fbe1

Please sign in to comment.