Skip to content

Conversation

haohongxiang
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

[cherry-pick]Support FP16 in HybridParallel and Fix bugs in HybridOptimizer

haohongxiang and others added 8 commits October 25, 2021 20:18
* fix bugs in HybridParallelClipGrad of hybrid_parallel_optimizer

* update

* update
* fix calling bug of HybridParallelClipGrad

* fix bugs of HybridParallelClipGrad

* add unittest of pp with HybridParallelClipGrad

* fix bugs in mp_layers.py

* update

* fix bugs in pp_layers.py

* update
* add no_sync for parameters sync

* add pipeline for moe
* [HybridParallel]Support fp16 in dygraph hybrid parallel

* update

* update

* update for recompute

* add unittest of pp+fp16

* add unittest of recompute+fp16

* update

* modify ut
* fix bugs of ClipGradByGlobalNorm

* add unittests

* add unittests
* support ClipGradByGlobalNorm in sharding

* support ClipGradByGlobalNorm in sharding

* test=allcase
@paddle-bot-old
Copy link

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

Copy link
Contributor

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

@fuyinno4 fuyinno4 merged commit 5b357e0 into PaddlePaddle:release/2.2 Oct 26, 2021
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.

5 participants