Closed
[Bug-Report|缺陷反馈]: swin transformer ln qkv UT报错 #7077
yuning_chenAdd on  13 days agoClosed at  12 days ago
yuning_chen
yuning_chenCollaborators
13 days ago Create

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

swin transformer ln qkv UT报错

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

Ascend910B

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

流水线执行compile报错

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

ut通过

出现SEGV on unknown address报错

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

likedislike
yuning_chenyuning_chenCollaborators
13 days ago Added label: bug-report
yuning_chenyuning_chenCollaborators
13 days ago Assign yolic as responsible person
yuning_chenyuning_chenCollaborators
13 days ago Associated pull request
周云飞
周云飞Collaborators
13 days ago Comments:

您好,感谢反馈!您报告在 Ascend910B 环境下,Swin Transformer LN QKV 的 UT 在流水线 compile 阶段出现 SEGV on unknown address。该信息表明有进程发生了非法内存访问,但仅凭这一行还无法判断是编译工具崩溃,还是构建过程中调用的测试程序崩溃,也不能直接确定是算子实现问题。

为定位具体失败环节,请补充以下信息:

  1. 报错日志:包含失败命令、报错前后的上下文,以及完整调用栈(如有),以便确认崩溃进程和触发位置。
  2. 执行入口:流水线实际使用的编译命令、UT 目标或失败用例名称,以便明确复现范围。
  3. 版本信息:发生问题的仓库分支及提交号、CANN 版本和编译器版本,以便确认对应代码与工具链环境。

日志中的凭据、内部地址和个人路径请先脱敏。当前根因尚未确定,需要结合上述信息进一步分析。

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

已合入 PR #15224,针对 Swin Transformer LN QKV 的 UT 报错,调整了 tiling 测试中的 workspace 分配方式,并增加 workspace 数量和非空检查;同时调整了 Swin Attention FFN 对应 UT 的 workspace 分配方式。

关联 PR:PR #15224

likedislike