mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-04-20 16:07:04 +08:00
Merge pull request #10 from prashanth058/lora-vision-misc-fixes
lora vision misc fixes
This commit is contained in:
commit
9d41f6e95b
@ -76,11 +76,7 @@ class RowParallelLinearWithLoRA(BaseLinearLayerWithLoRA):
|
||||
if self.base_layer.reduce_results and self.tp_size > 1:
|
||||
output = tensor_model_parallel_all_reduce(output_parallel)
|
||||
else:
|
||||
output_ = output_parallel
|
||||
|
||||
# Bias was already added by rank 0 in apply(), no need to add again
|
||||
output_bias = self.base_layer.bias if self.base_layer.skip_bias_add else None
|
||||
output = output_
|
||||
output = output_parallel
|
||||
|
||||
output_bias = self.base_layer.bias if self.base_layer.skip_bias_add else None
|
||||
if not self.base_layer.return_bias:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user