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

14 lines
537 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
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",
"SequenceParallelGradientHandler",
]