Star307
384
代码介绍
代码
Issues22
Pull Requests89
流水线
Actions
讨论
Wiki
项目成员111
分析
项目设置
Star307
384
  1. hccl
  2. /
  3. examples
cann-robotcann-robot[Fix] example问题修复
13957ad4创建于 1 天前历史提交
文件最后提交记录最后更新时间
01_point_to_point
[Examples] 完善样例环境要求,补充集群拓扑1 个月前
02_collectives
[Examples] 完善样例环境要求,补充集群拓扑1 个月前
03_ai_framework
[Examples] 完善样例环境要求,补充集群拓扑1 个月前
04_custom_ops_p2p
delete log2 天前
05_custom_ops_allgather
[Fix] example问题修复1 天前
README.md
[Docs] Update README.md4 个月前
build.sh
fix(): CleanCode3 个月前
README.md

HCCL 代码示例

本目录提供了不同场景下使用 HCCL 接口实现集合通信功能的示例代码。

点对点通信

  • HcclSend/HcclRecv(基础收发功能)
  • HcclBatchSendRecv(实现 Ring 环状通信)

集合通信

  • AllReduce
  • Broadcast
  • AllGather
  • ReduceScatter
  • Reduce
  • AlltoAll
  • AlltoAllV
  • AlltoAllVC
  • Scatter

AI 框架

  • PyTorch
  • Tensorflow

自定义点对点通信算子

  • 自定义 Send/Recv 算子(基于 AICPU 通信引擎)