Thanks for this repository! Unfortunately it doesn't resolve the eternal, horrible, no good problem with Poetry and PyTorch, where it insists on downloading every single torch wheel ever published:
$ poetry --version
Poetry (version 2.3.4)
$ poetry sync -E cpu
Updating dependencies
Resolving dependencies... Downloading https://download-r2.pytorch.org/whl/cpu/torch-2.11.0%2Bcpu-cp310-cp310-linux_s390x.whl ...
The solution is obviously to never use poetry for anything, ever, but sadly, it lives on in a number upstream packages including, crucially, llama.cpp. Do you know if there is any way around this issue? Poetry's insistence that it's PyTorch's fault and nothing can be done rings very, very hollow since uv (and hatch, and pdm, and pip, and ...) seems to have found a way around the problem.
But probably one should just never use poetry for anything, ever.
Thanks for this repository! Unfortunately it doesn't resolve the eternal, horrible, no good problem with Poetry and PyTorch, where it insists on downloading every single
torchwheel ever published:The solution is obviously to never use
poetryfor anything, ever, but sadly, it lives on in a number upstream packages including, crucially, llama.cpp. Do you know if there is any way around this issue? Poetry's insistence that it's PyTorch's fault and nothing can be done rings very, very hollow sinceuv(andhatch, andpdm, andpip, and ...) seems to have found a way around the problem.But probably one should just never use
poetryfor anything, ever.