已关闭
[Bug-Report|缺陷反馈]: dynamicquant部分场景读取attr错误 #2520
田野创建于  5月6日关闭于  5月7日
田野成员
5月6日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

dynamicquant部分场景读取attr错误。在压测批跑场景下,走到了错误的分支。
static thread_local 变量在同一个线程中不会重复初始化,需要在正确的场景重置变量。

Environment / 环境信息 (Mandatory / 必填)

Ascend950PR

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

压测环境下,多线程批跑DynamicQuant算子。覆盖各种场景,发现有部分情况读取了错误attr,走到错误分支。

Describe the expected behavior / 预期结果 (Mandatory / 必填)

压测环境下,多线程批跑DynamicQuant算子。全部执行成功。

pretoken场景 报错了 perchannel场景的校验拦截。

Special notes for this issue/备注 (Optional / 选填)

likedislike
田野成员
5月6日 添加了label:bug-report
oscillatedoscillated成员
5月6日 将 transformer910 设为负责人
焦一鸣
焦一鸣成员
5月6日 评论:

/assign

likedislike
田野成员
5月6日 将 jiaoyiming 设为负责人
田野成员
5月6日 移除了负责人 transformer910
CANN-robotCANN-robot成员
5月7日 关闭了 issue
CANN-robotCANN-robot成员
5月7日 添加了label:resolved