[CI] disable td for xpu ci test by default (#127611)

Due to the xpu ci test has been enabled td by default, a lot of test cases (75%) have been skipped in CI tests. It caused some ci failures escaped from the ci tests, for example issue #127539. This PR depends on PR #127595 landed.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/127611
Approved by: https://github.com/etaf, https://github.com/atalman
This commit is contained in:
chuanqiw 2024-06-04 17:15:03 +00:00 committed by PyTorch MergeBot
parent 36e9b71613
commit 627d2cd87d

View file

@ -1200,6 +1200,7 @@ def parse_args():
and not IS_SLOW
and not TEST_WITH_ROCM
and not IS_MACOS
and "xpu" not in BUILD_ENVIRONMENT
and "onnx" not in BUILD_ENVIRONMENT
and "debug" not in BUILD_ENVIRONMENT
and "parallelnative" not in BUILD_ENVIRONMENT,