mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 08:37:06 +08:00
moe preprocess op support 160 experts and fused_moe triton kernel name add K (#3121)
This commit is contained in:
@@ -134,7 +134,7 @@ class KernelInterface:
|
||||
*args: positional arguments
|
||||
**kwargs: keyword arguments
|
||||
"""
|
||||
op_name = "haha" + str(kwargs["N"])
|
||||
op_name = f'haha_N{str(kwargs["N"])}_K{str(kwargs["K"])}'
|
||||
if op_name in self.func_map.keys():
|
||||
return self.func_map[op_name](*args)
|
||||
|
||||
|
Reference in New Issue
Block a user