在warp-ctc安装步骤make之后开始报错
-- cuda found TRUE
-- Building shared library with GPU support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/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:220 (message):
Error generating
/home/warp-ctc/build/CMakeFiles/warpctc.dir/src/./warpctc_generated_reduce.cu.o
make[2]: *** [CMakeFiles/warpctc.dir/build.make:72:CMakeFiles/warpctc.dir/src/warpctc_generated_reduce.cu.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:133:CMakeFiles/warpctc.dir/all] 错误 2
解决办法参考
make error · Issue #185 · SeanNaren/warp-ctc · GitHub(yu_tf_py) root@localhost:/home/yu/yu_ex/warp-ctc/build# make -- cuda found TRUE -- Building shared library with GPU support -- Configuring done -- Generating done -- Build files have been written to: /home/yu/yu_ex/warp-ctc/build [ 11%]...
https://github.com/SeanNaren/warp-ctc/issues/185
![](https://img-blog.csdnimg.cn/987368738225462d97048e5bf98e4737.png)
注释掉CMakeLists.txt中的第35-38行
![](https://img-blog.csdnimg.cn/82cd9d579f5e49b186ffe0b35439fc0e.png)
注释掉之后
![](https://img-blog.csdnimg.cn/d430db3fb94c4c28902434e8b3987056.png)