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
ef90fd32f3
commit
debf2ded03
Binary file not shown.
@ -1615,6 +1615,7 @@ def run_adapter(rank, world_size, args, wb=None):
|
|||||||
if world_size > 1:
|
if world_size > 1:
|
||||||
logging.info("Using DDP for LoRA")
|
logging.info("Using DDP for LoRA")
|
||||||
for lora in lora_modules:
|
for lora in lora_modules:
|
||||||
|
lora.lora = lora.lora.to(device)
|
||||||
lora.lora = DDP(lora.lora, device_ids=[rank], find_unused_parameters=False)
|
lora.lora = DDP(lora.lora, device_ids=[rank], find_unused_parameters=False)
|
||||||
|
|
||||||
adapter_names = []
|
adapter_names = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user