nvcc not found

检查cuda 安装成功

nvidia-smi

Command ‘nvcc’ not found,

apt install nvidia-cuda-toolkit

nvcc fatal : No input files specified; use option --help for more information

# 注意是大写 V
nvcc -V 
export PATH="/usr/local/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda/lib:$LD_LIBRARY_PATH"

cuda 目录下没有 bin

报错:nvcc fatal : Value ‘compute_30’ is not defined for option ‘gpu-architecture’

参考:
https://blog.csdn.net/U_GUESS/article/details/109984896

你可能感兴趣的:(AIGC,#,Stable,Diffusion,AIGC)