xref: /aosp_15_r20/external/pytorch/test/distributed/_tensor/README.md (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1## Run distributed tensor tests:
2
3from root, run (either CPU or GPU)
4
5`pytest test/spmd/tensor/test_tensor.py`
6
7`pytest test/spmd/tensor/test_ddp.py`
8
9run specific test case and print stdout/stderr:
10
11`pytest test/spmd/tensor/test_tensor.py -s -k test_tensor_from_local`
12