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
45f92c00
Unverified
Commit
45f92c00
authored
Jun 10, 2024
by
Bla_ckB
Committed by
GitHub
Jun 09, 2024
Browse files
[Bugfix] Fix KeyError: 1 When Using LoRA adapters (#5164)
parent
5467ac31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/core/scheduler.py
vllm/core/scheduler.py
+3
-1
No files found.
vllm/core/scheduler.py
View file @
45f92c00
...
...
@@ -423,7 +423,9 @@ class Scheduler:
num_running_seqs
=
seq_group
.
get_max_num_running_seqs
()
budget
.
subtract_num_seqs
(
seq_group
.
request_id
,
num_running_seqs
)
if
curr_loras
is
not
None
and
seq_group
.
lora_int_id
>
0
:
if
(
curr_loras
is
not
None
and
seq_group
.
lora_int_id
>
0
and
seq_group
.
lora_int_id
in
curr_loras
):
curr_loras
.
remove
(
seq_group
.
lora_int_id
)
if
running_queue
:
...
...
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