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
5c3819098d
commit
c46a29212f
Binary file not shown.
@ -139,8 +139,8 @@ class LoRAHook():
|
|||||||
)
|
)
|
||||||
def hook_fn(self, module, input, output):
|
def hook_fn(self, module, input, output):
|
||||||
#print(input)
|
#print(input)
|
||||||
print(module, input, output[0].size())
|
#print(module, input, output[0].size())
|
||||||
#lora_out = self.lora(input)
|
lora_out = self.lora(input)
|
||||||
#output += lora_out
|
#output += lora_out
|
||||||
|
|
||||||
def save_checkpoint(self, i, iter_, save_dir):
|
def save_checkpoint(self, i, iter_, save_dir):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user