Closed
[Bug-Report|缺陷反馈]: causal_conv1d算子修改 #4976
huangzhiyuanAdd on  Sep 4Closed at  Sep 22
huangzhiyuan
huangzhiyuan
Sep 4 Create

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

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

  1. DFX打点补全:aclnnCausalConv1dFn / aclnnCausalConv1dUpdate 的
    L2_DFX_PHASE_1 中 DFX_IN 补充 activation、nullBlockId 两个标量入参,
    与算子实际入参列表保持一致
  2. 修正UT用例预期:Ascend950_update_3d_seqlen_not_1 用例中 3D x 且
    seqlen != 1 的场景,host侧校验逻辑实际支持(仅要求batch一致),
    预期结果由 ACLNN_ERR_PARAM_INVALID 更正为 ACLNN_SUCCESS
  3. 修正tiling UT入参顺序:test_causal_conv1d_tiling.cpp 中将 bias 与
    conv_states 顺序对调,与算子定义的实际入参顺序
    (x, weight, conv_states, bias, ...) 保持一致
  4. test_config.yaml 中 mamba.causal_conv1d 缩进格式修正
  5. 部分代码格式(换行)整理

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

NA

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

修改算子代码时compileUT报错

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

ut用例结果正确

image.png

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

likedislike
huangzhiyuanhuangzhiyuan
Sep 4 Associated pull request
游震Collaborators
Sep 4 Comments:

/assign @h1234515

likedislike
CANN-robotCANN-robotCollaborators
Sep 4 Assign h1234515 as responsible person
huangzhiyuanhuangzhiyuan
Sep 22 changed custom state from 进行中 to 已完成
huangzhiyuanhuangzhiyuan
Sep 22 Close issue
CANN-robotCANN-robotCollaborators
Sep 22 Added label: resolved