文件最后提交记录最后更新时间
profiler use local time, not utc Co-authored-by: hehongzhe<935062458@qq.com> # message auto-generated for no-merge-commit merge: merge master into master profiler use local time, not utc Created-by: hhz0 Commit-by: hehongzhe Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: pytorch profiler采集解析所用到的时间使用本地时间,不转化为utc时间,与msprof保持一致 **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!248648 个月前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前
profiler show thread stack Co-authored-by: hehongzhe<935062458@qq.com> # message auto-generated for no-merge-commit merge: !26446 merge master into master profiler show thread stack Created-by: hhz0 Commit-by: hehongzhe Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 对于与torchop无关的纯cpu子线程,profiler在开启with_stack的情况下会采集其堆栈,但是不在timeline中显示,修改后默认显示所有线程堆栈信息 ![image.png](https://raw.gitcode.com/user-images/assets/7404318/c91a459c-8a2a-48c9-90e1-30e249ab36d2/image.png 'image.png') **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!264466 个月前
!6972 Add __all__ for torch_npu Merge pull request !6972 from shaoyf/sc/master_init 2 年前
!20396 [PROF] Add offline analyse export type Merge pull request !20396 from wangjie/profiler_analyse_type_master 1 年前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前
profiler torchop index error Co-authored-by: hehongzhe<935062458@qq.com> # message auto-generated for no-merge-commit merge: merge master into master profiler torchop index error Created-by: hhz0 Commit-by: hehongzhe Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: 1、profiler在匹配record与torchop时直接使用返回的index未进行校验,事实上在torchop列表为空的异常场景下,用index去取值就会数组越界,这种场景下index会返回-1,需要对index为-1的场景进行特殊处理,不再用index去取值 ![image.png](https://raw.gitcode.com/user-images/assets/7404318/7c326a02-4b71-4385-99ed-4d545989fbd7/image.png 'image.png') 2、通过enqueue匹配torchop,会去判断匹配到的torchop是否是以aten::开头的,如果不是aten开头就会用index-1去取torchop列表里的前一个,这种方式显然是不正确的,如下图 ![image.png](https://raw.gitcode.com/user-images/assets/7404318/aa66f26e-0782-4a5e-af4f-913a81f115d5/image.png 'image.png') 这个enqueue匹配到它上面的aclnn,不是以aten开头,取index-1时,由于按照开始时间排序,最终找到的第一个aten是sten::sub,这显然不正确 所以正确的做法是,也是找它的parent,直到找到以aten开头的parent为止 但是这样做还是有问题,如下图: ![image.png](https://raw.gitcode.com/user-images/assets/7404318/3c1a4f07-5fd6-4cbc-8907-c5dfec9186ae/image.png 'image.png') 这种情况无论怎么找都是找不到有关的aten操作的,因为根本没有,很多npu自定义的算子,就不是以aten开头的,所以增加了匹配到npu开头的torchop也算匹配成功 **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!250348 个月前
cleancode Co-authored-by: SCh-zx<1325467101@qq.com> # message auto-generated for no-merge-commit merge: !25634 merge master into master cleancode Created-by: SCh_zx Commit-by: SCh_zx;SCh-zx Merged-by: ascend-robot Description: <!-- Thanks for sending a pull request! --> **What type of PR is this?** > Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line: > > /kind bug > /kind task > /kind feature **What does this PR do / why do we need it**: **Which issue(s) this PR fixes**: <!-- *Automatically closes linked issue when PR is merged. Usage: Fixes #<issue number>, or Fixes (paste link of issue). --> Fixes # **Special notes for your reviewers**: See merge request: Ascend/pytorch!256347 个月前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前
!24016 [feature-master] profiler analyse optim Merge pull request !24016 from tangmengcheng/profiler_analysis_optimaze_master_0812 9 个月前