One line, lots of value
The 80/20 of tracking
mlflow.autolog() (or framework-specific variants like mlflow.sklearn.autolog(), mlflow.pytorch.autolog(), mlflow.xgboost.autolog()) patches the framework so that on every training call it logs:
- model hyper-parameters,
- training and evaluation metrics,
- the fitted model (with signature),
- the input example,
- a
requirements.txtof the environment.
When to switch it off
Autolog is excellent for exploration. For production training you usually want explicit logging: it documents intent and you control the metric names. Don't ship autolog into your nightly retraining pipeline.