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
fa4e732ea9
commit
156077c942
Binary file not shown.
@ -138,7 +138,8 @@ 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(input)
|
#print(input)
|
||||||
|
print(module, input, output)
|
||||||
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