Skip to content
Draft
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
15 changes: 0 additions & 15 deletions python/sglang/srt/server_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -2000,21 +2000,6 @@ def _handle_speculative_decoding(self):
):
self.speculative_draft_model_revision = "main"

# Avoid using flashinfer_trtllm for speculative MoE runner backend by default
# TODO: Remove this block after verifying no accuracy regression with flashinfer_trtllm speculative backend
from sglang.srt.layers.moe.utils import MoeRunnerBackend

if self.speculative_moe_runner_backend is None:
self.speculative_moe_runner_backend = (
"auto"
if self.moe_runner_backend == "flashinfer_trtllm"
else self.moe_runner_backend
)
else:
assert not MoeRunnerBackend(
self.speculative_moe_runner_backend
).is_flashinfer_trtllm(), "Currently speculative MoE runner backend cannot be flashinfer_trtllm for risk in some draft models."

if self.speculative_algorithm == "NEXTN":
self.speculative_algorithm = "EAGLE"

Expand Down
Loading