mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
find_unused_parameters
This commit is contained in:
parent
5d35b3c70b
commit
0bf8edca37
@ -84,9 +84,6 @@ def main(**kwargs):
|
||||
dist.init_process_group(
|
||||
backend=kwargs.get("backend", "nccl"),
|
||||
init_method="env://",
|
||||
find_unused_parameters=kwargs.get("train_conf", {}).get(
|
||||
"find_unused_parameters", False
|
||||
),
|
||||
)
|
||||
torch.cuda.set_device(local_rank)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user