-
Notifications
You must be signed in to change notification settings - Fork 640
[ET-VK][Ops] dequantize_per_tensor.default test setup #11481
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
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
eadfcdd
[ET-VK][Ops] dequantize_per_tensor.default test setup
663b539
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
b0e8e26
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
d8e0156
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
707c6bc
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
e281cd2
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
37f688d
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
07172de
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
46cadc5
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
9d50cdf
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
029716f
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
e31d3c7
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
794428e
Update on "[ET-VK][Ops] dequantize_per_tensor.default test setup"
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
also add tests for int32 and int64
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.
theres no real support for int64 in the shader. right now dequantize matches the IO for quantize which include half, float and then uint8, int8, and int32 as common dtypes and to avoid generating excess variants. if int64 is a necessary variant I'll make those changes in a future diff.
there is a diff that adds double support (though really just fp32 underneath)
i will add more tests in this diff.
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.
As @ahmtox has pointed out, to reduce binary size Vulkan kind of takes the opposite approach of the portable kernels, which means supporting the minimum dtypes necessary i.e. basically what we would expect to encounter in a "real" model.