-
Notifications
You must be signed in to change notification settings - Fork 74.8k
Fix: Clarify GPU compatibility check in TFLite Model Analyzer #97513
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
base: master
Are you sure you want to change the base?
Conversation
35cf465
to
3897cdc
Compare
This commit addresses the misleading output of the tool regarding GPU compatibility checks. - Adds a deprecation warning for the argument. - Modifies the output message to clearly state that GPU compatibility checks are skipped when the flag is enabled, as the feature is deprecated. Fixes: #77042 This commit addresses the misleading output of the tool regarding GPU compatibility checks. - Adds a deprecation warning for the argument. - Modifies the output message to clearly state that GPU compatibility checks are skipped when the flag is enabled, as the feature is deprecated. Fixes: #77042
3897cdc
to
863b3d6
Compare
@deprecation.deprecated_arg_value( | ||
None, "GPU compatibility check is deprecated.", "gpu_compatibility") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Umm, these need to be decided by the API owners, cannot just add deprecations randomly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mihaimaruseac, After reviewing the discussion in PR #74830 (comment), I realize the core issue is a confusing output message which appears to be generated in
if (check_gpu_compatibility && model_is_gpu_compatible) { |
I am happy to update this PR to address that output message instead of my current changes. Please let me know if you would prefer that or if I should close this PR because these need to be decided by the API owners. Thank you for your time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it was deprecated then a deprecation message (from the decorator) is the best path forward, but still needs to go via approval of the API owners.
Hi, Team
This addresses the misleading output of the TFLite Model Analyzer tool regarding GPU compatibility checks.