Use attn tp group in embedding for more models (#17570)
This commit is contained in:
@@ -674,7 +674,7 @@ class LLaDA2MoeModel(nn.Module):
|
||||
self.embed_dim,
|
||||
quant_config=quant_config,
|
||||
prefix=add_prefix("word_embeddings", prefix),
|
||||
enable_tp=not is_dp_attention_enabled(),
|
||||
use_attn_tp_group=is_dp_attention_enabled(),
|
||||
)
|
||||
else:
|
||||
self.word_embeddings = PPMissingLayer()
|
||||
|
||||
Reference in New Issue
Block a user