tracking-and-registry
Use this MLflow sub-skill for experiment tracking, runs, params, metrics, tags, artifacts, datasets, search, tracking URI and store setup, fluent API versus MlflowClient decisions, and model registry workflows.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- tracking-and-registry
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use this MLflow sub-skill for experiment tracking, runs, params, metrics, tags, artifacts, datasets, search, tracking URI and store setup, fluent API versus MlflowClient decisions, and model registry workflows.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/api-reference.md8.6 KB
- 参考文档references/troubleshooting.md7.3 KB
- 参考文档references/workflows.md8.2 KB
03 SKILL.md 正文
Tracking and Registry
Use This When
- Building or debugging MLflow experiment tracking with experiments, runs, params, metrics, tags, inputs, datasets, or artifacts.
- Choosing between the fluent
mlflow.*tracking API andmlflow.MlflowClient/mlflow.tracking.MlflowClientfor explicit CRUD workflows. - Configuring local SQLite, HTTP, Databricks, legacy file-store opt-out, or other supported tracking and registry URIs.
- Searching runs, experiments, logged models, registered models, or model versions.
- Registering a logged model, managing registered model versions, tags, descriptions, aliases, and stage-compatible lifecycle operations.
Route Elsewhere
- Model flavor logging, model signatures,
MLmodelcontents, packaging, loading, and prediction belong inmodels-and-flavors. - Starting or securing tracking servers, auth, deployment, projects, and serving belong in
serving-and-projects. - Traces, prompts, GenAI evaluation datasets, trace locations, and prompt registry work belong in
genai-observability.
Start Here
- Read
references/api-reference.mdfor exact entry points, URI behavior, search syntax, and registry capabilities. - Read
references/workflows.mdfor copy-ready tracking and registry patterns. - Read
references/troubleshooting.mdwhen repairing active-run, async logging, artifact URI, search, registry, workspace, or Databricks credential failures. - Run
scripts/tracking_smoke.py --help, thenpython scripts/tracking_smoke.pyto verify that the installedmlflowpackage can track locally without any source checkout.
Key Decision Rules
- Use the fluent API for in-process training code where an active run is natural; use
MlflowClientwhen operating on explicit experiment IDs, run IDs, registry names, pages, or lifecycle actions. - Set
mlflow.set_tracking_uri(...)before starting runs. It does not move an already-active run to a new store. - For local smoke and registry work, prefer a SQLite tracking URI such as
sqlite:///mlflow.db; MLflow 3 places filesystem tracking backends in maintenance mode unlessMLFLOW_ALLOW_FILE_STORE=trueis deliberately set. - Keep tracking URI and registry URI separate in debugging:
MlflowClient(registry_uri=...)andmlflow.set_registry_uri(...)can target a different registry than the tracking backend. - Treat Databricks tracking URIs specially: registry URI defaults toward Unity Catalog (
databricks-uc) unless explicitly overridden.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.