Skip to content

Commit

Permalink
Register NaN Monitor Callback
Browse files Browse the repository at this point in the history
  • Loading branch information
josejg authored Aug 20, 2024
1 parent 6dd04a0 commit ee4fba3
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_logger', 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 ee4fba3

Please sign in to comment.