Skip to content

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

Open
@bhavya01

Description

@bhavya01

🐛 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    CICI related changebugSomething isn't workingtestingTesting and coverage related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions