Skip to content

Commit 8ff67c5

Browse files
author
Varun Sundar Rabindranath
committed
fix fake functions
1 parent 97f2134 commit 8ff67c5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

vllm/lora/ops/v1/lora_expand.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ def lora_expand_fake(
219219
inputs: torch.Tensor,
220220
lora_b_weights: torch.Tensor,
221221
output_tensor: torch.Tensor,
222+
token_lora_mapping: torch.Tensor,
222223
token_indices_sorted_by_lora_ids: torch.Tensor,
223224
num_tokens_per_lora: torch.Tensor,
224225
lora_token_start_loc: torch.Tensor,

vllm/lora/ops/v1/lora_expand_slice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ def _lora_expand_slice(
222222
)
223223
return
224224

225-
226225
def lora_expand_slice_fake(
227226
inputs: torch.Tensor,
228227
lora_b_weights: torch.Tensor,
229228
output_tensor: torch.Tensor,
229+
token_lora_mapping: torch.Tensor,
230230
token_indices_sorted_by_lora_ids: torch.Tensor,
231231
num_tokens_per_lora: torch.Tensor,
232232
lora_token_start_loc: torch.Tensor,

vllm/lora/ops/v1/lora_shrink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,11 @@ def _lora_shrink(
227227
)
228228
return
229229

230-
231230
def lora_shrink_fake(
232231
inputs: torch.Tensor,
233232
lora_a_weights: torch.Tensor,
234233
output_tensor: torch.Tensor,
234+
token_lora_mapping: torch.Tensor,
235235
token_indices_sorted_by_lora_ids: torch.Tensor,
236236
num_tokens_per_lora: torch.Tensor,
237237
lora_token_start_loc: torch.Tensor,

0 commit comments

Comments
 (0)