Improving reproducibility: Moving to UV #1280
Replies: 3 comments 5 replies
-
(@MartinBernstorff might also have a few comments to add) |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
As someone who has never used ‘uv’ I would just suggest that we have very good documentation for it if we do switch. My biggest hesitation is making it harder for new collaborators to have to learn a new package manager. I’ve heard great things about it, but TBF I had heard that about poetry and it was fairly non-intuitive to use, whereas everyone knows how to use pip. But I haven’t used uv so perhaps it actually is easy :) Edit: I see that it is pip compatible so maybe not an issue. |
Beta Was this translation helpful? Give feedback.
-
We are already using
ruff
(instead of flake8 and/or black) it might similarly be great to move to uv. Uv is made by the same (great) team.A benefit would be that we can add a
.lock
-file to allow for more reproducibility. This will also make some of the CI easier going forward.uv
is pip compatible so it would still be possible to usepip
without issues (as far as I am aware).To start the discussion I will just add a few people:
@isaac-chung, @orionw, @Muennighoff, @x-tabdeveloping
Beta Was this translation helpful? Give feedback.
All reactions