Skip test responsible for causing flakiness (#145109)

Investigation is a separate issue. For now I want to get the CI back up
and running on the other tests. The problem seems to be that
IncludeDispatchKeyGuard doesn't actually reset the state, which seems
very, very wrong.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145109
Approved by: https://github.com/williamwen42
This commit is contained in:
rzou
2025-01-17 13:52:11 -08:00
committed by PyTorch MergeBot
parent c338dda6be
commit 712d9882d2

View File

@ -202,6 +202,9 @@ class TestPythonRegistration(TestCase):
self.assertEqual(c, a + b)
self.assertTrue(is_called)
@unittest.skip(
"Causing flakiness, see https://github.com/pytorch/pytorch/issues/145108"
)
def test_fallthrough_for_dense_key_with_meta_in_tls(self) -> None:
# This tests that if meta is included in TlS dispatch key set,
# then a meta kernel should be called regardless if a dense