当我使用时,我得到的是nvidia-smi
版本,但我检查了路径并发现cuda
11.0
/usr/local
/cuda11.1
我安装 mmcv 包时出现错误
/bin/sh: 1: :/usr/local/cuda-11.0/bin/bin/nvcc: not found
我的 .bashrc 是
export PATH=/usr/local/cuda-11.1/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-11.1/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}