-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support reading and writing bitpacked activations in C++ kernels. #305
Merged
Commits on Mar 25, 2020
-
Support reading and writing bitpacked activations in C++ kernels.
This feature is disabled by default and so does not change any behaviour for new or existing converted models; enabling this feature will require changes to the converter to set the correct op flags. Currently, binary convolutions expect full precision input, bitpack that input, perform the computation, and then write full-precision output. This feature allows a binary convolutions to instead perform bitpacking inside the kernel and write (8-bit) bitpacked output, and for the subsequent binary convolution to skip the usual initial bitpacking step and read the already-bitpacked input directly. Doing this significantly reduces the number of reads and writes to memory and the the overall memory footprint of the model inference. Support is added only for the C++ kernels (x86 and Arm32). Support for the optimised assembly kernels (Arm64) requires additional future work.
Configuration menu - View commit details
-
Copy full SHA for be508bf - Browse repository at this point
Copy the full SHA be508bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ba2a3b - Browse repository at this point
Copy the full SHA 4ba2a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ff1f0b - Browse repository at this point
Copy the full SHA 7ff1f0bView commit details
Commits on Mar 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2db366f - Browse repository at this point
Copy the full SHA 2db366fView commit details
Commits on Apr 1, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 04ce741 - Browse repository at this point
Copy the full SHA 04ce741View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1a07f3 - Browse repository at this point
Copy the full SHA a1a07f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8d1c1d - Browse repository at this point
Copy the full SHA a8d1c1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21aac16 - Browse repository at this point
Copy the full SHA 21aac16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51b14d1 - Browse repository at this point
Copy the full SHA 51b14d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d475b38 - Browse repository at this point
Copy the full SHA d475b38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f93a10 - Browse repository at this point
Copy the full SHA 0f93a10View commit details
Commits on Apr 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 539e5ac - Browse repository at this point
Copy the full SHA 539e5acView commit details
Commits on Apr 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for af89dc8 - Browse repository at this point
Copy the full SHA af89dc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb1574a - Browse repository at this point
Copy the full SHA cb1574aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e37c2da - Browse repository at this point
Copy the full SHA e37c2daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ccc367 - Browse repository at this point
Copy the full SHA 9ccc367View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f45415 - Browse repository at this point
Copy the full SHA 2f45415View commit details
Commits on Apr 7, 2020
-
Apply suggestions from code review
Co-Authored-By: Adam Hillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 872bd6b - Browse repository at this point
Copy the full SHA 872bd6bView commit details -
Apply suggestions from code review
Co-Authored-By: Adam Hillier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6b2aa8e - Browse repository at this point
Copy the full SHA 6b2aa8eView commit details
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.