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
bca72eb0c9
commit
26bbff8eff
Binary file not shown.
@ -1514,6 +1514,14 @@ def run_adapter(rank, world_size, args, wb=None):
|
||||
logging.info("Using DDP")
|
||||
model = DDP(model, device_ids=[rank], find_unused_parameters=True)
|
||||
|
||||
adapter_names = []
|
||||
adapter_param = []
|
||||
for n, p in model.named_parameters():
|
||||
if 'adapters' in n:
|
||||
logging.info(n)
|
||||
|
||||
exit()
|
||||
|
||||
if params.multi_optim:
|
||||
logging.info("Using seperate optimizers over encoder, decoder ...")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user