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
fd5c0dca77
commit
ecd92f72a8
Binary file not shown.
@ -139,7 +139,7 @@ class LoRAHook():
|
|||||||
lora_alpha=1.0,
|
lora_alpha=1.0,
|
||||||
)
|
)
|
||||||
def hook_fn(self, module, input, output):
|
def hook_fn(self, module, input, output):
|
||||||
print(module, input, output))
|
print(module, input, output)
|
||||||
lora_out = self.lora(input)
|
lora_out = self.lora(input)
|
||||||
output = input + lora_out
|
output = input + lora_out
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user