lucasjinreal / DCNv2_latest

DCNv2 supports decent pytorch such as torch 1.5+ (now 1.8+)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RuntimeError: Not compiled with GPU support

pvti opened this issue · comments

commented

I tried both conda, pip with many combinations of torch (1.11+) and cuda (10.2, 11.3, 11.6) but have not managed to make it work.

I tried both conda, pip with many combinations of torch (1.11+) and cuda (10.2, 11.3, 11.6) but have not managed to make it work.

Hi, I met the same problem, have you solved it?

I had a similar issue and solved it by adding the path to cuda to the environment variable CUDA_HOME before installation:

# first set the cuda path
export CUDA_HOME="/usr/local/cuda-X.X"

# install
python3 setup.py build develop

Note that X.X specifies the cuda version, e.g. cuda-11.3

commented

For future reference, I found this repo: https://github.com/inspiros/tvdcn/tree/master is fantastic for deformable convolution.