Open ahbon123 opened 5 years ago
Not yet. x@x:~/warp-ctc/build$ ./test_gpu Running GPU tests terminate called after throwing an instance of 'std::runtime_error' what(): Error: compute_ctc_loss in small_test, stat = execution failed 已放弃
@ahbon123 I am having the same error with Ubuntu 18.04, CUDA 10.0 and RTX 2080 TI. Have you found a workaround ?
@FortuneStar good to know ! how ?
I'm trying to uninstall cuda 10.1 and reinstall cuda 10.0. I'm not sure if it will work out. Do you know which version of cuda is better on compatibility, cuda 10.0 or 9.2?
@HawkAaron any idea ?
Since the Compute Capability of 2080Ti is 7.5
We need to add set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_75,code=sm_75")
in CMakeList.txt
For more details, please refer to my configs.
Thanks a lot @HawkAaron
1、I have the same error with Ubuntu 16.04, CUDA 10.0 and RTX 2080 TI
( Error: compute_ctc_loss in small_test, stat = execution failed)!
2、I follow @HawkAaron 's instruction(just add the following code to CMakeLists.txt
), but it does not work for me(export the same error),could you give me some suggestions? @HawkAaron
IF (CUDA_VERSION GREATER 8.9)
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_70,code=sm_70")
ENDIF()
IF (CUDA_VERSION GREATER 9.9)
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_75,code=sm_75")
ENDIF()
3、Did you solve this problem yet? can you share your experience for solving this problem?@ahbon123 @nicolaspanel
I reinstall Cuda 10.0, it's OK right now.
1、I have the same error with
Ubuntu 16.04, CUDA 10.0 and RTX 2080 TI
( Error: compute_ctc_loss in small_test, stat = execution failed)!2、I follow @HawkAaron 's instruction(
just add the following code to CMakeLists.txt
), but it does not work for me(export the same error),could you give me some suggestions? @HawkAaronIF (CUDA_VERSION GREATER 8.9) set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_70,code=sm_70") ENDIF() IF (CUDA_VERSION GREATER 9.9) set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -gencode arch=compute_75,code=sm_75") ENDIF()
3、Did you solve this problem yet? can you share your experience for solving this problem?@ahbon123 @nicolaspanel
Maybe my docker env is too old(ubuntu 14.04
), I just upgrade the system to ubuntu16.04
and follow @HawkAaron 's instruction, it works now.
I installed cuda10.1 for RTX 2080 GPU under Ubuntu 19.04, and I failed on GPU tests: Here are some infos for CMakeLists.txt