paddle.utils.run_check()报错

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.

你可能感兴趣的:(paddle)