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
481545b3
Unverified
Commit
481545b3
authored
Oct 14, 2025
by
Ryan Li
Committed by
GitHub
Oct 14, 2025
Browse files
scheduler.py: Update the name of the default scheduler. (#26758)
Signed-off-by:
Ryan Li
<
ryanli@ryanli.org
>
parent
d3cc8427
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
vllm/config/scheduler.py
vllm/config/scheduler.py
+6
-6
vllm/engine/arg_utils.py
vllm/engine/arg_utils.py
+0
-5
No files found.
vllm/config/scheduler.py
View file @
481545b3
...
...
@@ -131,12 +131,12 @@ class SchedulerConfig:
some image tokens can be scheduled (like TTTTIIIII, leaving IIIII),
it will be scheduled as TTTT in one step and IIIIIIIIII in the next."""
# scheduler class or path. "vllm.core.scheduler.Scheduler"
(default)
# or "mod.custom_class".
scheduler_cls
:
str
|
type
[
object
]
=
"vllm.core.scheduler.Scheduler"
"""The scheduler class to use. "vllm.core.scheduler.Scheduler" is
the
default scheduler. Can be a class directly or the path to a class of
form
"mod.custom_class"."""
# scheduler class or path. "vllm.
v1.
core.
sched.
scheduler.Scheduler"
#
(default)
or "mod.custom_class".
scheduler_cls
:
str
|
type
[
object
]
=
"vllm.
v1.
core.
sched.
scheduler.Scheduler"
"""The scheduler class to use. "vllm.
v1.
core.
sched.
scheduler.Scheduler" is
the
default scheduler. Can be a class directly or the path to a class of
form
"mod.custom_class"."""
disable_hybrid_kv_cache_manager
:
bool
=
False
"""If set to True, KV cache manager will allocate the same size of KV cache
...
...
vllm/engine/arg_utils.py
View file @
481545b3
...
...
@@ -1742,11 +1742,6 @@ class EngineArgs:
self
.
enable_prefix_caching
=
incremental_prefill_supported
logger
.
info
(
"(%s) prefix caching by default"
,
action
)
# V1 should use the new scheduler by default.
# Swap it only if this arg is set to the original V0 default
if
self
.
scheduler_cls
==
EngineArgs
.
scheduler_cls
:
self
.
scheduler_cls
=
"vllm.v1.core.sched.scheduler.Scheduler"
# When no user override, set the default values based on the usage
# context.
# Use different default values for different hardware.
...
...
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