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
be51c5919c
commit
1c0748a1e4
Binary file not shown.
@ -697,8 +697,8 @@ def main():
|
|||||||
lora_modules.append(LoRAHook(module))
|
lora_modules.append(LoRAHook(module))
|
||||||
|
|
||||||
for i, lora in enumerate(lora_modules):
|
for i, lora in enumerate(lora_modules):
|
||||||
lora_param = torch.load(f"{params.exp_dir}/lora_{params.iter}_{i}.pt")
|
#lora_param = torch.load(f"{params.exp_dir}/lora_{params.iter}_{i}.pt")
|
||||||
lora.lora.load_state_dict(lora_param)
|
#lora.lora.load_state_dict(lora_param)
|
||||||
lora.lora.to(device)
|
lora.lora.to(device)
|
||||||
logging.info("lora params load done")
|
logging.info("lora params load done")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user