已合并
fix:修复quant_mode变量提前释放导致aclnn无法成功读取值的问题 #4710
fix:修复quant_mode变量提前释放导致aclnn无法成功读取值的问题 #4710
已合并
田野创建于 4月13日
田野
4月13日

【合入来源】

如有社区issue,请关联issue链接
请勿携带内部流程信息(需求链接、问题单、内部issue等)

【修改方案】

请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列
如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容)

aclnn中quantMode参数偶现无法正常读取值,因为函数结束后aclnn还未执行仅下发,quant_mode变量被释放导致指针指向未知地址。修改为作为函数入参传递。

【资料变更】

请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及”

不涉及

【接口变更】

请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及”

不涉及

【功能验证】

说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤
新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图

本地验证通过
image.png

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 田野 的贡献)
田野
4月13日 创建了 pull request,commit 72dab92a
ascend-robot
ascend-robot成员
4月13日 评论:

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
repo-Ascend/op-plugin 李伟, wuyi_huawei (2/2) 李伟 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

transformer910, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
田野
4月13日 修改了pull request 的描述
此处折叠了5条事件消息 查看更多
田野
4月13日 修改了pull request 的描述
田野
4月13日 评论:

compile

likedislike
ascend-robot
ascend-robot成员
4月13日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
4月13日 添加了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
4月13日 添加了label:ci-pipeline-running
ascend-robot
ascend-robot成员
4月13日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robot
ascend-robot成员
4月13日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
4月13日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
4月13日 添加了label:docs-ci-pipeline-success
ascend-robot
ascend-robot成员
4月13日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
4月13日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
4月13日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
4月13日 评论:
流水线 PR-pipeline_op-plugin#5690 已完成
阶段 任务名 状态 详情
编译构建 Build_master_x86_USE_CXX_ABI_GCC13 >>>
Build_v2_6_0_x86 >>>
Build_v2_7_1_x86 >>>
Build_v2_8_0_x86 >>>
Build_v2_9_0_x86 >>>
Build_v2_10_0_x86 >>>
Build_master_ARM_USE_CXX_ABI_GCC13 >>>
Build_v2_6_0_ARM_USE_CXX_ABI >>>
Build_v2_7_1_ARM >>>
Build_v2_8_0_ARM >>>
Build_v2_9_0_ARM >>>
Build_v2_10_0_ARM >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 CodeCheck >>>
开源片段检查 SCA >>>
null UT_master_x86 >>>
UT_v2_6_0_x86 >>>
UT_v2_7_1_x86 >>>
UT_v2_8_0_x86 >>>
UT_v2_9_0_x86 >>>
UT_v2_10_0_x86 >>>
UT_v2_7_1_ARM_A2 >>>
流水线 PR-pipeline_op-plugin >>>
likedislike
田野
4月14日 修改了pull request 的描述
shen_weiling
shen_weiling
4月14日 评论:

/lgtm

likedislike
ascend-robot
ascend-robot成员
4月14日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
shen_weiling

likedislike
wuyi_51成员
4月14日 评论:

/lgtm

likedislike
ascend-robot
ascend-robot成员
4月14日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
shen_weiling

likedislike
田野
4月16日 修改标题为 “fix:修复quant_mode变量提前释放导致aclnn无法成功读取值的问题”,原标题为“修复quant_mode变量提前释放导致aclnn无法成功读取值的问题”
liwei386成员
4月17日 评论:

/approve

likedislike
ascend-robot
ascend-robot成员
4月17日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
shen_weiling

likedislike
ascend-robotascend-robot成员
4月17日 添加了label:approvedlgtm
ascend-robot
ascend-robot成员
4月17日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: 李伟.
Reviewers who wrote a comment of /lgtm are: wuyi_huawei, 李伟.

likedislike
ascend-robotascend-robot成员
4月17日 合入了pull request