[V1] TPU - Fix fused MOE (#15834)
Signed-off-by: Alexander Matveev <amatveev@redhat.com>
This commit is contained in:
@@ -309,7 +309,7 @@ class UnquantizedFusedMoEMethod(FusedMoEMethodBase, CustomOp):
|
|||||||
expert_map=expert_map,
|
expert_map=expert_map,
|
||||||
renormalize=renormalize)
|
renormalize=renormalize)
|
||||||
|
|
||||||
forward_native = forward_cuda
|
forward_native = forward_tpu if current_platform.is_tpu else forward_cuda
|
||||||
|
|
||||||
|
|
||||||
def determine_expert_map(
|
def determine_expert_map(
|
||||||
|
|||||||
Reference in New Issue
Block a user