baidu-research / warp-ctc

Fast parallel CTC.
Apache License 2.0
4.06k stars 1.04k forks source link

on colab it retrun --> nvcc fatal : Unsupported gpu architecture 'compute_30' #167

Open aa-amory opened 3 years ago

aa-amory commented 3 years ago

code------------ !pwd %cd /content !git clone -b pytorch_bindings https://github.com/SeanNaren/warp-ctc.git %cd /content/warp-ctc !mkdir build %cd /content/warp-ctc/build !export CUDA_BIN_PATH=/usr/local/cuda !cmake ..

!cmake -D CMAKE_C_COMPILER:string=gcc-5 -D CMAKE_CXX_COMPILER=g++-5 ../

!make

error------------------------- /content/warp-ctc/build /content /content/warp-ctc/build [ 11%] Building NVCC (Device) object CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o nvcc fatal : Unsupported gpu architecture 'compute_30' CMake Error at warpctc_generated_reduce.cu.o.cmake:219 (message): Error generating /content/warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_reduce.cu.o

CMakeFiles/warpctc.dir/build.make:70: recipe for target 'CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o' failed make[2]: [CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o] Error 1 CMakeFiles/Makefile2:146: recipe for target 'CMakeFiles/warpctc.dir/all' failed make[1]: [CMakeFiles/warpctc.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2