tree: faa749604e9ca37cdd964e507c9e75757b32b36d [path history] [tgz]
  1. parallel/
  2. __init__.py
  3. README.md
  4. test_api.py
  5. test_common_rules.py
  6. test_device_mesh.py
  7. test_dtensor.py
  8. test_dtensor_ops.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