已关闭
[Bug-Report|缺陷反馈]: mlaprolog v2在tokenx传入null时会导致coredump #4226
wangss21创建于  27 天前关闭于  26 天前
wangss21成员
27 天前 创建

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

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

mlaprolog v2在tokenx传入null时会导致coredump

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

Ascend910b

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

mlaprolog v2在tokenx传入null时会导致coredump

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

mlaprolog v2在tokenx传入null时正常报错,而不是coredump

In file included from ../attention/mla_prolog_v2/examples/test_aclnn_mla_prolog_v2_nq_bsh.cpp:25:
/cann/cann_0804/cann-9.1.0/include/aclnnop/aclnn_mla_prolog_v2_weight_nz.h:56:1: note: declared here
56 | aclnnMlaPrologV2WeightNz(void *workspace, uint64_t workspaceSize, aclOpExecutor *executor, const aclrtStream stream);
| ^~~~~~~~~~~~~~~~~~~~~~~~
build.sh: line 598: 48423 Segmentation fault ./test_aclnn_${EXAMPLE_NAME}

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

likedislike
Wwangss21成员
27 天前 添加了label:bug-report
weihao18成员
27 天前 评论:

/assign @wangss21

likedislike
CANN-robotCANN-robot成员
27 天前 将 wangss21 设为负责人
CANN-robotCANN-robot成员
26 天前 关闭了 issue
CANN-robotCANN-robot成员
26 天前 添加了label:resolved