-
Notifications
You must be signed in to change notification settings - Fork 50
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: Not compiled with cuda #10
Comments
This could be because you aren't using pytorch 1.6? Compiling from source is the recommended way to install the package |
I am using pytorch 1.6, cuda 10.1 But I will try compiling from source now. I am using a singularity environment thats why I used pip. |
Ah yes - could also be a cuda error. The pypi package was compiled with CUDA 9.0 iirc |
okay, I dont have a torch 1.6 cuda 9 compatible docker. Will compiling from source work? |
should work :) |
I am unable to build from source because I dont have root access. Is there anything I can change? What are the specs for PyPi package? Cuda 9.0 and torch 1.6? |
As far as I know you wouldn't need root access to build from source. The recommended way is to use a conda / virtualenv environment |
Hi Krishna, I was revisiting this repo today and I remember facing a similar issue. I tried it with PyTorch 1.5, 1.6 and CUDA 10.1. I was building from source. What version of PyTorch / Cuda do you have? |
I just reran CI on my end and I can confirm the following pytorch and CUDA versions work pytorch 1.5, 1.6, 1.7 It would help to know more details about the error |
Here is a screenshot of the error I get. Edit: I also tried building from source on my Windows machine but couldn't get it to build. Attached log file. |
Can you try running |
@AkbarShah96 From the error log you posted for building from source, it seems like you're building from source with |
@saryazdi I tried your suggestion however I am getting another error. Seems like there might be some additional prerequisite steps to consider. Similar errors also occurred today when I tried to get the chamferdist from PyTorch3D on Windows. |
Interesting note, thanks. Question: Does the same error occur if you do |
Hey guys, I managed to resolve this issue with the pytorch3d team after debugging for that repo. There were 3 changes that I made that could have possibly have resolved this issue:
Hope it helps someone facing similar issues. |
Got similar error although my cuda version is 10.2 (one of those versions mentioned above).
Any suggestion? Many thanks! |
Hi,
so I
pip install chamferdist
, installed via pip. But when I run my training loop where bothsource
andtarget
is incuda.()
, I get the following error:The text was updated successfully, but these errors were encountered: