mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Summary: Use HINTS instead of PATHS for find_library so that you can specify -DNCCL_ROOT_DIR and it will use this NCCL installation regardless of what else is installed on your system. Also add a path hint to include the default base path for NCCL 2 libraries. Closes https://github.com/caffe2/caffe2/pull/1152 Reviewed By: Yangqing Differential Revision: D5740053 Pulled By: pietern fbshipit-source-id: 43f0908a63e8a9b90320dece0bbb558827433b48