Closed
[Bug-Report|缺陷反馈]: ForeachMaximumList arch35 Tiling/aclnn 校验缺失与资料不一致 #8072
吴成文Add on  18 days agoClosed at  18 days ago
吴成文
吴成文Collaborators
18 days ago Create

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

ForeachMaximumList 在 arch35 上存在以下校验与资料缺陷:

  1. arch35 Tiling 按核均分存在 65536 上限,大 shape 时 blockDim 可能超过物理核数。
  2. 逐成员校验缺失:x2 成员数与 x1 不一致、x1[i]/x2[i] storage shape 不一致、x1[i]/x2[i] dtype 不一致、x1 列表内 dtype 混用均未被拒绝。
  3. 成员维度 >8 未拒绝。
  4. 输入/输出私有格式(FRACTAL_NZ 等)未在 Tiling 拒绝。
  5. aclnn 第一段接口对单个张量列表成员数 >256 未返回 161002。
  6. README 与 aclnn 文档对公开格式、成员数、空 Tensor、维度 0~8、>256 等约束描述不完整或与实现不一致;proto 存在 tensorsr 笔误。
  7. 样例失败路径存在资源泄漏风险;op_api UT 覆盖不足。

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

  • 昇腾硬件型号:Ascend950PR(A5)
  • CANN 版本:9.3.0
  • Python 版本:3.x(仓库验证环境)

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

  1. 构造如下非法输入:x1/x2 成员数不一致;x1[i]/x2[i] shape 或 dtype 不一致;列表内 dtype 混用;成员 rank >8;成员数 >256;输入格式为 FRACTAL_NZ。
  2. 分别通过 aclnn 第一段接口、GEIR 图模式、kernel 直连执行。
  3. 观察是否被明确拒绝,以及大 shape 下 blockDim 是否超过物理核数。

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

  • 成员数 >256 时 aclnn 第一段接口返回 161002。
  • 私有格式、rank >8、成员数/shape/dtype 不一致时返回参数错误。
  • 大 shape 下 blockDim 不超过物理核数。
  • README/aclnn 文档约束与实现一致。
  • 私有格式拒绝日志示例:format is private, only ND/NCHW/NHWC/HWCN/NDHWC/NCDHW supported。
  • 修复前成员数 >256 未返回 161002;修复与验证记录见 PR !13195。

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

本 Issue 由 PR !13195 修复。

likedislike
吴成文吴成文Collaborators
18 days ago Added label: bug-report
yuning_chenyuning_chenCollaborators
18 days ago Assign wuchengwen_oh as responsible person
CANN-robotCANN-robotCollaborators
18 days ago Close issue
CANN-robotCANN-robotCollaborators
17 days ago Added label: resolved