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

Fixes regression for issue #5548: Avoid attempting to convert dtypes from "mixed precision" policy types. #6859

Merged
merged 5 commits into from
May 21, 2024

Conversation

arcra
Copy link
Member

@arcra arcra commented May 21, 2024

Following-up on PR #6857, which seems to have introduced a regression for issue #5548.

This change just gracefully degrades the functionality to avoid crashing on an error (as it was before the recent change in #6857), but it might not be a proper fix for the scenario described in that issue.

@arcra arcra requested a review from rileyajones May 21, 2024 22:01
@arcra arcra changed the title Updates comment related to DTYPE handling in graph keras util. Fixes regression for issue #5548: Avoid attempting to convert dtypes from "mixed precision" policy types. May 21, 2024
Copy link
Contributor

@rileyajones rileyajones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great if we had a test for this

@arcra arcra merged commit ae7d0b9 into tensorflow:master May 21, 2024
13 checks passed
@arcra arcra deleted the graph_keras_util_follow_up branch May 21, 2024 23:34
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.

2 participants