mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-05-04 14:38:10 +00:00
[shardformer] ChatGLM support layernorm sharding
This commit is contained in:
parent
00f6ef159d
commit
f155ae89c4
@ -417,7 +417,7 @@ class SelfAttention(torch.nn.Module):
|
||||
)
|
||||
=======
|
||||
self.dense = nn.Linear(self.projection_size,
|
||||
self.hidden_size,
|
||||
config.hidden_size,
|
||||
bias=config.add_bias_linear,
|
||||
device=device,
|
||||
**_config_to_kwargs(config))
|
||||
|
Loading…
Reference in New Issue
Block a user