Skip to content

Commit b043368

Browse files
committed
Merge branch 'lora_modular' of https://gitee.com/lxdcumt/FlagScale_dev into lora_modular
2 parents faac834 + 7c3149c commit b043368

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

flagscale/train/peft/lora.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class to provide a specific implementation of the forward method.
3030
def forward(
3131
self, x: torch.Tensor, *args, **kwargs
3232
) -> tuple[torch.Tensor, Optional[torch.Tensor]]:
33-
# pylint: disable=C0115,C0116
3433
linear_output, bias, layernorm_output = self.base_linear_forward(x, *args, **kwargs)
3534
adapter_output = self.adapter(layernorm_output.contiguous())
3635
adapter_output = adapter_output.reshape(linear_output.shape)

0 commit comments

Comments
 (0)