Skip to content

Commit

Permalink
Add a flag for end of QAT (#297)
Browse files Browse the repository at this point in the history
Signed-off-by: Cheng, Penghui <[email protected]>
  • Loading branch information
PenghuiCheng authored Dec 17, 2022
1 parent 67502c7 commit 5b9be25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neural_compressor/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def on_train_begin(self, dataloader=None):
def on_train_end(self):
""" called after the end of epochs"""
self.callbacks.on_train_end()
logger.info("Training finished!")

def on_epoch_begin(self, epoch):
""" called on the beginning of epochs"""
Expand Down

0 comments on commit 5b9be25

Please sign in to comment.