Update test since C PjRt API topology description is available.

The compilation_cache_test had an exclusion since the C PjRt
topology description had not been implemented. Now that it is
available, remove the exclusion.

PiperOrigin-RevId: 581396824
This commit is contained in:
jax authors 2023-11-10 16:11:35 -08:00
parent 11236dbe34
commit 45982c8439

View File

@ -331,9 +331,6 @@ class CompilationCacheTest(jtu.JaxTestCase):
"/jax/compilation_cache/original_compile_time_saved_sec",
durations)
else:
# TODO(b/293308239) Remove this skipping when pjrt c api is supported.
if xla_bridge.using_pjrt_c_api():
raise SkipTest("PJRT C API not supported yet.")
self.assertNotIn(
"/jax/compilation_cache/compile_time_saved_sec", durations)
@ -427,9 +424,6 @@ class CompilationCacheTest(jtu.JaxTestCase):
- previous_counts["/jax/compilation_cache/cache_hits_original"],
1)
else:
# TODO(b/293308239) Remove this skipping when pjrt c api is supported.
if xla_bridge.using_pjrt_c_api():
raise SkipTest("PJRT C API not supported yet.")
self.assertEqual(
_counts["/jax/compilation_cache/cache_hits"]
- previous_counts["/jax/compilation_cache/cache_hits"],