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
c46a29212f
commit
f5e690d4c5
Binary file not shown.
Binary file not shown.
@ -141,7 +141,7 @@ class LoRAHook():
|
||||
#print(input)
|
||||
#print(module, input, output[0].size())
|
||||
lora_out = self.lora(input)
|
||||
#output += lora_out
|
||||
output += lora_out
|
||||
|
||||
def save_checkpoint(self, i, iter_, save_dir):
|
||||
torch.save(self.lora.state_dict(), f"{save_dir}/lora_{iter_}_{i}.pt")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user