Skip to content

[NPU] Treat the boolean type as u8 and remove unnecessary type conversions #30690

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

Merged
merged 3 commits into from
May 26, 2025

Conversation

pereanub
Copy link
Contributor

@pereanub pereanub commented May 23, 2025

Details:

  • Treat the boolean type as u8
  • If ZE_GRAPH_ARGUMENT_PRECISION_BOOLEAN is reported by the driver, the plugin will fail to convert to an element type
  • Too many type conversions to keep updated when a new type is supported. Removing unnecessary conversions

Tickets:

  • E#167996

@pereanub pereanub requested review from a team as code owners May 23, 2025 09:49
@github-actions github-actions bot added the category: NPU OpenVINO NPU plugin label May 23, 2025
@pereanub pereanub changed the title [NPU] Remove unnecessary type conversions [NPU] Treat the boolean type as u8 and remove unnecessary type conversions May 23, 2025
@pereanub pereanub added this pull request to the merge queue May 26, 2025
Merged via the queue into openvinotoolkit:master with commit 0bd527d May 26, 2025
164 of 166 checks passed
@pereanub pereanub deleted the fix_bool_issue branch May 26, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: NPU OpenVINO NPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants