cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

how to install the package using --index-url

jeremy98
Contributor III

Hi community,

I created a job using databricks asset bundle, but I'm worrying about how to install this dependency in the right way?

jeremy98_0-1744215217654.png

because, I was testing the related job, but seems it doesn't install the torch library properly

 

2 REPLIES 2

jeremy98
Contributor III

I tried to do it manually and it works.. through databricks asset bundle no. But, I did at the end:

            dependencies:
              - torch==2.5.1
              - --index-url https://download.pytorch.org/whl/cpu

 It says:
Error: file doesn't exist --index-url https://download.pytorch.org/whl/cpu

but this isn't true... since through UI works.

I suppose this is a bug from DABs..

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now