Skip to content

Commit

Permalink
Distributed training entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
kaseris committed Feb 9, 2024
1 parent 31761d2 commit b07be21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/train_distributed.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from torch.distributed import init_process_group, destroy_process_group

init_process_group(backend='nccl')
destroy_process_group()

0 comments on commit b07be21

Please sign in to comment.