Skip to content

Commit

Permalink
Add lora bias when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbenayoun committed Jan 16, 2025
1 parent c5c5c6a commit 4f0b829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions optimum/neuron/distributed/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,7 @@ def _peft_tuner_linear_to_parallel_linear(
config.init_lora_weights,
config.use_rslora,
config.use_dora,
config.lora_bias,
)
if axis == "row":
layer_to_parallelize = parent.lora_A[adapter_name]
Expand Down

0 comments on commit 4f0b829

Please sign in to comment.