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
6aa196c8
Unverified
Commit
6aa196c8
authored
Mar 25, 2025
by
Nick Hill
Committed by
GitHub
Mar 25, 2025
Browse files
[V1][Minor] Use `SchedulerInterface` type for engine scheduler field (#15499)
Signed-off-by:
Nick Hill
<
nhill@redhat.com
>
parent
a0dd7dcd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/v1/engine/core.py
vllm/v1/engine/core.py
+2
-1
No files found.
vllm/v1/engine/core.py
View file @
6aa196c8
...
...
@@ -23,6 +23,7 @@ from vllm.utils import (get_exception_traceback, resolve_obj_by_qualname,
zmq_socket_ctx
)
from
vllm.v1.core.kv_cache_utils
import
(
get_kv_cache_config
,
unify_kv_cache_configs
)
from
vllm.v1.core.sched.interface
import
SchedulerInterface
from
vllm.v1.core.sched.output
import
SchedulerOutput
from
vllm.v1.core.sched.scheduler
import
Scheduler
as
V1Scheduler
from
vllm.v1.engine
import
(
EngineCoreOutputs
,
EngineCoreRequest
,
...
...
@@ -84,7 +85,7 @@ class EngineCore:
"compatibility may not be maintained."
,
vllm_config
.
scheduler_config
.
scheduler_cls
)
self
.
scheduler
=
Scheduler
(
self
.
scheduler
:
SchedulerInterface
=
Scheduler
(
scheduler_config
=
vllm_config
.
scheduler_config
,
model_config
=
vllm_config
.
model_config
,
cache_config
=
vllm_config
.
cache_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