Use attn tp group in embedding for more models (#17570)
This commit is contained in:
@@ -503,7 +503,7 @@ class LongcatFlashModel(nn.Module):
|
||||
self.embed_tokens = VocabParallelEmbedding(
|
||||
config.vocab_size,
|
||||
config.hidden_size,
|
||||
enable_tp=not is_dp_attention_enabled(),
|
||||
use_attn_tp_group=is_dp_attention_enabled(),
|
||||
)
|
||||
|
||||
self.alt_stream = torch.cuda.Stream()
|
||||
|
||||
Reference in New Issue
Block a user