Skip to content

Conversation

@co63oc
Copy link
Contributor

@co63oc co63oc commented Jul 19, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

[0-size Tensor No.185] Add 0-size Tensor support for paddle.nn.functional.layer_norm
185 paddle.nn.functional.layer_norm
修改kernel前向和反向,GPU 反向如果x, weight类型不同,需要对grad修改类型

PaddleAPITest测试通过
image

151 paddle.nn.functional.affine_grid
测试用例为numpy error,修改为抛出错误,配置移除在PR PFCCLab/PaddleAPITest#354

@paddle-bot
Copy link

paddle-bot bot commented Jul 19, 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 19, 2025
@co63oc co63oc changed the title CI测试不review layer_norm CI测试不review layer_norm [fluid_ops] Jul 19, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jul 19, 2025

Codecov Report

Attention: Patch coverage is 16.66667% with 10 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@8341678). Learn more about missing BASE report.

Files with missing lines Patch % Lines
paddle/phi/kernels/cpu/layer_norm_grad_kernel.cc 0.00% 9 Missing ⚠️
python/paddle/nn/functional/vision.py 50.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (16.66%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@ Coverage Diff @@ ## develop #74129 +/- ## ========================================== Coverage ? 16.66% ========================================== Files ? 3 Lines ? 12 Branches ? 0 ========================================== Hits ? 2 Misses ? 10 Partials ? 0 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@co63oc co63oc changed the title CI测试不review layer_norm [fluid_ops] [0-size Tensor No.185、151] Add 0-size Tensor support for paddle.nn.functional.layer_norm [fluid_ops] Jul 19, 2025
@co63oc
Copy link
Contributor Author

co63oc commented Jul 20, 2025

/re-run all-failed

@co63oc
Copy link
Contributor Author

co63oc commented Jul 22, 2025

@DanielSun11 CI已完成需要review

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

@luotao1 luotao1 merged commit afacb7d into PaddlePaddle:develop Jul 22, 2025
70 of 73 checks passed
@co63oc co63oc deleted the h29 branch July 23, 2025 04:06
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

4 participants