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
173daac1
Unverified
Commit
173daac1
authored
May 01, 2025
by
Chen Xia
Committed by
GitHub
May 01, 2025
Browse files
[Bug]change the position of cuda_graph_sizes in dataclasses (#17548)
Signed-off-by:
CXIAAAAA
<
cxia0209@gmail.com
>
parent
04f2cfc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
vllm/config.py
vllm/config.py
+7
-7
No files found.
vllm/config.py
View file @
173daac1
...
...
@@ -1865,13 +1865,6 @@ class SchedulerConfig:
This config has no static default. If left unspecified by the user, it will
be set in `EngineArgs.create_engine_config` based on the usage context."""
cuda_graph_sizes
:
list
[
int
]
=
field
(
default_factory
=
lambda
:
[
512
])
"""Cuda graph capture sizes, default is 512.
1. if one value is provided, then the capture list would follow the pattern:
[1, 2, 4] + [i for i in range(8, cuda_graph_sizes + 1, 8)]
2. more than one value (e.g. 1 2 128) is provided,
then the capture list will follow the provided list."""
max_num_seqs
:
int
=
None
# type: ignore
"""Maximum number of sequences to be processed in a single iteration.
...
...
@@ -1906,6 +1899,13 @@ class SchedulerConfig:
NOTE: This will be replaced by speculative config in the future; it is
present to enable correctness tests until then."""
cuda_graph_sizes
:
list
[
int
]
=
field
(
default_factory
=
lambda
:
[
512
])
"""Cuda graph capture sizes, default is 512.
1. if one value is provided, then the capture list would follow the pattern:
[1, 2, 4] + [i for i in range(8, cuda_graph_sizes + 1, 8)]
2. more than one value (e.g. 1 2 128) is provided,
then the capture list will follow the provided list."""
delay_factor
:
float
=
0.0
"""Apply a delay (of delay factor multiplied by previous
prompt latency) before scheduling next prompt."""
...
...
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