CUDA 11.1 error on tf-nightly - libcusolver.so.10 not found

博客作者遇到一个问题,即符号链接cuda-11.1的库文件到tensorflow的site-packages未成功,但直接将库文件放入tensorflow的site-packages目录解决了问题。这个问题可能与CUDA版本和TensorFlow的兼容性有关。作者建议遇到类似问题的人查看Hoefling在#43947评论中提供的额外详情。
摘要由CSDN通过智能技术生成

For some reason the symlink did not work with the provided target, however placing it in the tensorflow site-packages worked properly

sudo ln -s /usr/local/cuda-11.1/targets/x86_64-linux/lib/libcusolver.so.11 /home/YourUsernameHere/.local/lib/python3.8/site-packages/tensorflow/python/libcusolver.so.10

(Obviously replacing python3.8 with proper value as well as username)

Edit: For those finding their way here, I recommend seeing the extra details provided by hoefling below (#43947 (comment))

 

参考链接:https://github.com/tensorflow/tensorflow/issues/43947

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值