Skip to content

[hybrid] refine sharding code - #34678

Merged
wangxicoding merged 2 commits into
PaddlePaddle:developfrom
wangxicoding:refine_sharding
Aug 10, 2021
Merged

[hybrid] refine sharding code#34678
wangxicoding merged 2 commits into
PaddlePaddle:developfrom
wangxicoding:refine_sharding

Conversation

@wangxicoding

Copy link
Copy Markdown
Contributor

PR types

Others

PR changes

Others

Describe

Refine sharding code.

@paddle-bot-old

paddle-bot-old Bot commented Aug 6, 2021

Copy link
Copy Markdown

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@JZ-LIANG JZ-LIANG left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

""" get
self._sharding_segment_strategy
1. if by_size: self._broadcast_MB
2. if by_anchors: self._sharding_segment_anchors

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

make sure the anchors in both fw and bw be identical

@wangxicoding wangxicoding changed the title refine sharding code [hybrid] refine sharding code Aug 10, 2021
@wangxicoding
wangxicoding merged commit a160379 into PaddlePaddle:develop Aug 10, 2021
@wangxicoding
wangxicoding deleted the refine_sharding branch August 10, 2021 06:42
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