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
e10640375b
commit
8400cbb8e8
Binary file not shown.
@ -1521,6 +1521,8 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
if 'adapters' in n:
|
||||
adapter_names.append(n)
|
||||
adapter_param.append(p)
|
||||
else:
|
||||
p.requires_grad = False
|
||||
|
||||
optimizer_adapter = ScaledAdam(
|
||||
adapter_param,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user