-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling langchain with pytorch CPU index URL #2377
Comments
Could be related to #1248 ? |
I'm also getting an issue when trying to compile a specific version of the requests library with the extra index URL: echo requests==2.31.0 > requirements.txt && RUST_BACKTRACE=full uv pip compile --verbose -o requirements.out requirements.txt --extra-index-url "https://download.pytorch.org/whl/cpu" which outputs:
And if I remove the extra index URL it works fine. |
Langchain has been fixed in #2360, could you try running from main if that fixes your problem, too? |
I suspect the |
Closing in favor of some other issues. The |
Compiling langchain with the pytorch CPU index URL gives an error:
MWE:
This only (?) seems to occur with this index-url, not with any other random index-url I tested.
If I use
pip-tools
it seems to work fine.Running in WSL2 with uv 0.1.17
Am I missing something obvious here?
Of course, in this MWE I can remove the extra-index-url, but in my original requirements I also need pytorch-cpu and still get this error.
Thanks in advance for the help, and thanks for creating this really cool tool!
The text was updated successfully, but these errors were encountered: