mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "[DeviceMesh] Rename _device_mesh.py to device_mesh.py to prepare for beta (#115099)"
This reverts commit eaa64339d640ed1d36520ada379213f8361be5ff.
This commit is contained in:
@ -10046,7 +10046,7 @@ class DistributedTest:
|
||||
"""
|
||||
world_size = int(os.environ["WORLD_SIZE"])
|
||||
|
||||
from torch.distributed.device_mesh import init_device_mesh
|
||||
from torch.distributed._device_mesh import init_device_mesh
|
||||
device_mesh = init_device_mesh("cuda", (world_size,))
|
||||
|
||||
pg = _get_default_group()
|
||||
|
Reference in New Issue
Block a user