Closed
[Bug-Report|缺陷反馈]: A6编译失败 #6902
zzg_codeAdd on  17 days agoClosed at  17 days ago
zzg_code
zzg_codeCollaborators
17 days ago Create

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

A6场景下不支持高阶API等接口,把dispatch和combine的roce代码限定在A5

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

960编译

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

直接CI出包

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

失败

无

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

likedislike
zzg_codezzg_codeCollaborators
17 days ago Added label: bug-report
游震Collaborators
17 days ago Comments:

/assign @zzg_code

likedislike
CANN-robotCANN-robotCollaborators
17 days ago Assign zzg_code as responsible person
周云飞
周云飞Collaborators
17 days ago Comments:

您好,感谢反馈!您报告的是 A6/960 目标在 CI 出包时编译失败,并建议将 dispatch、combine 的 RoCE 代码限定在 A5 编译。

如果失败确实由 A6 编译路径引入了不支持的高阶 API 导致,一个可行的处理方向是在相关构建入口及条件编译处隔离仅适用于 A5 的 RoCE 实现,同时避免 A6 继续包含相关头文件或实例化相关模板。调整范围应限于不支持的实现,保留 A5 原有功能,避免将 dispatch、combine 的其他适用路径一并排除。目前还缺少具体编译报错,尚不能确认触发失败的接口和隔离位置。

烦请补充首个编译错误及其前后日志、出包使用的代码版本和 CANN 版本,以及 CI 中实际使用的目标平台参数。这些信息可用于定位不受支持的接口是从哪里进入 A6 编译路径的。另外,“预期结果”填写为“失败”,请确认您的实际预期是否为“A6/960 的 CI 出包成功,且不编译仅适用于 A5 的 RoCE 实现”。

likedislike
周云飞
周云飞Collaborators
17 days ago Comments:

/assign @zzg_code

likedislike
CANN-robotCANN-robotCollaborators
17 days ago Close issue
CANN-robotCANN-robotCollaborators
17 days ago Added label: resolved
周云飞
周云飞Collaborators
4 days ago Comments:

PR #14866 针对 A6 编译失败进行了修复:将依赖 Ascend 950 Hcomm API 的 dispatch、combine RoCE 实现及相关调用限制在 __NPU_ARCH__ == 3510 时编译,避免 A6 编译时引入不支持的接口。

关联 PR:PR #14866

likedislike