forked from hpcaitech/ColossalAI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[model checkpoint] updated checkpoint hook (hpcaitech#598)
- Loading branch information
1 parent
77ad24b
commit 28b515d
Showing
2 changed files
with
14 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
from ._base_hook import BaseHook | ||
from ._checkpoint_hook import LoadCheckpointHook, SaveCheckpointHook | ||
from ._checkpoint_hook import SaveCheckpointHook | ||
from ._log_hook import (LogMemoryByEpochHook, LogMetricByEpochHook, LogMetricByStepHook, LogTimingByEpochHook, | ||
TensorboardHook) | ||
from ._lr_scheduler_hook import LRSchedulerHook | ||
from ._metric_hook import AccuracyHook, LossHook, MetricHook, ThroughputHook | ||
|
||
__all__ = [ | ||
'BaseHook', 'MetricHook', 'LoadCheckpointHook', 'SaveCheckpointHook', 'LossHook', 'AccuracyHook', | ||
'LogMetricByEpochHook', 'TensorboardHook', 'LogTimingByEpochHook', 'LogMemoryByEpochHook', 'LRSchedulerHook', | ||
'ThroughputHook', 'LogMetricByStepHook' | ||
'BaseHook', 'MetricHook', 'LossHook', 'AccuracyHook', 'LogMetricByEpochHook', 'TensorboardHook', | ||
'LogTimingByEpochHook', 'LogMemoryByEpochHook', 'LRSchedulerHook', 'ThroughputHook', 'LogMetricByStepHook', | ||
'SaveCheckpointHook' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters