Skip to content

Commit bad0f14

Browse files
committed
Do not run Pallas GPU tests on Windows
Triton does not support Windows, so all bets are off.
1 parent 4d4151d commit bad0f14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/pallas/pallas_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import functools
1717
import itertools
1818
import os
19+
import sys
1920
import unittest
2021

2122
os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"] = "0.5"
@@ -33,7 +34,7 @@
3334
from jax._src.lax.control_flow.for_loop import for_loop
3435
from jax._src.lib import version as jaxlib_version
3536
from jax._src.pallas.pallas_call import _trace_to_jaxpr
36-
if jaxlib_version >= (0, 4, 24):
37+
if jaxlib_version >= (0, 4, 24) and sys.platform != "win32":
3738
from jax._src.pallas.triton.lowering import LoweringError
3839
else:
3940
LoweringError = Exception

0 commit comments

Comments
 (0)