Closed
[Bug-Report|缺陷反馈]: ForeachNonFiniteCheckAndUnscale 的 ACLNN 平台白名单遗漏 Regbase 架构 #7289
xieshengwei1024Add on 28 days agoClosed at 28 days ago
28 days ago Added label: bug-report
28 days ago Associated pull request
xieshengwei1024
28 days ago Comments:
28 days ago Comments:
关联修复 PR: https://gitcode.com/cann/ops-nn/pull/12699
已补充 API 与 tiling 回归测试,并在 PR 下触发 /compile。


28 days ago Close issue
28 days ago Added label: resolved
9 days ago Assign xieshengwei1024 as responsible person
9 days ago changed custom state from 进行中 to 已完成
Describe the current behavior / 问题描述
在 Ascend960DT(DAV_9201)调用 aclnnForeachNonFiniteCheckAndUnscaleGetWorkspaceSize 时,API 层 GetDtypeSupportList() 按 SocVersion 白名单检查平台,返回空类型列表并报错,合法输入无法进入 tiling。Ascend350 已有算子注册与 kernel 配置,同样遗漏于 API 白名单。
Environment Information / 环境信息
Steps to reproduce the issue / 重现步骤
Describe the expected behavior / 预期结果
通过公共 Ops::NN::AclnnUtil::IsRegbase() 判断 Regbase 架构,使其合法 dtype 能通过 API 参数检查,并与已有 tiling 平台判断保持一致;保留 310P、Kirin 的 dtype 限制与其他参数校验。
Related log / 日志
Special notes / 备注
当前 master 的公共 IsRegbaseSocVersion(context) 已包含 DAV_9201,因此无需额外添加 tiling 架构特判。本问题修复不新增 960PR 等平台的完整构建配置。