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
c9acbf11
Unverified
Commit
c9acbf11
authored
Apr 22, 2025
by
Jee Jee Li
Committed by
GitHub
Apr 21, 2025
Browse files
[Misc] Remove the chunked prefill warning for LoRA (#16925)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
5b794cae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
vllm/config.py
vllm/config.py
+0
-9
No files found.
vllm/config.py
View file @
c9acbf11
...
...
@@ -2686,13 +2686,6 @@ class LoRAConfig:
elif
isinstance
(
self
.
lora_dtype
,
str
):
self
.
lora_dtype
=
getattr
(
torch
,
self
.
lora_dtype
)
def
verify_with_scheduler_config
(
self
,
scheduler_config
:
SchedulerConfig
):
# Reminder: Please update docs/source/features/compatibility_matrix.md
# If the feature combo become valid
if
scheduler_config
.
chunked_prefill_enabled
:
logger
.
warning
(
"LoRA with chunked prefill is still experimental "
"and may be unstable."
)
def
verify_lora_support
(
self
):
if
self
.
long_lora_scaling_factors
is
not
None
and
envs
.
VLLM_USE_V1
:
raise
ValueError
(
...
...
@@ -3820,8 +3813,6 @@ class VllmConfig:
if
self
.
lora_config
:
self
.
lora_config
.
verify_with_cache_config
(
self
.
cache_config
)
self
.
lora_config
.
verify_with_model_config
(
self
.
model_config
)
self
.
lora_config
.
verify_with_scheduler_config
(
self
.
scheduler_config
)
self
.
lora_config
.
verify_lora_support
()
if
self
.
prompt_adapter_config
:
self
.
prompt_adapter_config
.
verify_with_model_config
(
...
...
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