File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff line change @@ -222,11 +222,11 @@ def _lora_expand_slice(
222222 )
223223 return
224224
225-
226225def 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 ,
Original file line number Diff line number Diff line change @@ -227,11 +227,11 @@ def _lora_shrink(
227227 )
228228 return
229229
230-
231230def 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 ,
You can’t perform that action at this time.
0 commit comments