Skip to content
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

required version to compile cuda code #11

Open
charliewang789 opened this issue Nov 12, 2020 · 3 comments
Open

required version to compile cuda code #11

charliewang789 opened this issue Nov 12, 2020 · 3 comments

Comments

@charliewang789
Copy link

can someone post a workable version of pytorch, cuda, c++ that can compile the code?

@GlockPL
Copy link

GlockPL commented Feb 23, 2021

Worked for me on pytorch 1.4.0. I tested it on google colab.

@davertor
Copy link

davertor commented Mar 3, 2021

How did you make it work @GlockPL ??? I tried installing pytorch 1.4.0 in colab and I have the following error

CUDA error at adaptive_gridsampler_kernel.cu:76 code=209(cudaErrorNoKernelImageForDevice) "cudaGetLastError()"

@GlockPL
Copy link

GlockPL commented Mar 3, 2021

This is my code from colab:
!pip install torch==1.4.0 torchvision==0.5.0
!git clone https://github.com/sunwj/CAR.git
%cd ./CAR/ !ls
%cd adaptive_gridsampler/ !ls
!python3 setup.py build_ext --inplace
Last part is crucial because you need to compile this adaptive_gridsampler which is the reason why you get this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants