Skip to content

Commit

Permalink
Update on "fix the device type for with_comms decorator"
Browse files Browse the repository at this point in the history
found by yifuwang, it looks like we are wrongly using
self.device_type="cuda" for gloo backend, which are triggering some
flakiness. i.e. #125366

cc mrshenli pritamdamania87 zhaojuanmao satgera gqchen aazzolini osalpekar jiayisuse H-Huang kwen2501 awgu penguinwu fegin XilunWu fduwjj wz337 tianyu-l wconstab yf225 chauhang d4l3k

[ghstack-poisoned]
  • Loading branch information
wanchaol committed May 15, 2024
2 parents 0e46a91 + 14233a7 commit d9621b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/distributed/test_device_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
is_nccl_available,
ProcessGroup,
)
from torch.testing._internal.common_distributed._tensor import skip_if_lt_x_gpu
from torch.testing._internal.common_distributed import skip_if_lt_x_gpu
from torch.testing._internal.common_utils import run_tests
from torch.testing._internal.distributed._tensor.common_dtensor import (
DTensorTestBase,
Expand Down

0 comments on commit d9621b6

Please sign in to comment.