Skip to content

Commit 768326f

Browse files
authored
Enable tests on py314 (#1306)
1 parent d33752c commit 768326f

3 files changed

Lines changed: 0 additions & 9 deletions

File tree

helion/_testing.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,6 @@ def skipIfLowVRAM(
199199
return unittest.skipIf(low_vram, reason)
200200

201201

202-
def skipIfPy314(reason: str) -> Callable[[Callable], Callable]:
203-
"""Skip test if running on Python 3.14"""
204-
return unittest.skipIf(sys.version_info >= (3, 14), reason)
205-
206-
207202
def skipIfPyTorchBaseVerLessThan(min_version: str) -> Callable[[Callable], Callable]:
208203
"""Skip test if PyTorch base version is less than the specified version.
209204

test/test_torch_compile.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@
88
from helion._testing import DEVICE
99
from helion._testing import RefEagerTestBase
1010
from helion._testing import TestCase
11-
from helion._testing import skipIfPy314
1211
from helion._testing import skipIfRefEager
1312
from helion._testing import skipIfRocm
1413
import helion.language as hl
1514

1615

1716
class TestTorchCompile(RefEagerTestBase, TestCase):
1817
@skipIfRefEager("does not work with ref eager")
19-
@skipIfPy314("torch.compile not yet supported on Python 3.14")
2018
@skipIfRocm("torch.compile add kernel missing kernel metadata fields on ROCm")
2119
def test_add_kernel(self):
2220
@helion.kernel(config=helion.Config(block_sizes=[1, 2]))

test/test_views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from helion._testing import TestCase
1212
from helion._testing import code_and_output
1313
from helion._testing import skipIfCpu
14-
from helion._testing import skipIfPy314
1514
from helion._testing import skipIfRefEager
1615
from helion._testing import skipIfRocm
1716
import helion.language as hl
@@ -414,7 +413,6 @@ def foo(x: torch.Tensor) -> torch.Tensor:
414413
self.assertIn("tl.reshape", code)
415414
self.assertExpectedJournal(code)
416415

417-
@skipIfPy314("torch.compile not yet supported on Python 3.14")
418416
def test_stack_dim0(self):
419417
@helion.kernel(autotune_effort="none", static_shapes=True)
420418
def test_stack_dim0_kernel(

0 commit comments

Comments
 (0)