|
|
|
|
|
by Onavo
639 days ago
|
|
Also any machine learning use cases! There’s a big caveat with uv where they merge your Pipfile and pip installations. For example if you do
uv add flask (this is added to pipfile)
but then you need to add PyTorch with custom indexes (because most ML libraries distribute driver specific versions) and you do
uv pip install PyTorch —-index-url
what you end up with is a pipfile.lock that merges the two. uv won’t automatically add your dependency to the Pipfile. https://pytorch.org/get-started/locally/ |
|
I am not sure I totally understand what you mean: yes, the lockfile might be messed up, but is the environment working? I'm a bit blessed because I don't have CUDA on my machine so I save myself a lot of hassle.
I am trying to submit an improvement to the docs about this. https://github.com/astral-sh/uv/pull/6523 I'd love to hear your feedback.