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
ef8c547682
commit
fa4e732ea9
Binary file not shown.
@ -1610,8 +1610,8 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
# if rank == 0: logging.info(module)
|
||||
#print(module)
|
||||
if isinstance(module, torch.nn.Linear):
|
||||
if rank == 0: print(module)
|
||||
# lora_modules.append(LoRAHook(module))
|
||||
#if rank == 0: print(module)
|
||||
lora_modules.append(LoRAHook(module))
|
||||
|
||||
adapter_names = []
|
||||
adapter_param = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user