enable test (#155342)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/155342
Approved by: https://github.com/Skylion007, https://github.com/bdhirsh
ghstack dependencies: #154768
This commit is contained in:
eellison
2025-06-06 09:59:53 -07:00
committed by PyTorch MergeBot
parent d4d0ede6ba
commit ea37f72099
2 changed files with 0 additions and 3 deletions

View File

@ -8276,7 +8276,6 @@ def forward(self, arg0_1: "Sym(s77)", arg1_1: "Sym(s27)", arg2_1: "Sym(s53)", ar
actual_out = compiled_fn(view)
self.assertEqual(reference_out.stride(), actual_out.stride())
@xfail_if_triton_cpu
def test_like_channels_last(self):
def foo():
randn = torch.randn((4, 3, 8, 8), device=self.device, dtype=torch.float32)

View File

@ -13,12 +13,10 @@ except ImportError:
if HAS_CPU and TRITON_HAS_CPU:
@config.patch(cpu_backend="triton")
@config.patch("triton.coalesce_tiling_analysis", False)
class SweepInputsCpuTritonTest(test_torchinductor.SweepInputsCpuTest):
pass
@config.patch(cpu_backend="triton")
@config.patch("triton.coalesce_tiling_analysis", False)
class CpuTritonTests(test_torchinductor.TestCase):
common = test_torchinductor.check_model
device = "cpu"