安装运行bitsandbytes失败

问题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

安装运行bitsandbytes失败_第1张图片

安装运行bitsandbytes失败_第2张图片

你可能感兴趣的:(python,深度学习,开发语言)