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