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
200bdd4c8a
commit
fe47be0de8
Binary file not shown.
@ -1521,8 +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
|
||||
#else:
|
||||
# p.requires_grad = False
|
||||
|
||||
optimizer_adapter = ScaledAdam(
|
||||
adapter_param,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user