Pull Request已成功合入, 合并人@CANN-robot
(感谢 lidaoming1 的贡献)变更摘要
该 PR 属于 Bug 修复,针对 OM2 运行时 dump 配置校验逻辑:由于 OM2 已支持 L0 exception dump(aic_err_brief_dump 与 lite_exception,CheckDumpSceneSwitch 的 validScenes 已包含这两个场景,且 IsL0ExceptionDumpEnabled 已有对应实现),因此在 runtime/om2/dump/dump_config.cc 的 DumpConfig::CheckUnsupportedConfigs 中删除了此前对这些场景输出 "not supported in OM2" 的过时警告代码,避免用户配置 L0 exception dump 场景时收到误导性警告。
主要改动
- 删除过时警告逻辑: 移除
CheckUnsupportedConfigs中针对GE_DUMP_SCENE配置项存在性判断及其对应的警告分支,该分支会读取dump_scene值并输出 L0 exception dump 不支持的告警。 - 移除
aic_err_brief_dump场景警告: 不再对GE_DUMP_EXCEPTION_AIC_ERR_BRIEF场景输出 "not supported in OM2" 的GELOGW警告日志。 - 移除
lite_exception场景警告: 不再对GE_DUMP_LITE_EXCEPTION场景输出 "not supported in OM2" 的GELOGW警告日志。 - 保留其余校验逻辑: 函数体仅删除上述 9 行过时警告代码,
CheckUnsupportedConfigs中其他配置校验及CheckDumpSceneSwitch等现有逻辑保持不变。


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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/ge | ✅ 张德鹏, ClarkXie, stevenaw0 (3/2) | ✅ 张德鹏 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
lidaoming1, thanks for your pull request. All authors of the commits have signed the CLA. 👍


compile


流水线任务触发成功
任务链接 [30579cf38e2c4deb8aebf2451daaad34][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_ARM_compiler | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_ARM_executor | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_ARM_dflow | ✅ SUCCESS | >>>>> | >>>>> |
| API_Check | ✅ SUCCESS | >>>>> | |
| PreSmoke_A900_npupool | ✅ SUCCESS | >>>>> |
[2026-08-21 11:31:18] CI执行结束


流水线任务触发成功
任务链接 [dd7d9baf1ec948a09ca2948da59dbe90][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| pre_comment | ✅ SUCCESS | >>>>> | |
| Compile_X86_compiler | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_executor | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_X86_dflow | ✅ SUCCESS | >>>>> | >>>>> |
| UT_Test_dflow | ✅ SUCCESS | ||
| UT_Test_ge_common | ✅ SUCCESS | ||
| UT_Test_parser | ✅ SUCCESS | ||
| UT_Test_python | ✅ SUCCESS | >>>>> | |
| UT_Test_rt | ✅ SUCCESS | ||
| UT_Test_acl | ✅ SUCCESS | ||
| UT_Test_autofuse | ✅ SUCCESS | ||
| UT_Test_executor | ✅ SUCCESS | ||
| UT_Test_autofuse_ascendc_api | ✅ SUCCESS | ||
| ST_Test_dflow | ✅ SUCCESS | ||
| ST_Test_ge_common | ✅ SUCCESS | ||
| ST_Test_parser | ✅ SUCCESS | ||
| ST_Test_python | ✅ SUCCESS | >>>>> | |
| ST_Test_rt | ✅ SUCCESS | ||
| ST_Test_autofuse | ✅ SUCCESS | ||
| ST_Test_executor | ✅ SUCCESS | ||
| ST_Test_hetero | ✅ SUCCESS | ||
| ST_Test_autofuse_ascendc_api | ✅ SUCCESS | ||
| ST_Test_autofuse_e2e | ✅ SUCCESS | ||
| UT_Test_fe | ✅ SUCCESS | ||
| UT_Test_tefusion | ✅ SUCCESS | ||
| ST_Test_fe | ✅ SUCCESS | ||
| ST_Test_tefusion | ✅ SUCCESS | ||
| ST_Test_ge_common_atc | ✅ SUCCESS | ||
| UT_Test_Report_graphengine | ✅ SUCCESS | >>>>> | |
| UT_Test_Report_ge_executor_c | ✅ SUCCESS | >>>>> | |
| UT_Test_Report_ge_autofuse | ✅ SUCCESS | >>>>> | |
| ST_Test_Report_graphengine | ✅ SUCCESS | >>>>> | |
| ST_Test_Report_ge_executor_c | ✅ SUCCESS | >>>>> | |
| ST_Test_Report_ge_autofuse | ✅ SUCCESS | >>>>> | |
| UT_Test_Report_fe | ✅ SUCCESS | >>>>> | |
| ST_Test_Report_fe | ✅ SUCCESS | >>>>> |
[2026-08-21 12:07:47] CI执行结束


流水线任务触发成功
任务链接 [b2ca155121484822af1634e92f143cf2][流水线指导]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck_Pr | ✅ SUCCESS | ||
| antipoison | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| codecheck_dt | ✅ SUCCESS | >>>>> | |
| codecheck_precommit | ✅ SUCCESS | >>>>> | |
| StaticCheck_codespell | ✅ SUCCESS | ||
| StaticCheck_link_validity | ✅ SUCCESS | ||
| StaticCheck_resource_existence | ✅ SUCCESS | ||
| StaticCheck_tag_closed | ✅ SUCCESS | ||
| StaticCheck_markdownlint | ✅ SUCCESS |
[2026-08-21 11:29:51] CI执行结束


/lgtm


描述
OM2 已支持 L0 exception dump(
aic_err_brief_dump和lite_exception),CheckDumpSceneSwitch中的validScenes已包含这两个场景,IsL0ExceptionDumpEnabled也有对应实现。删除CheckUnsupportedConfigs中对该场景输出 "not supported in OM2" 的过时警告代码。变更类型
关联的Issue
如何测试
aic_err_brief_dump或lite_exception,确认不再输出 "not supported in OM2" 警告核对清单
其他信息
无