Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added systemMetricsMonitor callback #1260

Merged
merged 10 commits into from
Jun 19, 2024
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',
]
]
Loading