[upstream_ut] test/dynamo/test_repros.py test_sdpa_dynamic_shapes failed with assert error tensor not closed
- Dominant language
- Python
- Stars
- 113
- Forks
- 128
- Avg merge
- 5d 9h
- Merged PRs (30d)
- 112
Description
### 🐛 Describe the bug
### Description
==================================== RERUNS ====================================
2026-06-02T09:11:50.0528570Z _______________ ReproTestsDeviceXPU.test_sdpa_dynamic_shapes_xpu _______________
2026-06-02T09:11:50.0529082Z Traceback (most recent call last):
2026-06-02T09:11:50.0529673Z File "/var/lib/jenkins/pytorch/test/dynamo/test_repros.py", line 8352, in test_sdpa_dynamic_shapes
2026-06-02T09:11:50.0530259Z self.assertEqual(out_ref, out)
2026-06-02T09:11:50.0530882Z File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/test_case.py", line 128, in assertEqual
2026-06-02T09:11:50.0531558Z return super().assertEqual(x, y, *args, **kwargs)
2026-06-02T09:11:50.0532275Z File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 4569, in assertEqual
2026-06-02T09:11:50.0533050Z raise error_metas.pop()[0].to_error( # type: ignore[index]
2026-06-02T09:11:50.0533525Z AssertionError: Tensor-likes are not close!
### ToDo
https://github.com/pytorch/pytorch/pull/174370
### Versions
main 2.13.0a0
Contributor guide
Assessment
This issue has not been assessed yet.