add 2d tests to ci (#96711)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/96711
Approved by: https://github.com/huydhn, https://github.com/fduwjj
This commit is contained in:
Wanchao Liang
2023-03-15 01:38:23 +00:00
committed by PyTorch MergeBot
parent 5612aa6acd
commit aa09f8891c

View File

@ -39,6 +39,11 @@ time python test/run_test.py --verbose -i distributed/_shard/sharded_tensor/ops/
time python test/run_test.py --verbose -i distributed/_shard/sharded_tensor/ops/test_matrix_ops
time python test/run_test.py --verbose -i distributed/_shard/sharded_tensor/ops/test_softmax
time python test/run_test.py --verbose -i distributed/_shard/sharded_optim/test_sharded_optim
# DTensor/TP tests
time python test/run_test.py --verbose -i distributed/tensor/parallel/test_2d_parallel
time python test/run_test.py --verbose -i distributed/tensor/parallel/test_tp_examples
# Other tests
time python test/run_test.py --verbose -i test_cuda_primary_ctx
time python test/run_test.py --verbose -i test_optim -- -k optimizers_with_varying_tensors