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
dbbc0b2e
Commit
dbbc0b2e
authored
Nov 20, 2025
by
zhuwenwen
Browse files
use schedule_split_pd (dpsk mtp + fullgraph)
parent
22a14b84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vllm/v1/core/sched/scheduler.py
vllm/v1/core/sched/scheduler.py
+5
-1
No files found.
vllm/v1/core/sched/scheduler.py
View file @
dbbc0b2e
...
...
@@ -153,6 +153,10 @@ class Scheduler(SchedulerInterface):
self
.
use_eagle
=
True
self
.
num_lookahead_tokens
=
self
.
num_spec_tokens
self
.
compilation_config
=
vllm_config
.
compilation_config
self
.
full_cuda_graph
=
self
.
compilation_config
.
full_cuda_graph
self
.
use_mla
=
vllm_config
.
model_config
.
use_mla
# Create the KV cache manager.
self
.
kv_cache_manager
=
KVCacheManager
(
kv_cache_config
=
kv_cache_config
,
...
...
@@ -1024,7 +1028,7 @@ class Scheduler(SchedulerInterface):
return
scheduler_output
def
schedule
(
self
)
->
SchedulerOutput
:
if
envs
.
VLLM_USE_PD_SPLIT
:
if
envs
.
VLLM_USE_PD_SPLIT
or
(
self
.
full_cuda_graph
and
self
.
use_mla
and
self
.
num_spec_tokens
>
0
)
:
return
self
.
schedule_split_pd
()
else
:
return
self
.
schedule_default
()
...
...
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