Skip to content

Commit

Permalink
Register NaN Monitor Callback (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
josejg authored Aug 20, 2024
1 parent da62c28 commit b32e48c
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 @@ -7,6 +7,7 @@
LRMonitor,
MemoryMonitor,
MemorySnapshot,
NaNMonitor,
OOMObserver,
OptimizerMonitor,
RuntimeEstimator,
Expand Down Expand Up @@ -58,6 +59,7 @@
callbacks.register('run_timeout', func=RunTimeoutCallback)
callbacks.register('loss_perp_v_len', func=LossPerpVsContextLengthLogger)
callbacks.register('env_logging', func=EnvironmentLoggingCallback)
callbacks.register('nan_monitor', func=NaNMonitor)

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

0 comments on commit b32e48c

Please sign in to comment.