Skip to content

Set sequence_parallel strategy true in default.#846

Merged
ForFishes merged 7 commits intoPaddlePaddle:developfrom
GhostScreaming:default_sequence_parallel
Oct 25, 2022
Merged

Set sequence_parallel strategy true in default.#846
ForFishes merged 7 commits intoPaddlePaddle:developfrom
GhostScreaming:default_sequence_parallel

Conversation

@GhostScreaming
Copy link
Contributor

  1. GPT with sequence_parallel has an improvement of performance in 8.76% ~ 20.37%.

image

image

  1. GPT with sequence_parallel has the same training loss curve compared with its model-parallel and pipeline-parallel peer.
    image

  2. Sequence_parallel strategy needs GPT mp_degree > 1. If mp_degree <= 1, it will be set false automatically in hybrid_model.py

Copy link
Collaborator

@sneaxiy sneaxiy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@ForFishes ForFishes left a comment

Choose a reason for hiding this comment

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

LGTM

@ForFishes ForFishes merged commit b6ed5ed into PaddlePaddle:develop Oct 25, 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.

3 participants