ColossalAI/colossalai/legacy/engine/gradient_handler/__init__.py

16 lines
617 B
Python
Raw Normal View History

2021-10-28 16:21:23 +00:00
from ._base_gradient_handler import BaseGradientHandler
from ._data_parallel_gradient_handler import DataParallelGradientHandler
2022-01-07 07:08:36 +00:00
from ._moe_gradient_handler import MoeGradientHandler
from ._pipeline_parallel_gradient_handler import PipelineSharedModuleGradientHandler
2022-01-20 05:44:51 +00:00
from ._sequence_parallel_gradient_handler import SequenceParallelGradientHandler
from ._zero_gradient_handler import ZeROGradientHandler
2022-01-20 05:44:51 +00:00
__all__ = [
"BaseGradientHandler",
"DataParallelGradientHandler",
"ZeROGradientHandler",
"PipelineSharedModuleGradientHandler",
"MoeGradientHandler",
"SequenceParallelGradientHandler",
]