facebook/fairseq运行中遇到的问题(cuda9.1/dudnn7)

1.Tried loading libnccl.so.1 but got error ~/torch/install/share/lua/5.1/nccl/ffi.lua:192: libnccl.so.1: cannot open shared object file: No such file or directory?

解决:$ git clone https://github.com/NVIDIA/nccl.git

$ cd nccl

$ sudo make install -j4

$ sudo ldconfig

2.torch/install/share/lua/5.1/rnnlib/cudnnutils.lua:13: You must have the torch Cudnn bindings?

解决:

$ git clone https://github.com/soumith/cudnn.torch
$ cd cudnn.torch
$ git checkout origin/R7
$ luarocks make cudnn-scm-1.rockspec

猜你喜欢

转载自blog.csdn.net/longma666666/article/details/80762871