Closed
[Bug-Report|缺陷反馈]:FAG存在delete[]配对-泄漏 & SMLAG、SFAG存在除零 #5510
jinzhenghuiAdd on  Sep 20Closed at  Sep 24
jinzhenghui
Sep 20 Create

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

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

场景 问题类型 文件 行号 风险
11 delete[]配对-泄漏 flash_attention_score_grad/op_host/arch22/flash_attention_score_grad_tiling_s1s2_bn2gs1s2.cpp 1900-1904 中
12 除零 sparse_flash_mla_grad/op_kernel/arch22/smlag_basic.h 512 中
12 除零 sparse_flash_mla_grad/op_kernel/arch22/sfag_basic.h 515 中
12 除零 sparse_flash_attention_grad/op_kernel/arch22/sparse_flash_attention_grad_bs1_basic.h 966 中
15 分配大小未校验 flash_attention_score_grad/op_host/arch22/flash_attention_score_grad_tiling_s1s2_bn2gs1s2.cpp 1900 高

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

Ascend 910B

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

场景 问题类型 文件 行号 风险
11 delete[]配对-泄漏 flash_attention_score_grad/op_host/arch22/flash_attention_score_grad_tiling_s1s2_bn2gs1s2.cpp 1900-1904 中
12 除零 sparse_flash_mla_grad/op_kernel/arch22/smlag_basic.h 512 中
12 除零 sparse_flash_mla_grad/op_kernel/arch22/sfag_basic.h 515 中
12 除零 sparse_flash_attention_grad/op_kernel/arch22/sparse_flash_attention_grad_bs1_basic.h 966 中
15 分配大小未校验 flash_attention_score_grad/op_host/arch22/flash_attention_score_grad_tiling_s1s2_bn2gs1s2.cpp 1900 高

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

不存在以上问题

场景 问题类型 文件 行号 风险
11 delete[]配对-泄漏 flash_attention_score_grad/op_host/arch22/flash_attention_score_grad_tiling_s1s2_bn2gs1s2.cpp 1900-1904 中
12 除零 sparse_flash_mla_grad/op_kernel/arch22/smlag_basic.h 512 中
12 除零 sparse_flash_mla_grad/op_kernel/arch22/sfag_basic.h 515 中
12 除零 sparse_flash_attention_grad/op_kernel/arch22/sparse_flash_attention_grad_bs1_basic.h 966 中
15 分配大小未校验 flash_attention_score_grad/op_host/arch22/flash_attention_score_grad_tiling_s1s2_bn2gs1s2.cpp 1900 高

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

likedislike
游震Collaborators
Sep 20 Comments:

/assign @jinzhenghui

likedislike
CANN-robotCANN-robotCollaborators
Sep 20 Assign jinzhenghui as responsible person
Jjinzhenghui
Sep 21 Associated pull request
Jjinzhenghui
Sep 24 changed custom state from 进行中 to 已完成
Jjinzhenghui
Sep 24 Close issue
CANN-robotCANN-robotCollaborators
Sep 24 Added label: resolved