xla icon indicating copy to clipboard operation
xla copied to clipboard

python test_torch.py -v TestTensorDeviceOpsXLA doesn't run any tests

Open bhavya01 opened this issue 5 months ago • 0 comments

🐛 Bug

python test_torch.py -v TestTensorDeviceOpsXLA is part of the CPU CI and it doesn't run any tests. This given a non zero exit code causing the CI test suite to fail.

To Reproduce

Steps to reproduce the behavior:

  1. export TORCH_TEST_DEVICES= <path_to_pytorch>/pytorch/xla/test/pytorch_test_base.py
  2. cd <path_to_pytorch>/pytorch
  3. python test_torch.py -v TestTensorDeviceOpsXLA

Expected behavior

Exits with code 0

Environment

  • Reproducible on XLA backend [CPU/TPU/CUDA]: CPU
  • torch_xla version: nightly 07/08/2025

bhavya01 avatar Jul 09 '25 17:07 bhavya01