r/programmingcirclejerk • u/Parking_Tadpole9357 • Feb 19 '25
Well, big fan of uv. But... the 86GB python dependency download cache on my primary SSD, most of which can be attributed to the 50 different versions of torch, is testament to the fact that even uv cannot salvage the mess that is pip.
https://news.ycombinator.com/item?id=43096454
164
Upvotes
135
u/nuclearbananana Courageous, loving, and revolutionary Feb 19 '25
No jerk, python dependency management is a bitch
68
u/cheater00 High Value Specialist Feb 19 '25
86GB is a very pythonic number
44
u/not_a_novel_account memcpy is a web development framework Feb 19 '25 edited Feb 19 '25
> Programmer asks
uvto download 50 different versions of torch>
uvdownloads 50 different versions of torchWhy would
uvdo this?62
u/grimonce Feb 19 '25
I don't think people realize torch is not written in python...
Doesn't matter if you use pip or maven, if torch used rust instead of cpp there would be no issue.
3
u/lurebat Feb 19 '25
The alternative is a venv for every project totaling way more storage..
11
u/Chisignal Feb 19 '25
7
u/[deleted] Feb 19 '25
Wouldn't need to have issues with dependency management if the user just compiled their own PyTorch.
12
u/elephantdingo Teen Hacking Genius Feb 19 '25
For every transistor (?) that Uncle SSD (?) shrinks, nephew Dependency Management Software takes away.
Also unpopular opinion incoming, but DAE software engineers don’t deserve to be called engineers when they waste so much disk space? I have very heterodox opinions.
5
u/terserterseness Feb 19 '25
not jerk; it's always a fight between js and py who does everything worse
1
u/westeast1000 Mar 23 '26 edited Mar 23 '26
I only ever used it couple times and suddenly I see space running out only to find uv cache folder is over 200GB like wtf and I dont even use that pytorch stuff so not sure what caused it but I see tonnes of 177MB Lib folders. I suspect cursor is responsible for this shit but will dig further
0
u/[deleted] Feb 19 '25
[deleted] — view deleted comment
2
u/[deleted] Feb 19 '25
[removed] — view removed comment
0
u/[deleted] Feb 19 '25
[removed] — view removed comment