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 authored and dacorvo committed Jan 27, 2025
1 parent 0eb30d3 commit b83d474
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 b83d474

Please sign in to comment.