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
177bce2db4
commit
4bdb67316d
Binary file not shown.
@ -1595,7 +1595,7 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
for modules in model.modules():
|
||||
if isinstance(module, fairseq.modules.multihead_attention.MultiheadAttention):
|
||||
for module in modules.modules():
|
||||
lora_modules.append(LoRAHook(m))
|
||||
lora_modules.append(LoRAHook(module))
|
||||
|
||||
adapter_names = []
|
||||
adapter_param = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user