mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
86ad1ce0eb
commit
7c44951a40
Binary file not shown.
@ -170,6 +170,7 @@ class LoRAModule(nn.Module):
|
|||||||
x = self.lora_A[layer_idx](x)
|
x = self.lora_A[layer_idx](x)
|
||||||
x = self.lora_B[layer_idx](x)
|
x = self.lora_B[layer_idx](x)
|
||||||
x = x.transpose(0, 1)
|
x = x.transpose(0, 1)
|
||||||
|
x *= self.scaling
|
||||||
return x
|
return x
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user