-
Notifications
You must be signed in to change notification settings - Fork 13
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
Try to build CUDA wheels #106
base: main
Are you sure you want to change the base?
Conversation
Here is a pre-built version of the code in this pull request: wheels.zip, you can install it locally by unzipping |
Co-authored-by: Guillaume Fraux <[email protected]>
Co-authored-by: Guillaume Fraux <[email protected]>
Co-authored-by: Guillaume Fraux <[email protected]>
|
||
#RUN pip install torch==2.4.1+cu124 --extra-index-url https://download.pytorch.org/whl/cu124 | ||
#RUN pip install numpy cmake | ||
RUN pip install torch==${PYTORCH_VERSION}+cu${CUDA_VER_NO_DOT} --extra-index-url https://download.pytorch.org/whl/cu${CUDA_VER_NO_DOT} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you mean regarding this? We need the torch cuda wheels specifically because we need access to the "c10/cuda" namespace, which doesn't seem to be available in cpu-torch, which is what gets pulled for build if we don't specify pip_extra_index_url. |
So that's the bit I don't understand. As far as I know, the linux-x64 wheels on PyPI contain all of PyPI wheels might not contain anything CUDA related for linux-arm64 or windows-x64, and we will have to work around this, but for linux-x64 I'd like to build against PyPI wheel. |
No description provided.