问题1:Loading binary /data/miniconda3/envs/whisper/lib/python3.9/site-packages/bitsandbytes/libbitsandbytes_cuda118.so...
libcusparse.so.11: cannot open shared object file: No such file or directory
......
RuntimeError:
CUDA Setup failed despite GPU being available. Please run the following command to get more information:
python -m bitsandbytes
解决方法:
git clone https://ghproxy.com/https://github.com/timdettmers/bitsandbytes.git
cd bitsandbytes
bash cuda_install.sh 118 /data/cuda 1
CUDA_HOME=/data/cuda/cuda-11.8/ CUDA_VERSION=118 make cuda11x
python -m bitsandbytes
# 对应环境本地安装
python setup.py install