mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Add version guard to compilation cache test.
PiperOrigin-RevId: 525572568
This commit is contained in:
parent
fb5664d580
commit
34fd4a1562
@ -197,6 +197,8 @@ class CompilationCacheTest(jtu.JaxTestCase):
|
||||
cc.get_cache_key(computation2, compile_options, backend),
|
||||
)
|
||||
|
||||
@unittest.skipIf(jax._src.lib.version < (0, 4, 9),
|
||||
"Test requires jaxlib 0.4.9")
|
||||
@parameterized.parameters([False, True])
|
||||
def test_identical_computations_different_metadata(self, include_metadata):
|
||||
f = lambda x, y: lax.mul(lax.add(x, y), 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user