tree: 147329b58ba7223e2aada5fd0de11cc6b25cc62e [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_init.py
  9. test_math_ops.py
  10. test_matrix_ops.py
  11. test_pointwise_ops.py
  12. test_redistribute.py
  13. test_tensor_ops.py
  14. test_tp_sharding_ops.py
  15. 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