使用下面代码查看paddle-gpu是否安装成功
import paddle
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)
Suggestions:
1. Check if the third-party dynamic library (e.g. CUDA, CUDNN) is installed correctly and its version is matched with paddlepaddle you installed.
2. Configure third-party dynamic library environment variables as follows:
- Linux: set LD_LIBRARY_PATH by `export LD_LIBRARY_PATH=...`
- Windows: set PATH by `set PATH=XXX; (at C:\home\workspace\Paddle_release\paddle\fluid\platform\dynload\dynamic_loader.cc:265)
检查发现其他conda环境中能正常使用,CUDA安装与环境变量配置正确,在QGIS中检查环境变量,发现path中并没有C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin。