Skip to content

Conversation

@co63oc
Copy link
Contributor

@co63oc co63oc commented Jul 12, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

29 paddle.incubate.nn.functional.fused_multi_head_attention
修改前向和反向,反向填充0,PaddleAPITest中为自定义规则
https://github.com/PFCCLab/PaddleAPITest/blob/d782af6c860fdf2f20a346f56be2f4baad2433c7/tester/paddle_to_torch/rules.py#L1995
LayerNorm增加0-size判断

增加单测
PaddleAPITest测试通过
image

28 paddle.incubate.nn.functional.fused_linear_activation
原有代码已有修改,只是 x_grad 没有分配内存,修改增加x_grad分配内存
增加单测

PaddleAPITest 测试通过
image

@paddle-bot
Copy link

paddle-bot bot commented Jul 12, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Jul 12, 2025
@co63oc co63oc changed the title [0-size Tensor Job2 No.29] Add 0-size Tensor support for paddle.incubate.nn.functional.fused_multi_head_attention [0-size Tensor Job2 No.29] Add 0-size Tensor support for paddle.incubate.nn.functional.fused_multi_head_attention [fluid_ops] Jul 12, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jul 12, 2025

/re-run all-failed

@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jul 14, 2025
@co63oc co63oc changed the title [0-size Tensor Job2 No.29] Add 0-size Tensor support for paddle.incubate.nn.functional.fused_multi_head_attention [fluid_ops] [0-size Tensor Job2 No.29、28] Add 0-size Tensor support for paddle.incubate.nn.functional.fused_multi_head_attention [fluid_ops] Jul 15, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jul 15, 2025

/re-run all-failed

Copy link
Contributor

@DanielSun11 DanielSun11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@DanielSun11 DanielSun11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DanielSun11 DanielSun11 merged commit 8064b45 into PaddlePaddle:develop Jul 16, 2025
60 of 65 checks passed
@co63oc co63oc deleted the h7 branch July 17, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 skip-ci: approval

3 participants