-
Notifications
You must be signed in to change notification settings - Fork 651
[ET-VK][ez] Consolidate tensor metadata calculation + buffer binding code #13594
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/13594
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. |
…code Pull Request resolved: #13594 As title, this diff consolidates logic used to calculate flipped and unsqueezed tensor metadata as well as initializing + retrieving buffer bindings for UBOs that contain tensor metadata. @imported-using-ghimport Differential Revision: [D80800085](https://our.internmc.facebook.com/intern/diff/D80800085/) ghstack-source-id: 304941376
This pull request was exported from Phabricator. Differential Revision: D80800085 |
This pull request was exported from Phabricator. Differential Revision: D80800085 |
4 similar comments
This pull request was exported from Phabricator. Differential Revision: D80800085 |
This pull request was exported from Phabricator. Differential Revision: D80800085 |
This pull request was exported from Phabricator. Differential Revision: D80800085 |
This pull request was exported from Phabricator. Differential Revision: D80800085 |
#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 Pull Request resolved: #13594 As title, this diff consolidates logic used to calculate flipped and unsqueezed tensor metadata as well as initializing + retrieving buffer bindings for UBOs that contain tensor metadata. @imported-using-ghimport Differential Revision: [D80800085](https://our.internmc.facebook.com/intern/diff/D80800085/) ghstack-source-id: 305143835
1a001a3
to
56ec8c8
Compare
…out (#13595) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * #13597 * #13596 * __->__ #13595 * #13594 * #13593 * #13600 * #13599 * #13598 Differential Revision: [D80800082](https://our.internmc.facebook.com/intern/diff/D80800082) 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: [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>
pytorch#13598) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * pytorch#13597 * pytorch#13596 * pytorch#13595 * pytorch#13594 * pytorch#13593 * pytorch#13600 * pytorch#13599 * __->__ pytorch#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): * pytorch#13597 * pytorch#13596 * pytorch#13595 * pytorch#13594 * pytorch#13593 * pytorch#13600 * __->__ pytorch#13599 * pytorch#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): * pytorch#13597 * pytorch#13596 * pytorch#13595 * pytorch#13594 * pytorch#13593 * __->__ pytorch#13600 * pytorch#13599 * pytorch#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>
…#13593) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * pytorch#13597 * pytorch#13596 * pytorch#13595 * pytorch#13594 * __->__ pytorch#13593 * pytorch#13600 * pytorch#13599 * pytorch#13598 Differential Revision: [D80800081](https://our.internmc.facebook.com/intern/diff/D80800081) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
…code (pytorch#13594) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * pytorch#13597 * pytorch#13596 * pytorch#13595 * __->__ pytorch#13594 * pytorch#13593 * pytorch#13600 * pytorch#13599 * pytorch#13598 Differential Revision: [D80800085](https://our.internmc.facebook.com/intern/diff/D80800085) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
…out (pytorch#13595) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * pytorch#13597 * pytorch#13596 * __->__ pytorch#13595 * pytorch#13594 * pytorch#13593 * pytorch#13600 * pytorch#13599 * pytorch#13598 Differential Revision: [D80800082](https://our.internmc.facebook.com/intern/diff/D80800082) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
…rch#13596) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * pytorch#13597 * __->__ pytorch#13596 * pytorch#13595 * pytorch#13594 * pytorch#13593 * pytorch#13600 * pytorch#13599 * pytorch#13598 Differential Revision: [D80800083](https://our.internmc.facebook.com/intern/diff/D80800083) Co-authored-by: ssjia <ssjia@devvm5117.ash0.facebook.com>
…ytorch#13597) Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at bottom): * __->__ pytorch#13597 * pytorch#13596 * pytorch#13595 * pytorch#13594 * pytorch#13593 * pytorch#13600 * pytorch#13599 * pytorch#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: D80800085