accelerate
Attempt to fix import error when PyTorch is build without `torch.distributed` module
#1108
Merged

Attempt to fix import error when PyTorch is build without `torch.distributed` module #1108

sgugger merged 6 commits into main from torch_no_distributed_module
mfuntowicz
mfuntowicz Attempt to fix importing invalid `torch.distributed.ReduceOp` when to…
7850901f
mfuntowicz Style.
dd0d6947
mfuntowicz mfuntowicz requested a review from muellerzr muellerzr 3 years ago
mfuntowicz mfuntowicz requested a review from sgugger sgugger 3 years ago
HuggingFaceDocBuilderDev
muellerzr
mfuntowicz
muellerzr
mfuntowicz Move `torch.distributed` logic detection to `imports.py` according to…
d85512c9
mfuntowicz
mfuntowicz Style.
195f1318
muellerzr
muellerzr approved these changes on 2023-02-23
muellerzr
muellerzr
mfuntowicz
mfuntowicz Update wording
6b7498f8
sgugger
sgugger commented on 2023-02-24
mfuntowicz Remove raising exceptions in the case of a non-distributed setup, sim…
c20a3a29
sgugger
sgugger approved these changes on 2023-03-08
sgugger sgugger merged 3e0ceac7 into main 3 years ago
sgugger sgugger deleted the torch_no_distributed_module branch 3 years ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone