Skip to content

【CPU】change Batch norm reserve_space dtype #72314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

xiaoguoguo626807
Copy link
Contributor

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

pcard-67164

由于cpu/xpu kernel 没有对bacthnorm 的reserve_space 做正确的类型处理,导致传递的结果有误,在下一个cast kernel 中报类型不符的报错

Copy link

paddle-bot bot commented Apr 16, 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.

@CLAassistant
Copy link

CLAassistant commented Apr 16, 2025

CLA assistant check
All committers have signed the CLA.

@xiaoguoguo626807 xiaoguoguo626807 changed the title Batch norm 【CPU】change Batch norm reserve_space dtype Apr 17, 2025
Copy link
Contributor

@changeyoung98 changeyoung98 left a comment

Choose a reason for hiding this comment

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

LGTM

@xiaoguoguo626807 xiaoguoguo626807 merged commit 1f6403d into PaddlePaddle:develop Apr 17, 2025
36 of 38 checks passed
@xiaoguoguo626807 xiaoguoguo626807 deleted the batch_norm branch April 17, 2025 06:05
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
* batch_norm nouse output

* Apply suggestions from code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants