THC/THC.h: No such file or directory
chenbys opened this issue · 2 comments
chenbys commented
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
lshiwjx commented
you need to use pytorch0.3------------------ 原始邮件 ------------------
发件人: "chen"<notifications@github.com>
发送时间: 2019年12月23日(星期一) 晚上11:16
收件人: "lshiwjx/deform_conv3d_pytorch_op"<deform_conv3d_pytorch_op@noreply.github.com>;
抄送: "Subscribed"<subscribed@noreply.github.com>;
主题: [lshiwjx/deform_conv3d_pytorch_op] THC/THC.h: No such file ordirectory (#6)
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
chenbys commented
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