Pytorch Profiling Collection

使用 torch_npu.profiler 在非 MindSpeed-LLM 与非 MindSpeed-MM 的训练/推理脚本中采集 Ascend NPU Profiling 数据。覆盖 level0/level1/level2 采集级别、训练循环/单次推理/指定代码段三种方式,支持 .py 和 .sh 脚本路径。当用户需要性能采集、性能分析、查看算子耗时、定位训练瓶颈时使用。触发关键词:profiling、性能采集、性能分析、算子耗时、瓶颈定位、torch_npu.profiler。

ascend-ai-coding Updated 182 repo stars
image

File contents

ascend-ai-coding/awesome-ascend-skills commit e38b73b154

Frequently asked questions

npx get-skill add ascend-ai-coding/pytorch-profiling-collection