Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding DBR cluster installed packages with DBX #847

Open
Edwardp17 opened this issue Sep 18, 2023 · 0 comments
Open

Overriding DBR cluster installed packages with DBX #847

Edwardp17 opened this issue Sep 18, 2023 · 0 comments

Comments

@Edwardp17
Copy link

Edwardp17 commented Sep 18, 2023

Expected Behavior

Production scikit-learn version to be 1.3.0.

Current Behavior

I'm seeing that in production the scikit-learn version is 1.0.2 which corresponds to the DBR version of my workflow cluster (12.2).

Steps to Reproduce (for bugs)

Context

I'm using the DBX workflow to build my package using poetry and run certain code from it on Databricks clusters as jobs using DBX workflow definitions. I am expecting that the code running in the Databricks cluster, after being executed via DBX, will have the same environment as I do locally given that locally I am building my environment using poetry, and DBX also builds my wheel using poetry (same dependency specifications). I am attempting to use DBX as a way to centralize my projects configurations so that I can use the same dependency versions in both my development and production environments. Is there anyway to force DBR clusters to use my poetry-specified dependencies with DBX (as in, override the cluster installed packages through DBX)?

Your Environment

  • dbx version used: 0.8.18
  • Databricks Runtime version: 12.2 LTS ML GPU
@Edwardp17 Edwardp17 changed the title Production runtime doesn't matter development Production runtime doesn't match development Sep 19, 2023
@Edwardp17 Edwardp17 changed the title Production runtime doesn't match development How to override DBR cluster installed packages with DBX Sep 20, 2023
@Edwardp17 Edwardp17 changed the title How to override DBR cluster installed packages with DBX Overriding DBR cluster installed packages with DBX Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant