Skip to content

Commit

Permalink
Remove redundant code in ColumnParallelLinear (vllm-project#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
WoosukKwon authored Jun 11, 2023
1 parent 5020e1e commit da5ddcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def forward(self, input_):
"""
bias = self.bias if not self.skip_bias_add else None

input_parallel = copy_to_tensor_model_parallel_region(input_)
input_parallel = input_
# Matrix multiply.
output_parallel = F.linear(input_parallel, self.weight, bias)
if self.gather_output:
Expand Down

0 comments on commit da5ddcd

Please sign in to comment.