mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-16 14:41:53 +00:00
[shardformer] integrated linear 1D with dtensor (#3996)
* [shardformer] integrated linear 1D with dtensor * polish code
This commit is contained in:
@@ -10,6 +10,7 @@ from colossalai.core import global_context as gpc
|
||||
|
||||
|
||||
class ParallelLayer(nn.Module):
|
||||
|
||||
global_state_dict: bool = True
|
||||
|
||||
def __init__(self):
|
||||
|
Reference in New Issue
Block a user