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 e38b73b 2 files · 14.1 KB Updated

File contents

ascend-ai-coding/awesome-ascend-skills/tree/main/skills/profiling/pytorch-profiling-collection commit e38b73b154

Frequently asked questions

npx skillmds@latest add ascend-ai-coding/pytorch-profiling-collection