Skip to content

Commit

Permalink
fix fake functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Varun Sundar Rabindranath committed Dec 30, 2024
1 parent 97f2134 commit 8ff67c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions vllm/lora/ops/v1/lora_expand.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ def lora_expand_fake(
inputs: torch.Tensor,
lora_b_weights: torch.Tensor,
output_tensor: torch.Tensor,
token_lora_mapping: torch.Tensor,
token_indices_sorted_by_lora_ids: torch.Tensor,
num_tokens_per_lora: torch.Tensor,
lora_token_start_loc: torch.Tensor,
Expand Down
2 changes: 1 addition & 1 deletion vllm/lora/ops/v1/lora_expand_slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ def _lora_expand_slice(
)
return


def lora_expand_slice_fake(
inputs: torch.Tensor,
lora_b_weights: torch.Tensor,
output_tensor: torch.Tensor,
token_lora_mapping: torch.Tensor,
token_indices_sorted_by_lora_ids: torch.Tensor,
num_tokens_per_lora: torch.Tensor,
lora_token_start_loc: torch.Tensor,
Expand Down
2 changes: 1 addition & 1 deletion vllm/lora/ops/v1/lora_shrink.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,11 @@ def _lora_shrink(
)
return


def lora_shrink_fake(
inputs: torch.Tensor,
lora_a_weights: torch.Tensor,
output_tensor: torch.Tensor,
token_lora_mapping: torch.Tensor,
token_indices_sorted_by_lora_ids: torch.Tensor,
num_tokens_per_lora: torch.Tensor,
lora_token_start_loc: torch.Tensor,
Expand Down

0 comments on commit 8ff67c5

Please sign in to comment.