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
155fe0d2
Commit
155fe0d2
authored
Nov 20, 2025
by
zhuwenwen
Committed by
jujl1
Nov 21, 2025
Browse files
use schedule_split_pd (dpsk mtp + fullgraph)
parent
22a14b84
Changes
1
Hide 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 @
155fe0d2
...
@@ -152,6 +152,10 @@ class Scheduler(SchedulerInterface):
...
@@ -152,6 +152,10 @@ class Scheduler(SchedulerInterface):
if
speculative_config
.
use_eagle
():
if
speculative_config
.
use_eagle
():
self
.
use_eagle
=
True
self
.
use_eagle
=
True
self
.
num_lookahead_tokens
=
self
.
num_spec_tokens
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.
# Create the KV cache manager.
self
.
kv_cache_manager
=
KVCacheManager
(
self
.
kv_cache_manager
=
KVCacheManager
(
...
@@ -1024,7 +1028,7 @@ class Scheduler(SchedulerInterface):
...
@@ -1024,7 +1028,7 @@ class Scheduler(SchedulerInterface):
return
scheduler_output
return
scheduler_output
def
schedule
(
self
)
->
SchedulerOutput
:
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
()
return
self
.
schedule_split_pd
()
else
:
else
:
return
self
.
schedule_default
()
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