You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Python 3.12.2, pip 24.0, and pip-tools from main, I successfully compiled a reqs.in with just accelerate>=0.26, without using any extra index. It locked torch==2.2.1. Is that surprising?
@AndydeCleyre it's unsurprising because PyTorch 2.2 started supporting 3.12. The error only happens with torch<2.2. I am not sure that this issue can be repro'd based on my OP any more now that PyTorch 2.2 is released
accelerate
indirectly depends ontorch
torch
only supports Python 3.12 in its nightly dev builds, which requireshttps://download.pytorch.org/whl/nightly
extrapip-compile --extra-index-url=https://download.pytorch.org/whl/nightly
will not use the extra foraccelerate
Environment Versions
$ python -V
Python 3.12.1 (main, Jan 6 2024, 20:42:19) [Clang 14.0.3 (clang-1403.0.22.14.1)]$ pip --version
23.3.2$ pip-compile --version
7.3.0Steps to replicate
Run:
pip-compile --extra-index-url=https://download.pytorch.org/whl/nightly
Expected result
Successful compilation of both the above
requirements.in
Actual result
Second
requirements.in
above will fail to compile with the below error:The text was updated successfully, but these errors were encountered: