Skip to content

required version to compile cuda code #11

Open

Description

@charliewang789

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

Activity

  1. GlockPL commented on Feb 23, 2021

    @GlockPL

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

  2. davertor commented on Mar 3, 2021

    @davertor

    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()"

  3. GlockPL commented on Mar 3, 2021

    @GlockPL

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions