Skip to content

Commit

Permalink
Add load checkpoint callback (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea authored Oct 28, 2024
1 parent a3ddced commit 3eb5cea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llmfoundry/callbacks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from composer.callbacks import (
EarlyStopper,
Generate,
LoadCheckpoint,
LRMonitor,
MemoryMonitor,
MemorySnapshot,
Expand Down Expand Up @@ -63,6 +64,7 @@
callbacks.register('env_logging', func=EnvironmentLoggingCallback)
callbacks.register('nan_monitor', func=NaNMonitor)
callbacks.register('kill_loss_spike', func=KillLossSpike)
callbacks.register('load_checkpoint', func=LoadCheckpoint)

callbacks_with_config.register('async_eval', func=AsyncEval)
callbacks_with_config.register('curriculum_learning', func=CurriculumLearning)
Expand Down

0 comments on commit 3eb5cea

Please sign in to comment.