[ddp] refactor ColoDDP and ZeroDDP (#1146)

* ColoDDP supports overwriting default process group

* rename ColoDDPV2 to ZeroDDP

* add docstr for ZeroDDP

* polish docstr
This commit is contained in:
ver217
2022-06-21 16:35:23 +08:00
committed by GitHub
parent 0e4e62d30d
commit 8106d7b8c7
6 changed files with 66 additions and 23 deletions

View File

@@ -1,3 +1,3 @@
from .data_parallel import ColoDDP, ColoDDPV2
from .data_parallel import ColoDDP, ZeroDDP
__all__ = ['ColoDDP', 'ColoDDPV2']
__all__ = ['ColoDDP', 'ZeroDDP']