Skip to content

Experiment Tracking API

TrackingResult dataclass

MLflow identity for one immutable project run.

tracking_enabled()

Return whether completed CLI runs should be indexed automatically.

resolve_tracking_root(root=None)

Resolve and create the local MLflow storage root.

resolve_tracking_uri(*, tracking_root=None, tracking_uri=None)

Use an explicit/server URI or the project-local SQLite database.

track_completed_run(run_dir, *, tracking_root=None, tracking_uri=None)

Index a completed run unless automatic MLflow tracking is disabled.

track_immutable_run(run_dir, *, tracking_root=None, tracking_uri=None)

Index one immutable artifact run in MLflow, idempotently.

discover_latest_runs(artifacts_root=Path('artifacts'), *, season=None)

Resolve every valid run referenced by a latest.json pointer.

discover_all_runs(artifacts_root=Path('artifacts'), *, season=None)

Discover every immutable artifact run beneath the artifact root.

sync_runs(run_dirs, *, tracking_root=None, tracking_uri=None)

Index a sequence of immutable runs.