QuestionQ48

VerifiedEnvironment Architectures

A Machine Learning Engineer must build a time-series model. In Databricks, they have created isolated environments in separate workspaces for development, staging, and production. To manage the model, they plan to use a “deploy code” strategy. They are concerned that the model trained in development may not stay consistent across environments because the installed dependencies differ.

What can they do to ensure the model is trained with the same packages?

Explanation

The deploy-code approach trains the same code in each environment. Keeping the same Databricks Runtime version aligns the base execution environment, and installing dependencies from a version-pinned lock file ensures that every job uses the same package versions across development, staging, and production.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!