已合并
feat: 新增acldumpSaveExceptionInfo/acldumpGetExceptionInfoPath接口 #3993
yring_8创建于 8月1日
feat: 新增acldumpSaveExceptionInfo/acldumpGetExceptionInfoPath接口 #3993
已合并
从已删除 :save_exception合入到cann/runtimemaster
Pull Request已成功合入, 合并人@CANN-robot
(感谢 yring_8 的贡献)8月1日 添加了label:cann-cla/yes
CANN-robot
8月1日 评论:
8月1日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| docs | ✅ 卢煜坤, 王涛 (2/2) | ✅ 卢煜坤, 王涛 (2/1) |
| example/5_performance | ✅ newstarzj, 卢煜坤, zhuliangying, 王涛 (4/2) | ✅ zhuliangying (1/1) |
| include/external/acl/acl_dump.h | ✅ zhuliangying, 卢煜坤, 王涛, newstarzj (4/2) | ✅ zhuliangying (1/1) |
| src/dfx | ✅ zhuliangying, newstarzj, 卢煜坤, 王涛 (4/2) | ✅ zhuliangying (1/1) |
| tests/ut/adump | ✅ zhuliangying, newstarzj, 卢煜坤, 王涛 (4/2) | ✅ zhuliangying (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
yring_8, thanks for your pull request. All authors of the commits have signed the CLA. 👍


8月1日 将newstarzj,chenhao_1209,zhuliangying,wangtao43,zhangpengpeng8,yanmingxiang,Reyn52166,ykl999,houyanbao,tingwood设为评审人
8月1日 将newstarzj,chenhao_1209,zhuliangying,wangtao43,zhangpengpeng8,yanmingxiang,Reyn52166,ykl999,houyanbao,tingwood设为评审人
此处折叠了187条消息 查看更多
ykl999
8月7日 评论:
8月7日 评论:
/approve
/lgtm


8月7日 添加了label:approved
8月7日 添加了label:lgtm
8月7日 合入了pull request
Pull Request
描述
新增
acldumpSaveExceptionInfo/acldumpGetExceptionInfoPath两个异常信息保存接口,支持在算子异常场景下将用户自定义的 tensor 数据主动落盘到 Exception Dump 路径,用于扩充维测信息。主要变更:
include/external/acl/acl_dump.h),C 风格签名,保持 ABI 兼容Path::BuildFullPathUnderRoot公共函数:校验相对路径不含..防路径穿越,递归建父目录 + RealPath + IsDirectory 校验ExceptionDumper(SaveExceptionInfo/GetExceptionDumpPath),DumpManager仅转发docs/zh/api_ref/18_dump_configuration.md)、头文件注释及 example 样例(3_save_exception_info)变更类型
关联的Issue
如何测试
acl.json配置dump_scene=aic_err_brief_dump使能 Exception DumpacldumpGetExceptionInfoPath获取落盘根路径,构造acldumpTensorInfo后调用acldumpSaveExceptionInfo落盘bash tests/build_ut.sh -u adump测试结果:
核对清单
其他信息
无