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)

需要安装nccl

 

环境centos7 cuda11.8

下载nccl

https://developer.nvidia.com/nccl/nccl-legacy-downloads

 

 

 

sudo rpm -ivh nccl-local-repo-rhel7-2.16.5-cuda11.8-1.0-1.x86_64.rpm

sudo find / -name libnccl-2.16.5*

cp /var/nccl-local-repo-rhel7-2.16.5-cuda11.8/libnccl-2.16.5-1+cuda11.8.x86_64.rpm .

sudo rpm -ivh libnccl-2.16.5-1+cuda11.8.x86_64.rpm

sudo ln -s /usr/lib64/libnccl.so.2.16.5 /usr/lib64/libnccl.so

posted @ 2024-10-30 16:05  singyoutosleep  阅读(20)  评论(0编辑  收藏  举报