Replace topk_ids with curr_topk_ids in fused_moe.py (#20302)
This commit is contained in:
@@ -528,7 +528,7 @@ def fused_experts_impl(
|
|||||||
intermediate_cache1.view(-1, N),
|
intermediate_cache1.view(-1, N),
|
||||||
intermediate_cache2,
|
intermediate_cache2,
|
||||||
config,
|
config,
|
||||||
topk_ids,
|
curr_topk_ids,
|
||||||
expert_ids,
|
expert_ids,
|
||||||
down_moe_use_tma,
|
down_moe_use_tma,
|
||||||
activation,
|
activation,
|
||||||
@@ -554,7 +554,7 @@ def fused_experts_impl(
|
|||||||
intermediate_cache1.view(-1, N),
|
intermediate_cache1.view(-1, N),
|
||||||
intermediate_cache2,
|
intermediate_cache2,
|
||||||
config,
|
config,
|
||||||
topk_ids,
|
curr_topk_ids,
|
||||||
expert_ids,
|
expert_ids,
|
||||||
down_moe_use_tma,
|
down_moe_use_tma,
|
||||||
activation,
|
activation,
|
||||||
|
|||||||
Reference in New Issue
Block a user