在使用cuda12 报错Library cublas64_11.dll is not found

因为nvidia的升级基本上都是CUDA12了,在我发表文章的时候如果去官网下载CUDA包默认安装CUDA版本就是12。

解决方法:在安装目录C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2\bin中,把cublas64_12.dll复制一个,名字改成cublas64_11.dll;
如果还有其他错误,同样在本目录下面找到对应dll文件,相应修改就可以了;

生成requirements.txt的方法:pip freeze > requirements.txt

附录一个安装cuda12.2,可用的requirements.txt:

absl-py1.0.0
astunparse
1.6.3
cachetools5.3.3
certifi
2024.6.2
charset-normalizer3.3.2
clang
5.0
flatbuffers23.5.26
gast
0.4.0
google-auth2.30.0
google-auth-oauthlib
0.4.6
google-pasta0.2.0
grpcio
1.64.1
h5py3.1.0
idna
3.7
importlib_metadata7.2.1
keras
2.14.0
Keras-Preprocessing1.1.2
libclang
18.1.1
Markdown3.6
markdown-it-py
3.0.0
MarkupSafe2.1.5
mdurl
0.1.2
ml-dtypes0.2.0
namex
0.0.8
numpy1.23.5
oauthlib
3.2.2
opt-einsum3.3.0
optree
0.11.0
packaging24.1
protobuf
3.19.6
pyasn10.6.0
pyasn1_modules
0.4.0
Pygments2.18.0
requests
2.32.3
requests-oauthlib2.0.0
rich
13.7.1
rsa4.9
six
1.15.0
tensorboard2.10.1
tensorboard-data-server
0.6.1
tensorboard-plugin-wit1.8.1
tensorflow-estimator
2.10.0
tensorflow-gpu2.10.0
tensorflow-intel
2.14.0
tensorflow-io-gcs-filesystem0.31.0
termcolor
1.1.0
typing-extensions3.7.4
urllib3
2.2.2
Werkzeug3.0.3
wrapt
1.12.1
zipp==3.19.2

  • 7
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值