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
7 changes: 7 additions & 0 deletions python/sglang/srt/server_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -5740,6 +5740,13 @@ def _handle_model_specific_adjustments(self):
"intel_xpu",
"intel_amx",
)
# Seam: a plugin-registered backend declares its own sliding
# window and KV-sharing support.
from sglang.srt.layers.attention.attention_registry import (
PLUGIN_ATTENTION_BACKENDS,
)

accepted_backends += tuple(sorted(PLUGIN_ATTENTION_BACKENDS))
assert (
prefill_backend in accepted_backends
and decode_backend in accepted_backends
Expand Down