Earlier quoted context omitted.
Joining your aside to tout the benefits of uv. We use uv combined with a simple proxy I wrote, to cache python dependencies, and then install them in parallel. UV also makes it simple to regenerate a requirements file and know who requires the dependencies, which in turn makes it easy to manage the ecosystem, analyze packages, and determine if we can reduce our footprint. Between that latter feature, the proxy, the p…
Is your caching proxy open source?
Using uv with PyTorch
31–40 of 56 posts
Re: Using uv with PyTorch
#32I recently watched a talk by the author of uv that was surprisingly fascinating [1]. He goes into a few of the more notable hacks that they had to come up with to make it as fast as it is. The most interesting thing for me was that package resolution in python given constraints defined (eg. in requirements.txt) maps to a boolean satisfiability problem which is NP-complete. So uv uses a custom SAT solver to do this. I…
How does uv’s sat solver compare?
Re: Using uv with PyTorch
#33Now that PyTorch is also ending their anaconda package distribution, I think a lot of ml/ds people should give uv a shot.
Re: Using uv with PyTorch
#34I was just getting used to pipenv and pyenv combo. Is this worth switching to?
Re: Using uv with PyTorch
#35I was just getting used to pipenv and pyenv combo. Is this worth switching to?
Re: Using uv with PyTorch
#36Re: Using uv with PyTorch
#37Does uv support global Python install now? I need something like Mise for this.
Or via the global "python-preference" option set to "only-system".
Cf https://docs.astral.sh/uv/concepts/python-versions/#adjustin... and https://docs.astral.sh/uv/reference/settings/#python-prefere...
Re: Using uv with PyTorch
#38One limitation I know of are the inability to detect stale packages.
Apart from „blazing fast“, which I‘m not convinced it really matters to me as I rarely touch the dependencies, what are the main reasons why uv is gaining traction?
Re: Using uv with PyTorch
#39In a nutshell, what do I gain from switching to uv from my current workflow, which is: 1) create a venv (`python3.xx -m venv venv`) 2) install packages from a requirements.txt into that venv? One limitation I know of are the inability to detect stale packages. Apart from „blazing fast“, which I‘m not convinced it really matters to me as I rarely touch the dependencies, what are the main reasons why uv is gaining trac…
Re: Using uv with PyTorch
#40In a nutshell, what do I gain from switching to uv from my current workflow, which is: 1) create a venv (`python3.xx -m venv venv`) 2) install packages from a requirements.txt into that venv? One limitation I know of are the inability to detect stale packages. Apart from „blazing fast“, which I‘m not convinced it really matters to me as I rarely touch the dependencies, what are the main reasons why uv is gaining trac…