Skip to content

Commit

Permalink
Added torch_ucc support (facebookresearch#173)
Browse files Browse the repository at this point in the history
Adding Torch-UCC: https://github.com/openucx/torch-ucc import
  • Loading branch information
artemry-nv authored May 2, 2021
1 parent 833ca3c commit e9b659e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extend_distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
# print(e)
torch_ccl = False

try:
import torch_ucc
except ImportError as e:
torch_ucc = False


my_rank = -1
my_size = -1
my_local_rank = -1
Expand Down

0 comments on commit e9b659e

Please sign in to comment.