Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
19849db5
Unverified
Commit
19849db5
authored
Nov 21, 2023
by
Zhuofan
Committed by
GitHub
Nov 20, 2023
Browse files
[Fix] Fix bugs in scheduler (#1727)
parent
3d4ceb29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/core/scheduler.py
vllm/core/scheduler.py
+2
-1
No files found.
vllm/core/scheduler.py
View file @
19849db5
...
@@ -196,7 +196,8 @@ class Scheduler:
...
@@ -196,7 +196,8 @@ class Scheduler:
scheduler_outputs
=
SchedulerOutputs
(
scheduler_outputs
=
SchedulerOutputs
(
scheduled_seq_groups
=
scheduled
,
scheduled_seq_groups
=
scheduled
,
prompt_run
=
True
,
prompt_run
=
True
,
num_batched_tokens
=
len
(
seq_lens
)
*
max
(
seq_lens
),
num_batched_tokens
=
len
(
seq_lens
)
*
max
(
seq_lens
)
if
seq_lens
else
0
,
blocks_to_swap_in
=
blocks_to_swap_in
,
blocks_to_swap_in
=
blocks_to_swap_in
,
blocks_to_swap_out
=
blocks_to_swap_out
,
blocks_to_swap_out
=
blocks_to_swap_out
,
blocks_to_copy
=
blocks_to_copy
,
blocks_to_copy
=
blocks_to_copy
,
...
...
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