mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-08 20:40:34 +00:00
[moe] refactor mesh assignment
This commit is contained in:
@@ -47,7 +47,6 @@ def check_deepseek_moe_layer():
|
||||
model,
|
||||
ep_group=plugin.ep_group,
|
||||
moe_dp_group=plugin.moe_dp_group,
|
||||
moe_tp_group=plugin.moe_tp_group,
|
||||
tp_group=plugin.tp_group,
|
||||
)
|
||||
ep_output = model(x)
|
||||
|
@@ -42,7 +42,6 @@ def check_mixtral_moe_layer():
|
||||
ep_group=plugin.ep_group,
|
||||
tp_group=plugin.tp_group,
|
||||
moe_dp_group=plugin.moe_dp_group,
|
||||
moe_tp_group=plugin.moe_tp_group,
|
||||
)
|
||||
ep_output, ep_logits = model(x)
|
||||
assert_close(orig_logits, ep_logits)
|
||||
|
Reference in New Issue
Block a user