mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
Fix setup_dist (#806)
This commit is contained in:
parent
0f26edfde9
commit
8642dbc0bd
@ -22,7 +22,7 @@ from torch import distributed as dist
|
||||
|
||||
|
||||
def setup_dist(
|
||||
rank, world_size, master_addr=None, master_port=None, use_ddp_launch=False
|
||||
rank, world_size, master_port=None, use_ddp_launch=False, master_addr=None
|
||||
):
|
||||
"""
|
||||
rank and world_size are used only if use_ddp_launch is False.
|
||||
|
Loading…
x
Reference in New Issue
Block a user