Closed
[Bug-Report|缺陷反馈]: ForeachAddcmulScalarList算子资料以及tiling校验不一致 #8808
kevin_huang1234Add on  8 days agoClosed at  6 days ago
kevin_huang1234
kevin_huang1234Collaborators
8 days ago Create

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

ForeachAddcmulScalarList算子资料以及tiling校验不一致

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

cann9.2.0

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

检视ForeachAddcmulScalarList算子资料以及tiling校验代码

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

ForeachAddcmulScalarList算子资料与tiling校验代码内容一致

无

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

likedislike
kevin_huang1234kevin_huang1234Collaborators
8 days ago Added label: bug-report
yuning_chenyuning_chenCollaborators
8 days ago Assign kevin_huang1234 as responsible person
CANN-robotCANN-robotCollaborators
6 days ago Close issue
CANN-robotCANN-robotCollaborators
6 days ago changed custom state from 待办的 to 已完成
CANN-robotCANN-robotCollaborators
6 days ago Added label: resolved
chenjiayi_
chenjiayi_Collaborators
3 days ago Comments:

补充说明(输出质量)

背景:ForeachAddcmulScalarList 的资料与 tiling 校验不一致:tiling 在 arch35 定义 MAX_TENSOR_NUM_FOREACH_ADDCMUL_SCALAR_LIST=128,超过 128 个 Tensor 直接报错;但 README 的"约束说明"只写了"输出不支持非连续Tensor",aclnnForeachAddcmulScalarList.md 的"约束说明"只写了确定性计算,都没有提 128 上限。

影响:用户按文档传入超过 128 个 Tensor 会在 tiling 阶段失败,且文档无法解释原因。

方案/范围:在 README 与 aclnn 文档的约束说明中补充"Tensor 列表长度不超过 128";同时核对 Kirin 的 BF16 支持说明:README 已注明 Kirin X90/9030 不支持 BF16,def 的 Kirin 配置也排除了 BF16,但通用 tiling key 仍有 BF16 分支,需要在文档/校验上明确平台差异。

验收标准:两份文档都写明 128 上限;Kirin BF16 限制与 def/tiling 行为一致;超过 128 的输入返回明确错误。

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

likedislike