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
117daa59cb
commit
fe92a411b7
Binary file not shown.
@ -145,6 +145,7 @@ class LoRAHook():
|
|||||||
print(output)
|
print(output)
|
||||||
lora_out = self.lora(input[0])
|
lora_out = self.lora(input[0])
|
||||||
output += lora_out
|
output += lora_out
|
||||||
|
print(output)
|
||||||
|
|
||||||
def save_checkpoint(self, i, iter_, save_dir):
|
def save_checkpoint(self, i, iter_, save_dir):
|
||||||
if isinstance(self.lora, DDP):
|
if isinstance(self.lora, DDP):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user