-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[xnnpack][lite-int][3/n] flatbuffer serializer class #87907
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
Creating a serializer class that allows us to serialize the xnnpack graph creation arguments. This essentially abstracts away the flatbuffer api manipulation and serialization that we deal with. As a result we can call ``` XNNSerializer::serializeAddNode() XNNSerializer::serializeTensorValue() XNNSerializer::finishAndSerialize ``` to serialize the graph Differential Revision: [D39196312](https://our.internmc.facebook.com/intern/diff/D39196312/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D39196312/)! [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/87907
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Failures, 1 PendingAs of commit ef29f26: The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Creating a serializer class that allows us to serialize the xnnpack graph creation arguments. This essentially abstracts away the flatbuffer api manipulation and serialization that we deal with. As a result we can call ``` XNNSerializer::serializeAddNode() XNNSerializer::serializeTensorValue() XNNSerializer::finishAndSerialize ``` to serialize the graph Differential Revision: [D39196312](https://our.internmc.facebook.com/intern/diff/D39196312/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D39196312/)! [ghstack-poisoned]
Creating a serializer class that allows us to serialize the xnnpack graph creation arguments. This essentially abstracts away the flatbuffer api manipulation and serialization that we deal with. As a result we can call ``` XNNSerializer::serializeAddNode() XNNSerializer::serializeTensorValue() XNNSerializer::finishAndSerialize ``` to serialize the graph Differential Revision: [D39196312](https://our.internmc.facebook.com/intern/diff/D39196312/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D39196312/)! [ghstack-poisoned]
Creating a serializer class that allows us to serialize the xnnpack graph creation arguments. This essentially abstracts away the flatbuffer api manipulation and serialization that we deal with. As a result we can call ``` XNNSerializer::serializeAddNode() XNNSerializer::serializeTensorValue() XNNSerializer::finishAndSerialize ``` to serialize the graph Differential Revision: [D39196312](https://our.internmc.facebook.com/intern/diff/D39196312/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D39196312/)! [ghstack-poisoned]
Creating a serializer class that allows us to serialize the xnnpack graph creation arguments. This essentially abstracts away the flatbuffer api manipulation and serialization that we deal with. As a result we can call ``` XNNSerializer::serializeAddNode() XNNSerializer::serializeTensorValue() XNNSerializer::finishAndSerialize ``` to serialize the graph Differential Revision: [D39196312](https://our.internmc.facebook.com/intern/diff/D39196312/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D39196312/)! [ghstack-poisoned]
|
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Creating a serializer class that allows us to serialize the xnnpack graph creation arguments. This essentially abstracts away the flatbuffer api manipulation and serialization that we deal with. As a result we can call ``` XNNSerializer::serializeAddNode() XNNSerializer::serializeTensorValue() XNNSerializer::finishAndSerialize ``` to serialize the graph Differential Revision: [D39196312](https://our.internmc.facebook.com/intern/diff/D39196312/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D39196312/)! Pull Request resolved: pytorch#87907 Approved by: https://github.com/digantdesai
Creating a serializer class that allows us to serialize the xnnpack graph creation arguments. This essentially abstracts away the flatbuffer api manipulation and serialization that we deal with. As a result we can call ``` XNNSerializer::serializeAddNode() XNNSerializer::serializeTensorValue() XNNSerializer::finishAndSerialize ``` to serialize the graph Differential Revision: [D39196312](https://our.internmc.facebook.com/intern/diff/D39196312/) **NOTE FOR REVIEWERS**: This PR has internal Meta-specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D39196312/)! Pull Request resolved: pytorch#87907 Approved by: https://github.com/digantdesai
Stack from ghstack (oldest at bottom):
Creating a serializer class that allows us to serialize the xnnpack graph creation arguments. This essentially abstracts away the flatbuffer api manipulation and serialization that we deal with.
As a result we can call
to serialize the graph
Differential Revision: D39196312
NOTE FOR REVIEWERS: This PR has internal Meta-specific changes or comments, please review them on Phabricator!