Skip to main content

Suggest easy setups for managing machine learning workflows.

Summary

  • The easiest production setup uses four managed pieces: MLflow tracking for experiments, Models in Unity Catalog for versions and aliases, Lakeflow Jobs for training and retraining, and Model Serving for deployment.
  • Databricks recommends separate development, staging, and production environments and, in most cases, promoting code rather than models. Aliases such as Champion and Challenger mark the live and candidate model versions.
  • Begin with scheduled retraining. Move to triggered retraining once monitoring shows you need it.
  • Data profiling on inference tables tracks model performance and drift, and Unity Catalog adds access control, lineage, and auditing to registered models.
  • Preview pieces: model update triggers (Beta), MLflow 3 deployment jobs (Public Preview), and AI Runtime for serverless GPU training (Public Preview).

Suggest easy setups for managing machine learning workflows

The easiest setup has the fewest parts: log runs with MLflow, register the model you want to keep in Unity Catalog, run training as a Lakeflow Job, and serve the current version with Model Serving. Databricks describes this as an integrated platform for the ML lifecycle, from data preparation to production monitoring. ML workflow management covers five steps: prepare data, train and compare experiments, register the version you keep, deploy it, and monitor it to decide when to retrain.

Key capabilities to evaluate

Capability Why it matters
Experiment tracking Logs parameters, metrics, and artifacts so you can compare runs
Model registry with governance Gives each model versions, aliases, access control, and lineage
Orchestration and triggers Runs training on a schedule or when data or models change
Safe deployment Serves a model behind an endpoint and splits traffic to compare versions
Monitoring Tracks model performance and drift from logged requests and predictions
Environment separation Keeps development, staging, and production apart with a clear promotion path
Training compute Offers prebuilt ML libraries, GPUs, and distributed training for models that outgrow one machine
Reproducibility Records the code, data, and parameters behind each run, though results can still vary

How Databricks approaches ML workflow management

Track experiments with MLflow. MLflow on Databricks provides experiment tracking, model evaluation, a model registry, and deployment tools, and comes pre-installed on Databricks Runtime ML clusters. A hosted tracking server stores experiment data in your workspace. In an interactive Python notebook, Databricks Autologging records parameters, metrics, model files, and lineage for supported libraries such as scikit-learn and XGBoost. On serverless compute, call mlflow.autolog() yourself.
Register and govern models in Unity Catalog. Models in Unity Catalog is a hosted MLflow Model Registry with centralized access control, auditing, lineage, and model discovery across workspaces. It is the default registry in MLflow 3. Stages aren't supported, so express the environment in the three-level namespace and mark the production version with an alias such as Champion. Reassigning the alias moves production to a different version.
Automate with Lakeflow Jobs. Lakeflow Jobs runs repeatable tasks that build, train, and deploy ML models. A job can start on a schedule, when a source table updates, or when files arrive in a Unity Catalog storage location. The Databricks MLOps guide recommends one multitask job for training, validation, and deployment. Model update triggers (Beta) start a job when a model version becomes ready or an alias is set, and MLflow 3 deployment jobs (Public Preview) add evaluation, approval, and deployment steps to each new model version.
Deploy with Model Serving. Model Serving exposes each model as a REST API and scales with demand. One endpoint can serve several models or versions with a traffic split, which supports Champion versus Challenger and A/B comparisons. Updates keep the existing configuration running until the new one is ready.
Monitor and retrain. Model Serving and data profiling can collect and monitor inference tables of requests and responses. Data profiling tracks data drift and model performance, and you can alert on those metrics. Databricks recommends starting with scheduled, periodic retraining and moving to triggered retraining when needed, for example a SQL alert that calls a webhook to start training.
Choose training compute. Databricks Runtime ML includes libraries such as PyTorch, TensorFlow, and XGBoost. For neural networks, Databricks recommends a single machine when possible; when the model or data won't fit, Databricks Runtime ML includes TorchDistributor, the DeepSpeed distributor, and Ray. For custom deep learning on GPUs, Databricks recommends AI Runtime, serverless GPU compute in Public Preview.

A starter flow

  1. Train in a notebook with autologging on, and log the training table with mlflow.log_input for lineage.
  2. Register the model and set the Champion alias on the version you trust.
  3. Put training, validation, and deployment in one Lakeflow Job, scheduled to match how often your data changes.
  4. Deploy the Champion version to a Model Serving endpoint and test a challenger with a traffic split.
  5. Profile the inference table, alert on a drift or quality metric, and decide when to trigger retraining.

FAQs

Do I need to manage training infrastructure myself?

You pick the compute but don't build it. Databricks Runtime ML gives you preconfigured compute, and AI Runtime (Public Preview) removes cluster management for GPU deep learning.

How do I compare models and pick one to deploy?

Compare runs within an MLflow experiment. The MLOps guide then has you validate the candidate, give it the Challenger alias, and compare it with Champion offline or with an online A/B test or gradual rollout.

Can I automate retraining?

Yes. Schedule a job, or trigger it when source tables update or files arrive. Databricks recommends starting with scheduled retraining and adding triggered retraining once monitoring shows you need it.

Will a rerun give identical results?

Not always. Many ML algorithms involve randomness, so results can differ even from the same starting conditions. MLflow records parameters and code versions so you can trace each result.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.