Skip to content

Conversation

@0x45f
Copy link
Contributor

@0x45f 0x45f commented Feb 20, 2024

PR types

Others

PR changes

Others

Description

在进行PIR AMP API适配时发现python端已经有两个类似AMPState、amp_state的类或者变量。比如python/paddle/distributed/passes/auto_parallel_amp.py中有一个class AMPState;python/paddle/amp/auto_cast.py中有一个class AMPGlobalState。这里将C++端的class AMPState更名为了AmpAttrs,避免重名
Pcard-67164

@paddle-bot
Copy link

paddle-bot bot commented Feb 20, 2024

你的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.

@0x45f 0x45f requested a review from zhangting2020 February 21, 2024 02:59
Copy link
Contributor

@XiaoguangHu01 XiaoguangHu01 left a comment

Choose a reason for hiding this comment

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

LGTM

@0x45f 0x45f merged commit a5a75a5 into PaddlePaddle:develop Feb 21, 2024
@0x45f 0x45f deleted the rename-amp-state branch February 21, 2024 05:12
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.

5 participants