Skip to content

仓库 files navigation

MegRay

MegRay is a cross-platform communication library providing point-to-point and collective communication methods, such as send, recv, all_gather, all_reduce, reduce_scatter, reduce, broadcast, gather, scatter and all_to_all. In the area of deep learning, these methods can be utilized for implementing distributed training framework, including data parallel and model parallel. Currently there are three backends, nccl and ucx for cuda platform, rccl for rocm platform. In the future, algorithms on more platforms will be added.

Build

  1. prepare third party repositories.
./third_party/prepare.sh
  1. Make a directory for build.
mkdir build
cd build
  1. Generate build configurations by CMake.
cmake .. -DMEGRAY_WITH_TEST=ON
  1. Start to build
make

关于

A communication library for deep learning

Resources

Code of conduct

Stars

52 stars

关注者

9 watching

复刻s

发布

Used by

贡献者

Languages