-
Notifications
You must be signed in to change notification settings - Fork 76
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
IndexError: list index out of range #104
Comments
Hello, long story short, you don't have access to CUDA when compiling. See more info about it here : pytorch/extension-cpp#71 (comment) |
Thanks @ClementPinard, I will look at that and try to solve it. |
Hi @ClementPinard, I changed the
|
It's weird because it tells it does not have access to the nvss program (the cuda compiler) , but you're using a devel docker image, which should feature nvcc See more info for your problem : NVIDIA/nvidia-docker#1160 Try to call nvcc from outside the pip command to see if nvcc is indeed reachable. |
Hi @ClementPinard, I finally solved it by adding these lines:
Thanks a lot for the help. |
Hi, I am building a Dockerfile for an app which has as a dependency the Pytorch correlation extension. I get this error either building it manually or with pip. The only thing that changes is when I use a different CUDA version, with CUDA 12 I get this but with CUDA 10 I get the
No such file or directory: '/usr/local/cuda/bin/nvcc'
error.This is the Dockerfile:
Complete log of the error:
The text was updated successfully, but these errors were encountered: