Do not import torch.distributed in model_has_dtensor on a non-distributed build #4250
fix(dtensor): do not import torch.distributed on a non-distributed bu…
c8035fdd
SunMarc
approved these changes
on 2026-09-25
Update src/accelerate/utils/other.py
33999658
SunMarc
merged
05bf97ef
into main 24 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub