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

[GPU] add convert precision for converting bool to u8 #28654

Merged

Conversation

ahnyoung-paul
Copy link
Contributor

Details:

  • Add abs + ceiling + clamp before convert when convert is changed from bool to u8

Tickets:

@ahnyoung-paul ahnyoung-paul added category: GPU OpenVINO GPU plugin pr: needs tests PR needs tests updating labels Jan 24, 2025
@ahnyoung-paul ahnyoung-paul requested review from a team as code owners January 24, 2025 06:51
@ahnyoung-paul ahnyoung-paul requested a review from yeonbok January 24, 2025 06:52
false,
false,
false);

Copy link
Contributor

Choose a reason for hiding this comment

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

Can't we merge this change to the convertPrecision in the line452?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to merge this change to the line 452. but I think it is hard to merge because precision_map is different.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

However, I will try it again. thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed it.

@ahnyoung-paul ahnyoung-paul removed the pr: needs tests PR needs tests updating label Jan 30, 2025
@ahnyoung-paul ahnyoung-paul force-pushed the fix_bool_converting_issue branch from 27dc531 to bbdcd9a Compare February 3, 2025 03:13
@ahnyoung-paul ahnyoung-paul force-pushed the fix_bool_converting_issue branch from bbdcd9a to 754456a Compare February 3, 2025 03:23
@yeonbok yeonbok enabled auto-merge February 3, 2025 04:36
@yeonbok yeonbok added this pull request to the merge queue Feb 3, 2025
Merged via the queue into openvinotoolkit:master with commit 0213116 Feb 3, 2025
167 checks passed
@yeonbok yeonbok deleted the fix_bool_converting_issue branch February 3, 2025 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: GPU OpenVINO GPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants