Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions python/sglang/srt/layers/moe/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class MoeA2ABackend(Enum):
MORI = "mori"
ASCEND_FUSEEP = "ascend_fuseep"
FLASHINFER = "flashinfer"
CUSTOMIZED = "customized"

@classmethod
def _missing_(cls, value):
Expand Down Expand Up @@ -57,6 +58,9 @@ def is_ascend_fuseep(self):
def is_mori(self):
return self == MoeA2ABackend.MORI

def is_customized(self):
return self == MoeA2ABackend.CUSTOMIZED


class MoeRunnerBackend(Enum):

Expand Down
Loading