Skip to content

Commit

Permalink
return epoch in scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
sangkeun00 committed Nov 23, 2023
1 parent 2fe6a65 commit bd27357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analog/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __next__(self):
self.analog.ekfac()
if self._epoch == self.execution_schedule["lora"]:
self.analog.add_lora()
return
return self._epoch
raise StopIteration

def __len__(self):
Expand Down

0 comments on commit bd27357

Please sign in to comment.