Skip to content

Commit 681b9c2

Browse files
hawkinspGoogle-ML-Automation
authored andcommitted
Disable pgle_test on non-GPU platforms.
PGLE is only intended to work on GPU. PiperOrigin-RevId: 702760248
1 parent bdadc53 commit 681b9c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/pgle_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class PgleTest(jtu.JaxTestCase):
4646

4747
def setUp(self):
4848
super().setUp()
49+
if not jtu.test_device_matches(["gpu"]):
50+
self.skipTest('Profile-guideded latency estimation only supported on GPU')
51+
4952
cc.set_cache_dir(None)
5053
cc.reset_cache()
5154

0 commit comments

Comments
 (0)