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
65ae8c2c
Unverified
Commit
65ae8c2c
authored
May 20, 2024
by
Antoni Baum
Committed by
GitHub
May 20, 2024
Browse files
[Core] Fix scheduler considering "no LoRA" as "LoRA" (#4897)
parent
c3af4472
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/core/scheduler.py
vllm/core/scheduler.py
+2
-2
No files found.
vllm/core/scheduler.py
View file @
65ae8c2c
...
@@ -744,8 +744,8 @@ class Scheduler:
...
@@ -744,8 +744,8 @@ class Scheduler:
budget
.
add_num_seqs
(
seq_group
.
request_id
,
budget
.
add_num_seqs
(
seq_group
.
request_id
,
seq_group
.
get_max_num_running_seqs
())
seq_group
.
get_max_num_running_seqs
())
curr_loras
=
set
(
curr_loras
=
set
(
seq_group
.
lora_int_id
seq_group
.
lora_int_id
for
seq_group
in
self
.
running
f
or
seq_group
in
self
.
running
)
if
self
.
lora_enabled
else
None
i
f
seq_group
.
lora_int_id
>
0
)
if
self
.
lora_enabled
else
None
remaining_waiting
,
prefills
=
(
self
.
waiting
,
remaining_waiting
,
prefills
=
(
self
.
waiting
,
SchedulerPrefillOutputs
.
create_empty
())
SchedulerPrefillOutputs
.
create_empty
())
...
...
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