nemo_automodel.components.loggers
nemo_automodel.components.loggers
Submodules
nemo_automodel.components.loggers.comet_utilsnemo_automodel.components.loggers.log_utilsnemo_automodel.components.loggers.loggersnemo_automodel.components.loggers.metric_loggernemo_automodel.components.loggers.mlflow_utilsnemo_automodel.components.loggers.wandb_utils
Package Contents
Classes
API
User-facing Comet ML configuration.
Comet API key. None reads from COMET_API_KEY env var.
Enable Comet’s automatic metric logging.
Display name for this experiment run.
Comet project name.
List of string tags attached to the experiment.
Comet workspace. None uses the default.
Initialise Comet ML and return the logger (active on rank 0).
When model_name is provided a model:<name> tag is appended and,
if experiment_name is empty, one is derived from the model name.
Parameters:
Optional model name used to tag the run and derive an experiment name when none is set.
Returns: Any
A CometLogger instance.
User-facing MLflow configuration (maps to the YAML mlflow: block).
Root artifact store URI for the experiment.
Free-text description shown in the MLflow UI
(sets the mlflow.note.content tag).
MLflow experiment name.
Nesting depth for mlflow.log_params.
1 (default) splits one level; None is fully recursive.
When True (default), look for a mlflow_run_id
sidecar in the checkpoint dir and resume that run.
Display name for the run.
Dictionary of string tags attached to the run.
MLflow tracking server URI. None delegates to
MLFLOW_TRACKING_URI and then MLflow’s local default
(sqlite:///mlflow.db in current releases).
Initialise MLflow on rank 0 and start (or resume) a run.
Installs a sys.excepthook so crashed jobs report as FAILED rather
than FINISHED. On non-rank-0 processes returns None.
Parameters:
Checkpoint directory used to persist / read the
mlflow_run_id sidecar for run resumption.
Full training config dict logged as MLflow params
and as a config.yaml artifact.
Returns: Any
Active mlflow.entities.Run on rank 0, or None.
User-facing WandB configuration (maps to the YAML wandb: block).
The named fields are the common ones; any other key under the YAML
wandb: block (e.g. mode, dir, resume) is a valid
wandb.init() kwarg and is preserved verbatim in extra and
forwarded to wandb.init().
WandB team / entity. None uses the default from
the wandb config or WANDB_ENTITY env var.
Any additional wandb.init() kwargs (mode, dir,
…) carried through unfiltered.
Group name for related runs.
Display name for the run. When empty, build derives
one from the model name.
Free-text notes shown in the WandB UI.
WandB project name.
Optional SwanLabConfig that mirrors this run to
SwanLab (the wandb.swanlab: sub-block).
List of string tags attached to the run.
Initialise WandB and return the run.
Parameters:
Full training config dict logged to the WandB run.
Optional model name used to derive the run name
when name is empty.
Returns: Any
Initialised wandb.Run.
Build from a flat kwargs dict, routing unknown keys to extra.
Keys matching a named field are assigned directly; everything else
(valid wandb.init params such as mode/dir that are not
first-class fields here) is preserved in extra.