mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2026-01-16 15:37:57 +00:00
* add pipeline shared module wrapper and update load batch * added model parallel process group for amp and clip grad (#86) * added model parallel process group for amp and clip grad * update amp and clip with model parallel process group * remove pipeline_prev/next group (#88) * micro batch offload * optimize pipeline gpu memory usage * pipeline can receive tensor shape (#93) * optimize pipeline gpu memory usage * fix grad accumulation step counter * rename classes and functions Co-authored-by: Frank Lee <somerlee.9@gmail.com>
8 lines
409 B
Python
8 lines
409 B
Python
from ._base_gradient_handler import BaseGradientHandler
|
|
from ._data_parallel_gradient_handler import DataParallelGradientHandler
|
|
from ._zero_gradient_handler import ZeROGradientHandler
|
|
from ._pipeline_parallel_gradient_handler import PipelineSharedModuleGradientHandler
|
|
|
|
__all__ = ['BaseGradientHandler', 'DataParallelGradientHandler',
|
|
'ZeROGradientHandler', 'PipelineSharedModuleGradientHandler']
|