Open
[Bug-Report|缺陷反馈]: fake_quant_with_min_max_vars_gradient 动态 shape 支持、Tiling shape 校验与小形状 baseLen 下限修复 #8038
fengjiawei1Add on  18 days ago
fengjiawei1
fengjiawei1Collaborators
18 days ago Create

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

修复fake_quant_with_min_max_vars_gradient 动态shape支持情况

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

Ascend950

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

动态shape场景问题必现

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

预期infershape成功

无

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

likedislike
fengjiawei1fengjiawei1Collaborators
18 days ago Added label: bug-report
fengjiawei1fengjiawei1Collaborators
18 days ago Assign fengjiawei1 as responsible person
chenjiayi_chenjiayi_Collaborators
5 days ago Assign chenjiayi_ as responsible person
chenjiayi_
chenjiayi_Collaborators
5 days ago Comments:

补充说明本问题的处理进展:

当前状态:
该 issue 当前指派给 fengjiawei1,指派时间为 2026-11-03 19:08;关联 PR 记录为空,指派后评论区保持静止。

依据:

  • 当前责任人:fengjiawei1。
  • 指派时间:2026-11-03 19:08。
  • 指派后评论记录:静止。
  • 关联 PR 记录:空。

后续:
请责任人补充修复计划或提交 PR;当前 master 行为核对后同步结论。

likedislike
yuning_chen
yuning_chenCollaborators
5 days ago Comments:

问题成立。epsilon/属性在接口层声明为 double,实现按 float 取值,极小正值下溢为 0,导致除零/全零输出。建议:①保留 double 到使用点或 max(eps, FLT_MIN);②资料写明有效范围;③补 UT。

本条要点: Describe the current behavior / 问题描述 (Mandatory / 必填)

likedislike
chenjiayi_
chenjiayi_Collaborators
2 days ago Comments:

补充说明(输出质量)

背景:fake_quant_with_min_max_vars_gradient 需要支持动态 shape,并补充 Tiling shape 校验与小形状 baseLen 下限。

影响:动态 shape 推理失败会影响量化训练/推理链路。

方案/范围:infershape 支持 -1 维度;tiling 对 shape 做合法性校验;小 shape 的 baseLen 设置下限,避免除零/越界;当前未检索到关联 PR。

验收标准:动态 shape 用例 infershape 成功;小 shape 不越界;静态 shape 结果不变;UT/ST 覆盖。

当前状态:本 issue 当前为 open;暂无关联 PR。

likedislike
chenjiayi_chenjiayi_Collaborators
11 hours ago Removed responsible person chenjiayi_