tree: cb681db231da831686d33473c2e62150c5aa9557 [path history] [tgz]
  1. __init__.py
  2. README.md
  3. test_api.py
  4. test_common_rules.py
  5. test_device_mesh.py
  6. test_dtensor.py
  7. test_dtensor_ops.py
  8. test_math_ops.py
  9. test_matrix_ops.py
  10. test_pointwise_ops.py
  11. test_redistribute.py
  12. test_tensor_ops.py
  13. test_tp_sharding_ops.py
  14. test_view_ops.py
test/distributed/_tensor/README.md

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