Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
2cbd4d29
Unverified
Commit
2cbd4d29
authored
Apr 16, 2025
by
Bryan Lu
Committed by
GitHub
Apr 16, 2025
Browse files
[V1][Spec Dec Bug Fix] Respect Spec Dec Method Specification (#16636)
Signed-off-by:
Bryan Lu
<
yuzhelu@amazon.com
>
parent
3092375e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/config.py
vllm/config.py
+3
-1
No files found.
vllm/config.py
View file @
2cbd4d29
...
@@ -2341,7 +2341,9 @@ class SpeculativeConfig:
...
@@ -2341,7 +2341,9 @@ class SpeculativeConfig:
)
)
# Automatically detect the method
# Automatically detect the method
if
"eagle-"
in
self
.
draft_model_config
.
model
.
lower
():
if
self
.
method
==
'eagle'
:
pass
elif
"eagle-"
in
self
.
draft_model_config
.
model
.
lower
():
self
.
method
=
"eagle"
self
.
method
=
"eagle"
elif
self
.
draft_model_config
.
hf_config
.
model_type
==
"medusa"
:
elif
self
.
draft_model_config
.
hf_config
.
model_type
==
"medusa"
:
self
.
method
=
"medusa"
self
.
method
=
"medusa"
...
...
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