Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip nextafter test with IFRT for unsupported dtype. #17948

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions xla/python/xla_client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2202,6 +2202,11 @@ def testNextAfter(self, dtype):
self.skipTest("TPU doesn't support float64")
if dtype == bfloat16 and self.backend.platform == "tpu":
self.skipTest("b/371119032: Test fails on TPUs with bfloat16")
if pathways_ifrt and dtype == float8_e4m3b11fnuz:
# TODO(reedwm): Once the minimum ml_dtypes in JAX is >= 0.5.0 which
# allows dtypes float8_e4m3 and float8_e3m4 to be used, also skip test
# with these dtypes
self.skipTest(f"{dtype.__name__} is not supported in IFRT")
finfo = ml_dtypes.finfo(dtype)
eps = finfo.eps
c = self._NewComputation()
Expand Down
Loading