@@ -95,31 +95,3 @@ run_test "$_TEST_DIR/quantized_ops/test_dot_general.py"
95
95
run_xla_ir_hlo_debug run_test " $_TEST_DIR /test_user_computation_debug_cache.py"
96
96
run_test " $_TEST_DIR /test_data_type.py"
97
97
run_test " $_TEST_DIR /test_compilation_cache_utils.py"
98
-
99
- # run examples, each test should takes <2 minutes
100
- run_test " $_TEST_DIR /../examples/data_parallel/train_resnet_spmd_data_parallel.py"
101
- run_test " $_TEST_DIR /../examples/fsdp/train_decoder_only_fsdp_v2.py"
102
- run_test " $_TEST_DIR /../examples/train_resnet_amp.py"
103
- run_test " $_TEST_DIR /../examples/train_decoder_only_base.py"
104
- run_test " $_TEST_DIR /../examples/train_decoder_only_base.py" scan.decoder_with_scan.DecoderWithScan \
105
- --num-steps 30 # TODO(https://github.com/pytorch/xla/issues/8632): Reduce scan tracing overhead
106
-
107
- # HACK: don't confuse local `torch_xla` folder with installed package
108
- # Python 3.11 has the permanent fix: https://stackoverflow.com/a/73636559
109
- # Egaer tests will take more HBM, only run them on TPU v4 CI
110
- TPU_VERSION=$( python -c " import sys; sys.path.remove(''); import torch_xla; print(torch_xla._internal.tpu.version())" )
111
- if [[ -n " $TPU_VERSION " && " $TPU_VERSION " == " 4" ]]; then
112
- run_test " $_TEST_DIR /dynamo/test_traceable_collectives.py"
113
- run_test " $_TEST_DIR /../examples/data_parallel/train_resnet_xla_ddp.py"
114
- run_test " $_TEST_DIR /../examples/fsdp/train_resnet_fsdp_auto_wrap.py"
115
- run_test " $_TEST_DIR /../examples/eager/train_decoder_only_eager.py"
116
- run_test " $_TEST_DIR /../examples/eager/train_decoder_only_eager_spmd_data_parallel.py"
117
- run_test " $_TEST_DIR /../examples/eager/train_decoder_only_eager_with_compile.py"
118
- run_test " $_TEST_DIR /../examples/eager/train_decoder_only_eager_multi_process.py"
119
- XLA_EXPERIMENTAL=nonzero:masked_select:nms run_test " $_TEST_DIR /ds/test_dynamic_shapes.py" -v
120
- fi
121
-
122
- if [[ -n " $TPU_VERSION " && " $TPU_VERSION " != " 6" ]]; then
123
- # Test `tpu-info` CLI compatibility
124
- run_test " $_TPU_DIR /tpu_info/test_cli.py"
125
- fi
0 commit comments