Skip to content
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

Add support for edge dialect ops in exir/serde #106371

Closed
wants to merge 1 commit into from

Conversation

tarun292
Copy link
Contributor

@tarun292 tarun292 commented Aug 1, 2023

Summary:
Adding support for edge dialect ops in exir/serde. This diff does the following:

  • Moves the global serialize_operator/deserialize_operator implementations inexport/serde/serialize.py into GraphModuleSerializer and GraphModuleDeserializer
  • Adds implementations of serialize_operator/deserialize_operator inside GraphModuleSerializer and GraphModuleDeserializer in exir/serde/serialize.py

Test Plan: CI + Enabled edge dialect ops in executorch/exir/tests/test_serde.py

Differential Revision: D47938280

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 1, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/106371

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 46ac7ca:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

This PR needs a release notes: label

If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 1, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: angelayi

Differential Revision: D47938280

fbshipit-source-id: 50bc1fc4c92d04b1f6bdd25058ffcf057a2e5347
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 1, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: angelayi

Differential Revision: D47938280

fbshipit-source-id: d290aeee2c49c504fab15ccd0f3b43ced321015c
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 1, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: cf1bb785db5171c9f9bc2c21499f7d9d5bd101a9
tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 1, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: aaa73ff98cc1bb32a495a44d8cbf8ecb97335327
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 1, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: a20f3e7441142bf84a0d0f44cba250148b5e5885
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 1, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: c16c1f160683142f0ed02fee420ad71cf0e3aee1
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 1, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: 2c53855b5c05b6825690b3962a1270b0973edc52
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 1, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: 6028709c60cec4751092395bfe4926b34db26bed
tarun292 added a commit to tarun292/pytorch that referenced this pull request Aug 2, 2023
Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: 5f0fad759875ade2fe010a004f9e7809bb4ebc6b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

Summary:
Pull Request resolved: pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Test Plan: CI + Enabled edge dialect ops in `executorch/exir/tests/test_serde.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: 423892a5b85b53c0dbb8a5293da4b1667f33a041
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47938280

facebook-github-bot pushed a commit to pytorch/executorch that referenced this pull request Aug 2, 2023
Summary:
X-link: pytorch/pytorch#106371

Adding support for edge dialect ops in `exir/serde`. This diff does the following:
- Moves the global `serialize_operator/deserialize_operator` implementations in`export/serde/serialize.py` into `GraphModuleSerializer` and `GraphModuleDeserializer`
- Adds implementations of `serialize_operator/deserialize_operator` inside `GraphModuleSerializer` and `GraphModuleDeserializer` in `exir/serde/serialize.py`

Reviewed By: chakriu, angelayi

Differential Revision: D47938280

fbshipit-source-id: 8a8aed65c51d9cc57b4b37499421be971c19d344
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 2, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants