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
746d9b40
"vscode:/vscode.git/clone" did not exist on "b3f7aaccd0338e86dc58a6c7ea867a43be9a591b"
Commit
746d9b40
authored
Apr 09, 2025
by
zhuwenwen
Browse files
update arg_utils.py
parent
fcfc474d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
vllm/engine/arg_utils.py
vllm/engine/arg_utils.py
+8
-1
No files found.
vllm/engine/arg_utils.py
View file @
746d9b40
...
...
@@ -184,6 +184,7 @@ class EngineArgs:
logits_processor_pattern
:
Optional
[
str
]
=
None
speculative_config
:
Optional
[
Dict
[
str
,
Any
]]
=
None
num_speculative_heads
:
Optional
[
int
]
=
None
qlora_adapter_name_or_path
:
Optional
[
str
]
=
None
show_hidden_metrics_for_version
:
Optional
[
str
]
=
None
...
...
@@ -793,6 +794,12 @@ class EngineArgs:
default
=
None
,
help
=
'The configurations for speculative decoding.'
' Should be a JSON string.'
)
parser
.
add_argument
(
'--num-speculative-heads'
,
type
=
int
,
default
=
EngineArgs
.
num_speculative_heads
,
help
=
'The number of speculative heads to sample from '
'the draft model in speculative decoding.'
)
parser
.
add_argument
(
'--model-loader-extra-config'
,
type
=
nullable_str
,
default
=
EngineArgs
.
model_loader_extra_config
,
...
...
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