lshiwjx/deform_conv3d_pytorch_op

THC/THC.h: No such file or directory

Opened this issue · 2 comments

No such file, did I miss some requirements?

(py3-torch0.4.0) chenjunjie@bcmiGPU106-1080tix2:~/program/deform_conv3d_pytorch_op/deform3d$ bash make.sh 
deform_conv3d_cuda_kernel.cu:6:21: fatal error: THC/THC.h: No such file or directory
compilation terminated.

I think my envir is ok:

py3-torch0.4.0) chenjunjie@bcmiGPU106-1080tix2:~/program/deform_conv3d_pytorch_op/deform3d$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61
(py3-torch0.4.0) chenjunjie@bcmiGPU106-1080tix2:~/program/deform_conv3d_pytorch_op/deform3d$ python -c "import torch; print(torch.__version__)"
0.3.0.post4
(py3-torch0.4.0) chenjunjie@bcmiGPU106-1080tix2:~/program/deform_conv3d_pytorch_op/deform3d$ python -c "import torch; print(torch.version.cuda)"
8.0.61
(py3-torch0.4.0) chenjunjie@bcmiGPU106-1080tix2:~/program/deform_conv3d_pytorch_op/deform3d$ python -c "import torch; print(torch.cuda.is_available())"
True

Of course pytorch-0.3, the name of virtual-envir doesn't matter.

(py3-torch0.4.0) chenjunjie@bcmiGPU106-1080tix2:~/program/deform_conv3d_pytorch_op/deform3d$ python -c "import torch; print(torch.__version__)"
0.3.0.post4