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
aaf77797f3
commit
57fa0f05d8
Binary file not shown.
@ -138,7 +138,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.size())
|
print(module, input.size(), output.size())
|
||||||
lora_out = self.lora(input)
|
lora_out = self.lora(input)
|
||||||
output += lora_out
|
output += lora_out
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user