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
4a05bdfa
Unverified
Commit
4a05bdfa
authored
Mar 09, 2025
by
Lianmin Zheng
Committed by
GitHub
Mar 09, 2025
Browse files
Revert "Check eagle server args" (#4242)
parent
eb06dbcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
python/sglang/srt/server_args.py
python/sglang/srt/server_args.py
+2
-6
No files found.
python/sglang/srt/server_args.py
View file @
4a05bdfa
...
@@ -284,13 +284,9 @@ class ServerArgs:
...
@@ -284,13 +284,9 @@ class ServerArgs:
"Overlap scheduler are disabled because of using "
"Overlap scheduler are disabled because of using "
"eagle speculative decoding."
"eagle speculative decoding."
)
)
# The token generated from the verify step is counted
in speculative_num_draft_tokens
.
# The token generated from the verify step is counted.
# If sepculative_num_steps >= speculative_num_draft_tokens, the additional tokens will definitely be discarded.
# If sepculative_num_steps >= speculative_num_draft_tokens, the additional tokens will definitely be discarded.
assert
self
.
speculative_num_steps
<
self
.
speculative_num_draft_tokens
# assert self.speculative_num_steps < self.speculative_num_draft_tokens
assert
(
self
.
speculative_num_draft_tokens
-
1
<=
self
.
speculative_num_steps
*
self
.
speculative_eagle_topk
)
# GGUF
# GGUF
if
(
if
(
...
...
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