admin 管理员组

文章数量: 1184232

随便写写...

最近在用PaddlePaddle框架跑代码,遇到一些问题摸索了很久才有较为清晰的思路,在这里记录一下,希望可以帮助相同的朋友。

在使用Paddle进行多卡训练的时候,往往会遇到一下报错:

RuntimeError: (PreconditionNotMet) The third-party dynamic library (libnccl.so) that Paddle depends on is not configured correctly. (error code is libnccl.so: cannot open shared object file: No such file or directory)
Suggestions:

Check if the third-party dynamic library (e.g. CUDA, CUDNN) is installed correctly and its version is matched with paddlepaddle you installed.
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 /paddle/paddle/fluid/platform/dynload/dynamic_loader:234) [Hint: If you need C++ stacktraces for debugging, please setFLAGS_call_stack_level=2`.

 首先我用的是cuda 10.1;python

本文标签: 报错 系统 PreconditionNotMet RuntimeError Linux