Closed
Runtime Python Profiling 配对接口链接错误 #1193
KaranocaVeAdd on  Oct 21Closed at  Oct 23
KaranocaVe
KaranocaVe
Oct 21 Create

Runtime Python Profiling 配对接口链接错误

问题

固定版本 c06e4cccb34ae5c5b616544250718879927da0d7 中,acl.prof.init 页面把配对接口链接到了不存在的 function-finalize- 2.md,acl.prof.finalize 页面则链接到了不存在的 function-init- 1.md。相同目录的真实页面文件名分别为 function-finalize-Profiling.md 和 function-init-Profiling.md,因此用户无法通过这两处链接跳转到配对接口说明。

预期与实际

  • 复现:打开 acl.prof.init 与 acl.prof.finalize 的 Python API 文档,分别跟随配对接口链接。
  • 预期:两个配对链接均指向仓库中对应的 Profiling API 页面。
  • 实际:两个相对链接的目标文件均不存在。

修复

仅将两处链接目标改为同目录中实际存在的页面文件名,不改接口说明内容或运行时代码。

验证

  • 已确认:固定源码版本和当前 runtime master 中原链接目标不存在,修正后的两个页面均存在,两个相对链接均可解析。

关联 PR: https://gitcode.com/cann/runtime/merge_requests/5720

likedislike
KaranocaVeKaranocaVe
Oct 21 Associated pull request
KaranocaVeKaranocaVe
Oct 21 Modify description of issue
CANN-robotCANN-robotCollaborators
Oct 21 Assign weixin_46600764 as responsible person
xiaocunxiaocunCollaborators
Oct 21 Assign duanpengliang as responsible person, remove original responsible person: weixin_46600764
xiaocunxiaocunCollaborators
Oct 21 Removed responsible person duanpengliang
wuqifan
wuqifan
Oct 21 Comments:

/assign

likedislike
CANN-robotCANN-robotCollaborators
Oct 21 Assign weixin_46600764 as responsible person
wuqifan
wuqifan
Oct 21 Comments:

感谢反馈!您所提的pyacl资料问题已收到,根据提供的信息核实:Profiling 目录下真实页面为 function-init-Profiling.md 与 function-finalize-Profiling.md,两处配对链接指向的 function-init- 1.md、function-finalize- 2.md 确实不存在。同目录其余 44 个页面的相对链接也逐一核查过,未发现其他同类失效。我们会尽快推进合入!

likedislike
ykl999
ykl999Collaborators
Oct 23 Comments:

pr已合入,issue关闭处理

likedislike
ykl999ykl999Collaborators
Oct 23 changed custom state from 进行中 to 已解决
ykl999ykl999Collaborators
Oct 23 Close issue
CANN-robotCANN-robotCollaborators
Oct 23 Added label: resolved