Skip to content

Commit

Permalink
added systemMetricsMonitor callback
Browse files Browse the repository at this point in the history
  • Loading branch information
JackZ-db committed Jun 6, 2024
1 parent ff92f3c commit 38d1db6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llmfoundry/callbacks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
OptimizerMonitor,
RuntimeEstimator,
SpeedMonitor,
SystemMetricsMonitor,
)

from llmfoundry.callbacks.async_eval_callback import AsyncEval
Expand All @@ -35,6 +36,7 @@
from llmfoundry.callbacks.scheduled_gc_callback import ScheduledGarbageCollector
from llmfoundry.registry import callbacks, callbacks_with_config

callbacks.register('system_metrics_monitor', func=SystemMetricsMonitor)
callbacks.register('lr_monitor', func=LRMonitor)
callbacks.register('memory_monitor', func=MemoryMonitor)
callbacks.register('memory_snapshot', func=MemorySnapshot)
Expand Down Expand Up @@ -71,4 +73,4 @@
'AsyncEval',
'CurriculumLearning',
'LossPerpVsContextLengthLogger',
]
]

0 comments on commit 38d1db6

Please sign in to comment.