Skip to content

Conversation

@wangxicoding
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

Refine sharding code.

@paddle-bot-old
Copy link

paddle-bot-old bot commented Aug 6, 2021

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

Copy link
Contributor

@JZ-LIANG JZ-LIANG left a comment

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
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