paddle.utils.run_check()报错

本文介绍了解决PaddlePaddle运行检查时出现的第三方动态库配置不正确问题的具体步骤。通过复制指定DLL文件到系统目录下,成功通过了运行检查。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

paddle.utils.run_check()无法通过,报以下错误:

RuntimeError: (PreconditionNotMet) The third-party dynamic library (cublas64_102.dll;cublas64_10.dll) that Paddle depends on is not configured correctly.    (error code is 126)

此时将C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin下的cublas64_10.dll 与 cublasLt64_10.dll 文件复制到 C:\Windows\System32 中,再运行 paddle.utils.run_check()即可通过

环境如下:CUDA10.2; cuDNN7.6

W1226 19:04:22.045254 33780 device_context.cc:447] Please NOTE: device: 0, GPU Compute Capability: 6.1, Driver API Version: 12.0, Runtime API Version: 10.2
W1226 19:04:22.061209 33780 device_context.cc:465] device: 0, cuDNN Version: 7.6.

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值