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

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Oct 4, 2024

Skip nextafter test with IFRT for unsupported dtype.

IFRT calls tf2xla's EncodePrimitiveTypeAsDataType function to get a TF dtype from an XLA dtype. But there is no TF dtype corresponding to XLA's F8E4M3B11FNUZ type.

Link to EncodePrimitiveTypeAsDataType: https://github.com/tensorflow/tensorflow/blob/ac3bde91780b649f6142a578f58f249314c3136d/tensorflow/compiler/tf2xla/type_util.cc#L98

IFRT calls tf2xla's EncodePrimitiveTypeAsDataType function to get a TF dtype from an XLA dtype. But there is no TF dtype corresponding to XLA's F8E4M3B11FNUZ type.

Link to EncodePrimitiveTypeAsDataType: https://github.com/tensorflow/tensorflow/blob/ac3bde91780b649f6142a578f58f249314c3136d/tensorflow/compiler/tf2xla/type_util.cc#L98

PiperOrigin-RevId: 682475173
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant