-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
update dygraph auto parallel API interface. #59059
Conversation
wuhuachao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
ddb8733
to
ef3a6f7
Compare
b07083f
to
5cc36a9
Compare
9089746
to
2519e63
Compare
2519e63
to
cc47be5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
from paddle.base.core import Partial, Placement, ReduceType, Replicate, Shard | ||
|
||
__all__ = ["ReduceType", "Placement", "Replicate", "Shard", "Partial"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ReduceType 和其他类型命名方式不太一样,多了个Type的后缀,是否需要统一?
- placement_type 包含 Placement,这两个概念有包含关系,Placement是一种什么样的placement_type呢?
- 这几个API不需要放到__all__列表,根据调用方式,只放到paddle.distributed.init.py的__all__列表就行
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,下一个PR修改
Co-authored-by: wuhuachao <wuhuachao@baidu.com>
PR types
New features
PR changes
APIs
Description
update dygraph auto parallel API interface.
Pcard-73145