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
14060c13ca
commit
00ca422eb8
Binary file not shown.
@ -1603,6 +1603,11 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
for n, p in lora.named_parameters():
|
||||
adapter_names.append(n)
|
||||
adapter_param.append(p)
|
||||
|
||||
for n, p in model.named_parameters():
|
||||
p..requires_grad = False
|
||||
|
||||
print(adapter_names)
|
||||
exit()
|
||||
'''
|
||||
for n, p in model.named_parameters():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user