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
e691918e
Unverified
Commit
e691918e
authored
Jun 15, 2024
by
SangBin Cho
Committed by
GitHub
Jun 15, 2024
Browse files
[misc] Do not allow to use lora with chunked prefill. (#5538)
Co-authored-by:
Cyrus Leung
<
tlleungac@connect.ust.hk
>
parent
81fbb365
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/config.py
vllm/config.py
+2
-0
No files found.
vllm/config.py
View file @
e691918e
...
@@ -1092,6 +1092,8 @@ class LoRAConfig:
...
@@ -1092,6 +1092,8 @@ class LoRAConfig:
"Due to limitations of the custom LoRA CUDA kernel, "
"Due to limitations of the custom LoRA CUDA kernel, "
"max_num_batched_tokens must be <= 65528 when "
"max_num_batched_tokens must be <= 65528 when "
"LoRA is enabled."
)
"LoRA is enabled."
)
if
scheduler_config
.
chunked_prefill_enabled
:
raise
ValueError
(
"LoRA is not supported with chunked prefill yet."
)
@
dataclass
@
dataclass
...
...
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