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

Raise an error if mixed-precision models are being converted #607

Merged
merged 3 commits into from
Feb 22, 2021

Conversation

CNugteren
Copy link
Contributor

Mixed precision models are not supported by the TFLite conversion step yet (tensorflow/tensorflow#46380), this could in some cases lead to segfaults. This guard prevents that and raises a proper error message before trying to convert such a model.

Mixed precision models are not supported by TFLite exporting yet,
this could in some cases lead to segfaults. This guard prevents
that and raises a proper error message.
@CNugteren CNugteren requested a review from a team February 22, 2021 07:07
@lgeiger lgeiger added the internal-improvement Internal Improvements and Maintenance label Feb 22, 2021
Copy link
Member

@lgeiger lgeiger left a comment

Choose a reason for hiding this comment

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

👍

CNugteren and others added 2 commits February 22, 2021 10:59
Co-authored-by: Lukas Geiger <lukas.geiger94@gmail.com>
Co-authored-by: Lukas Geiger <lukas.geiger94@gmail.com>
@lgeiger lgeiger enabled auto-merge (squash) February 22, 2021 10:20
@lgeiger lgeiger merged commit bbc659f into master Feb 22, 2021
@lgeiger lgeiger deleted the add_mixed_precision_export_guard branch February 22, 2021 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-improvement Internal Improvements and Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants