LMFlow icon indicating copy to clipboard operation
LMFlow copied to clipboard

CUDA cannot be found

Open ShiXiangXiang123 opened this issue 2 years ago • 5 comments

CUDA exception! Error code: no CUDA-capable device is detected CUDA exception! Error code: initialization error CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so CUDA SETUP: Detected CUDA version 118

ShiXiangXiang123 avatar Jun 19 '23 04:06 ShiXiangXiang123

Same error !! CUDA exception! Error code: no CUDA-capable device is detected CUDA exception! Error code: initialization error CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so

adilyoltay avatar Jun 19 '23 09:06 adilyoltay

Same error !! CUDA exception! Error code: no CUDA-capable device is detected CUDA exception! Error code: initialization error CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so

你找到解决的办法了吗?我感觉是我们的cuda版本问题

ShiXiangXiang123 avatar Jun 19 '23 09:06 ShiXiangXiang123

请输入nvcc -V看一下cuda是否正确安装,谢谢


Please enter nvcc -V to check if CUDA is installed correctly. Thank you.

shizhediao avatar Jun 19 '23 10:06 shizhediao

nvcc -v没问题 cuda11.8 torch2.0 cudnn11.x系列

ShiXiangXiang123 avatar Jun 19 '23 11:06 ShiXiangXiang123

cuda改成11.3-11.7之间的版本试一下,印象里11.8会有问题

shizhediao avatar Jun 26 '23 01:06 shizhediao

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks

shizhediao avatar Jul 09 '23 14:07 shizhediao