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
de671ecf7d
commit
b8cacbb4ff
Binary file not shown.
Binary file not shown.
@ -1596,8 +1596,6 @@ def run_adapter(rank, world_size, args, wb=None):
|
|||||||
if isinstance(module, fairseq.modules.multihead_attention.MultiheadAttention):
|
if isinstance(module, fairseq.modules.multihead_attention.MultiheadAttention):
|
||||||
for m in module.modules():
|
for m in module.modules():
|
||||||
lora_module.append(LoRAHook(m))
|
lora_module.append(LoRAHook(m))
|
||||||
exit()
|
|
||||||
|
|
||||||
adapter_names = []
|
adapter_names = []
|
||||||
adapter_param = []
|
adapter_param = []
|
||||||
for n, p in model.named_parameters():
|
for n, p in model.named_parameters():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user