We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea749ed commit a5cbc3aCopy full SHA for a5cbc3a
python/sglang/srt/server_args.py
@@ -486,12 +486,6 @@ def __post_init__(self):
486
self.speculative_num_draft_tokens,
487
) = auto_choose_speculative_params(self)
488
489
- if self.page_size > 1 and self.speculative_eagle_topk > 1:
490
- self.speculative_eagle_topk = 1
491
- logger.warning(
492
- "speculative_eagle_topk is adjusted to 1 when page_size > 1"
493
- )
494
-
495
if (
496
self.speculative_eagle_topk == 1
497
and self.speculative_num_draft_tokens != self.speculative_num_steps + 1
0 commit comments