vllm.lora.layers.row_parallel_linear
¶
Classes:
-
RowParallelLinearWithLoRA– -
RowParallelLinearWithShardedLoRA–Differs from RowParallelLinearWithLoRA by slicing the
RowParallelLinearWithLoRA
¶
RowParallelLinearWithShardedLoRA
¶
Bases: RowParallelLinearWithLoRA
Differs from RowParallelLinearWithLoRA by slicing the LoRA B's also.
Based on S-LoRA, slicing happens along the output dim. This yields a combined partial sum from the row parallel base layer and column partitioned output from the LoRA.