Skip to content
Snippets Groups Projects
Commit e74c260f authored by Kai Chen's avatar Kai Chen
Browse files

fix typo

parent 9569fb5b
No related branches found
No related tags found
No related merge requests found
...@@ -19,9 +19,9 @@ def init_dist(launcher, backend='nccl', **kwargs): ...@@ -19,9 +19,9 @@ def init_dist(launcher, backend='nccl', **kwargs):
if launcher == 'pytorch': if launcher == 'pytorch':
_init_dist_pytorch(backend, **kwargs) _init_dist_pytorch(backend, **kwargs)
elif launcher == 'mpi': elif launcher == 'mpi':
_init_dist_pytorch(backend, **kwargs) _init_dist_mpi(backend, **kwargs)
elif launcher == 'slurm': elif launcher == 'slurm':
_init_dist_pytorch(backend, **kwargs) _init_dist_slurm(backend, **kwargs)
else: else:
raise ValueError('Invalid launcher type: {}'.format(launcher)) raise ValueError('Invalid launcher type: {}'.format(launcher))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment