Skip to content

Conversation

@ForFishes
Copy link
Member

@ForFishes ForFishes commented Mar 11, 2024

PR types

New features

PR changes

Others

Description

[Distributed] Support trainable param for sharding stage1-v1
Pcard-73145

@paddle-bot
Copy link

paddle-bot bot commented Mar 11, 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.

), "param.grad should be None when using main_grad"
return param.main_grad

return param._grad_ivar() if param._grad_ivar() is not None else None
Copy link
Collaborator

Choose a reason for hiding this comment

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

是不是直接return param._grad_ivar()?

Copy link
Member Author

Choose a reason for hiding this comment

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

好的

@ForFishes ForFishes merged commit c0208c6 into PaddlePaddle:develop Mar 15, 2024
@ForFishes ForFishes deleted the opt_sharding_v1 branch March 15, 2024 06:27
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