-
Notifications
You must be signed in to change notification settings - Fork 649
[ET-VK] Introduce BufferMetadata
GLSL struct to abstract tensor layout
#13595
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13595
Note: Links to docs will display an error until the docs builds have been completed. This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
@SS-JIA has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was exported from Phabricator. Differential Revision: D80800082 |
This pull request was exported from Phabricator. Differential Revision: D80800082 |
This pull request was exported from Phabricator. Differential Revision: D80800082 |
3 similar comments
This pull request was exported from Phabricator. Differential Revision: D80800082 |
This pull request was exported from Phabricator. Differential Revision: D80800082 |
This pull request was exported from Phabricator. Differential Revision: D80800082 |
#13598) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #13597 * #13596 * #13595 * #13594 * #13593 * #13600 * #13599 * __->__ #13598 Title says it all. For reduce ops, their signature are not all alike so some extra legwork needs to be done to identify specific arguments that need to be checked. Also included a small update to partitioner logging to improve debuggability. Differential Revision: [D80741737](https://our.internmc.facebook.com/intern/diff/D80741737/) --------- Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #13597 * #13596 * #13595 * #13594 * #13593 * #13600 * __->__ #13599 * #13598 Title says it all! Differential Revision: [D80741734](https://our.internmc.facebook.com/intern/diff/D80741734/) --------- Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #13597 * #13596 * #13595 * #13594 * #13593 * __->__ #13600 * #13599 * #13598 As title. Use XNNPACK's FuseBatchNorm pass since it can fuse into linear layers as well. Differential Revision: [D80741735](https://our.internmc.facebook.com/intern/diff/D80741735/) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #13597 * #13596 * #13595 * #13594 * __->__ #13593 * #13600 * #13599 * #13598 Differential Revision: [D80800081](https://our.internmc.facebook.com/intern/diff/D80800081) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
…code (#13594) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #13597 * #13596 * #13595 * __->__ #13594 * #13593 * #13600 * #13599 * #13598 Differential Revision: [D80800085](https://our.internmc.facebook.com/intern/diff/D80800085) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
Pull Request resolved: #13595 As title; introduce an consolidated metadata UBO for buffer storage that can be used to abstract tensor indexing operations for buffer-backed tensors. This new metadata UBO is capable of representing tensors of up to 8 dimensions. This upper limit is hardcoded, but can be increased later on without needing to update callsites since everything is abstracted by the BufferMetadata struct. Update the following ops to use this new metadata UBO: * staging shaders (nchw_to_buffer and buffer_to_nchw) * binary op @imported-using-ghimport Differential Revision: [D80800082](https://our.internmc.facebook.com/intern/diff/D80800082/) ghstack-source-id: 305143836
06bb6ff
to
5d2cd16
Compare
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #13597 * __->__ #13596 * #13595 * #13594 * #13593 * #13600 * #13599 * #13598 Differential Revision: [D80800083](https://our.internmc.facebook.com/intern/diff/D80800083) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
…13597) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ #13597 * #13596 * #13595 * #13594 * #13593 * #13600 * #13599 * #13598 Differential Revision: [D80800084](https://our.internmc.facebook.com/intern/diff/D80800084) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
Stack from ghstack (oldest at bottom):
BufferMetadata
GLSL struct to abstract tensor layout #13595Differential Revision: D80800082