Skip to content

Conversation

blacksheep-Aristotle
Copy link
Contributor

@blacksheep-Aristotle blacksheep-Aristotle commented Jun 18, 2025

PR Category

Execute Infrastructure

PR Types

New features

Description

某些高性能场景下,用户希望手动对grad操作,绕过backward node机制(比如当前fp8下,fp8 weight grad是在pylayer里调用inplace计算并做累加的)。此时param的hook将不会被触发。此pr允许用户在上述场景下手动触发hook。
Pcard-67164

Copy link

paddle-bot bot commented Jun 18, 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.

Copy link
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@zhiqiu zhiqiu merged commit e7dde8f into PaddlePaddle:develop Jun 19, 2025
49 of 52 checks passed
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.

2 participants