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
0fa673af
Unverified
Commit
0fa673af
authored
Sep 26, 2025
by
Jee Jee Li
Committed by
GitHub
Sep 25, 2025
Browse files
[V0 deprecation] Clean up LoRA (#25686)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
3468f17e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
vllm/lora/punica_wrapper/punica_gpu.py
vllm/lora/punica_wrapper/punica_gpu.py
+1
-8
No files found.
vllm/lora/punica_wrapper/punica_gpu.py
View file @
0fa673af
...
@@ -11,7 +11,6 @@ from typing import Optional, Union, final
...
@@ -11,7 +11,6 @@ from typing import Optional, Union, final
import
torch
import
torch
import
vllm.envs
as
envs
from
vllm.lora.layers
import
LoRAMapping
from
vllm.lora.layers
import
LoRAMapping
from
vllm.triton_utils
import
HAS_TRITON
from
vllm.triton_utils
import
HAS_TRITON
...
@@ -41,14 +40,8 @@ class PunicaWrapperGPU(PunicaWrapperBase):
...
@@ -41,14 +40,8 @@ class PunicaWrapperGPU(PunicaWrapperBase):
max_num_batched_tokens
,
max_num_batched_tokens
,
device
=
device
)
device
=
device
)
# When cudagraph capture size is greater than max_num_seqs (max_batches,
# here), V0 captures the graph as if max_num_seqs is set to
# the capture size.
# V1 doesn't have this problem and always respects max_num_seqs.
max_num_prompts
=
(
max_batches
if
envs
.
VLLM_USE_V1
else
max_num_batched_tokens
)
self
.
prompt_mapping_meta
=
LoRAKernelMeta
.
make
(
self
.
max_loras
,
self
.
prompt_mapping_meta
=
LoRAKernelMeta
.
make
(
self
.
max_loras
,
max_
num_prompt
s
,
max_
batche
s
,
device
=
device
)
device
=
device
)
def
update_metadata
(
self
,
mapping
:
LoRAMapping
,
def
update_metadata
(
self
,
mapping
:
LoRAMapping
,
...
...
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