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
55d4ee5f1a
commit
e6a136b9a1
Binary file not shown.
@ -95,9 +95,14 @@ class LoRAHook():
|
||||
#print(input[0].size(), output.size())
|
||||
#print('-'*20)
|
||||
|
||||
print(output)
|
||||
|
||||
lora_out = self.lora(input[0])
|
||||
output += lora_out
|
||||
|
||||
print(output)
|
||||
print('*'*20)
|
||||
|
||||
def save_checkpoint(self, i, iter_, save_dir):
|
||||
if isinstance(self.lora, DDP):
|
||||
lora = self.lora.module
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user