CMU-Perceptual-Computing-Lab / openpose

OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
https://cmu-perceptual-computing-lab.github.io/openpose
Other
30.33k stars 7.79k forks source link

nvcc fatal : Unsupported gpu architecture 'compute_89' #2258

Closed Winter-Dry closed 7 months ago

Winter-Dry commented 7 months ago

Errors (if any)

.... [ 24%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_silence_layer.cu.o [528/1810] [ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_slice_layer.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_89'
[ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_layer.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_89'
[ 26%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_softmax_loss_layer.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_89'
nvcc fatal : Unsupported gpu architecture 'compute_89'
nvcc fatal : Unsupported gpu architecture 'compute_89'
nvcc fatal : Unsupported gpu architecture 'compute_89'
nvcc fatal : Unsupported gpu architecture 'compute_89'
[ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_split_layer.cu.o
[ 27%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile_1.dir/layers/cuda_compile_1_generated_swish_layer.cu.o
CMake Error at cuda_compile_1_generated_math_functions.cu.o.Release.cmake:220 (message):
Error generating
/data/newhome/aaa/openpose/build/caffe/src/openpose_lib-build/src/caffe/CMakeFiles/cuda_compile_1.dir/util/./cuda_compile_1_genera ted_math_functions.cu.o
....

Type of Issue

Your System Configuration

  1. OpenPose version: Latest GitHub code

  2. If GPU mode issue:

    • CUDA version (cat /usr/local/cuda/version.txt in most cases): nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2022 NVIDIA Corporation Built on Tue_Mar__8_18:18:20_PST_2022 Cuda compilation tools, release 11.6, V11.6.124 Build cuda_11.6.r11.6/compiler.31057947_0
    • cuDNN version:
    • GPU model (nvidia-smi in Ubuntu): image
konas122 commented 7 months ago

This may be the problem with the cuda version. cuda11.6 is not compatible with computing power of 8.9. I also had this problem at first, but it was resolved after upgrading the cuda version to 12.0.

Hope this will help you.

Winter-Dry commented 7 months ago

This may be the problem with the cuda version. cuda11.6 is not compatible with computing power of 8.9. I also had this problem at first, but it was resolved after upgrading the cuda version to 12.0.

Hope this will help you.

Thank you so much for your prompt reply!!!I will try for it.