Torch Npu Comm Test

通过 PyTorch torch.distributed 接口测试昇腾 NPU 通信算子性能。支持指定任意 tensor shape、dtype,使用 torchrun 启动,贴近真实训练场景的通信算子测试与性能分析。Use for testing collective communication operators (AllReduce, AllGather, ReduceScatter, etc.) with specific tensor shapes via torch.distributed on Ascend NPU.

ascend-ai-coding 5dcc826 5 files · 39.7 KB Updated

File contents

ascend-ai-coding/awesome-ascend-skills/tree/main/skills/training/torch-npu-comm-test commit 5dcc826301

Frequently asked questions

npx skillmds@latest add ascend-ai-coding/torch-npu-comm-test