Closed arhken666 closed 3 years ago
Please provide your environment. You can get it by running the command below and copy the output.
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
PyTorch version: 1.0.1.post2
Is debug build: False
CUDA used to build PyTorch: 9.0.176
ROCM used to build PyTorch: N/A
OS: Ubuntu 16.04.4 LTS (x86_64)
GCC version: (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
Clang version: Could not collect
CMake version: version 3.5.1
Libc version: glibc-2.17
Python version: 3.6.13 |Anaconda, Inc.| (default, Jun 4 2021, 14:25:59) [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-4.15.0-142-generic-x86_64-with-debian-stretch-sid
Is CUDA available: True
CUDA runtime version: 9.0.176
GPU models and configuration:
GPU 0: GeForce GTX 1080 Ti
GPU 1: GeForce GTX 1080 Ti
Nvidia driver version: 450.80.02
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.7.0.5
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn.so.8.0.4
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8.0.4
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_adv_train.so.8.0.4
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8.0.4
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8.0.4
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8.0.4
/usr/local/cuda-10.2/targets/x86_64-linux/lib/libcudnn_ops_train.so.8.0.4
/usr/local/cuda-8.0/lib64/libcudnn.so.5
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.17.0
[pip3] torch==1.0.1.post2
[pip3] torchvision==0.2.2
[conda] cudatoolkit 9.0 h13b8566_0
[conda] mkl 2021.2.0 h06a4308_296
[conda] numpy 1.17.0 py36h99e49ec_0
[conda] numpy-base 1.17.0 py36h2f8d375_0
[conda] pytorch 1.0.1 py3.6_cuda9.0.176_cudnn7.4.2_2 pytorch
[conda] torchvision 0.2.2 py_3 pytorch
the above result from running python collect_env.py. thank you
@Hanqer any suggestions? One possible problem is that your cuda runtime version is low. Here I successfully compiled with CUDA11. I think CUDA10 is also ok.
I think this error occurs because of the different CUDA versions. But I haven't met this problem. Maybe it can be solved by add '--expt-relaxed-constexpr' to the NVCC compiler.
I think this error occurs because of the different CUDA versions. But I haven't met this problem. Maybe it can be solved by add '--expt-relaxed-constexpr' to the NVCC compiler.
thank you ,I solve it by upgrading Cuda version to 10.2 and pytorch to 1.6, it finally run success.
Take a look at the following repository too.
When I run python setup.py build to install deep_hough, it got a error problem, what should i do to this ,the error is below. thank you.