mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
This PR moves DTensor basic tests to torch.distributed, including dtensor, device_mesh tests part of https://github.com/pytorch/pytorch/issues/88838 Pull Request resolved: https://github.com/pytorch/pytorch/pull/88178 Approved by: https://github.com/fduwjj
270 B
270 B
Run distributed tensor tests:
from root, run (either CPU or GPU)
pytest test/spmd/tensor/test_tensor.py
pytest test/spmd/tensor/test_ddp.py
run specific test case and print stdout/stderr:
pytest test/spmd/tensor/test_tensor.py -s -k test_tensor_from_local