设置Makefile.config
打开开关: USE_NCCL := 1, 并添加nccl库路径
USE_NCCL := 1 INCLUDE_DIRS += /path/nccl/build/include LIBRARY_DIRS += /path/nccl/build/lib