Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
78700893
Unverified
Commit
78700893
authored
Jun 29, 2025
by
Lianmin Zheng
Committed by
GitHub
Jun 29, 2025
Browse files
[EAGLE] remove a wrong adjustment for page_size > 1 & topk > 1 in server_args.py (#7643)
parent
663c04f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
python/sglang/srt/server_args.py
python/sglang/srt/server_args.py
+0
-6
No files found.
python/sglang/srt/server_args.py
View file @
78700893
...
@@ -486,12 +486,6 @@ class ServerArgs:
...
@@ -486,12 +486,6 @@ class ServerArgs:
self
.
speculative_num_draft_tokens
,
self
.
speculative_num_draft_tokens
,
)
=
auto_choose_speculative_params
(
self
)
)
=
auto_choose_speculative_params
(
self
)
if
self
.
page_size
>
1
and
self
.
speculative_eagle_topk
>
1
:
self
.
speculative_eagle_topk
=
1
logger
.
warning
(
"speculative_eagle_topk is adjusted to 1 when page_size > 1"
)
if
(
if
(
self
.
speculative_eagle_topk
==
1
self
.
speculative_eagle_topk
==
1
and
self
.
speculative_num_draft_tokens
!=
self
.
speculative_num_steps
+
1
and
self
.
speculative_num_draft_tokens
!=
self
.
speculative_num_steps
+
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment