fastllm icon indicating copy to clipboard operation
fastllm copied to clipboard

make -j编译出错

Open DreamTeamWangbowen opened this issue 2 years ago • 4 comments

nvcc fatal : Unsupported gpu architecture 'compute_89' make[2]: *** [CMakeFiles/fastllm_tools.dir/build.make:273: CMakeFiles/fastllm_tools.dir/src/devices/cuda/fastllm-cuda.cu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... nvcc fatal : Unsupported gpu architecture 'compute_89' make[2]: *** [CMakeFiles/fastllm.dir/build.make:273: CMakeFiles/fastllm.dir/src/devices/cuda/fastllm-cuda.cu.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:279: CMakeFiles/fastllm_tools.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:97: CMakeFiles/fastllm.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 4090的卡,GPU硬件不支持?这是什么原因

DreamTeamWangbowen avatar Nov 10 '23 08:11 DreamTeamWangbowen

(default_env) root@90d56f7981cb:/home/wbw/codes/fastllm-master/build# nvcc --list-gpu-arch compute_35 compute_37 compute_50 compute_52 compute_53 compute_60 compute_61 compute_62 compute_70 compute_72 compute_75 compute_80 compute_86 compute_87 看起来确实没有89,那我要怎么办呢

DreamTeamWangbowen avatar Nov 10 '23 08:11 DreamTeamWangbowen

@ztxz16有没有快速解决这个编译问题的方法,大佬

DreamTeamWangbowen avatar Nov 10 '23 08:11 DreamTeamWangbowen

您使用的GPU型号和CUDA版本分别是什么呢?可以先配置为“86”,即Ampere架构。

TylunasLi avatar Nov 10 '23 14:11 TylunasLi

nvcc fatal : Unsupported gpu architecture 'compute_native' 这是什么架构的?

PeterXiaTian avatar Dec 19 '23 07:12 PeterXiaTian