Skip to content

Conversation

@wuhuachaocoding
Copy link
Contributor

@wuhuachaocoding wuhuachaocoding commented Sep 16, 2022

PR types

Others

PR changes

Others

Describe

refactor mp:
this PR mainly changes some dir of mp functions and classes.

  • move some private functions about mp to 'fleet/layers/mpu' from collective.py(to simplify it).

  • when using functions for mp operations, we recommend to call it as 'fleet.layers.mpu.xxx'.

users are not aware of it, Compatible with the upgrade.

* refactor mp.

* update setup.py.

* update mp_layers.py for compatibility.

* add documents for mp_layers.py

* update init.py

* update collective.py.

* update.

* update mp_ops.py

* update.

* update code style.

* update code style.
@paddle-bot
Copy link

paddle-bot bot commented Sep 16, 2022

你的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
Copy link

paddle-bot bot commented Sep 16, 2022

✅ This PR's description meets the template requirements!
Please wait for other CI results.

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

@fuyinno4 fuyinno4 merged commit e5dc9d6 into PaddlePaddle:release/2.4 Sep 19, 2022
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.

4 participants