mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-11 05:49:55 +00:00
[tensor] refine linear and add gather for laynorm (#893)
* refine linear and add function to ColoTensor * add gather for layernorm * polish * polish
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from .spec import ComputePattern, ParallelAction, TensorSpec
|
||||
from .spec import ComputePattern, ParallelAction, TensorSpec, ShardPattern
|
||||
from .op_wrapper import (
|
||||
colo_op_impl,)
|
||||
from .colo_tensor import ColoTensor
|
||||
@@ -7,5 +7,5 @@ from ._ops import *
|
||||
|
||||
__all__ = [
|
||||
'ColoTensor', 'convert_parameter', 'colo_op_impl', 'ComputePattern', 'TensorSpec', 'ParallelAction',
|
||||
'named_params_with_colotensor'
|
||||
'named_params_with_colotensor', 'ShardPattern'
|
||||
]
|
||||
|
Reference in New Issue
Block a user