nemo_automodel.components.loggers.trackio_utils
nemo_automodel.components.loggers.trackio_utils
Trackio run wrapper used by the training recipes.
Module Contents
Classes
Data
API
Log training metrics to a Trackio run.
Wraps the trackio.Run returned by trackio.init so recipes can log MetricsSample dictionaries
directly: reserved keys are dropped, tensors are reduced to Python floats and non-numeric values are skipped.
Built by nemo_automodel.components.loggers.loggers.TrackioConfig.build on rank 0 only.
Parameters:
The trackio.Run to log to.
Finish the run and flush pending metrics.
Log a metrics dictionary at step.
Parameters:
Metric name to value. Values may be Python numbers or tensors; a tensor with more than one
element is logged as its mean. Reserved Trackio keys (e.g. step, timestamp) and
non-numeric values are skipped.
Training step used as the x-axis.