-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[export] Preserve meta["val"] on placeholders in dynamo.export(). #88651
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/88651
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit bd31fc0: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D41110864 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D41110864 |
86a0202 to
d3036de
Compare
d3036de to
ca1da55
Compare
|
This pull request was exported from Phabricator. Differential Revision: D41110864 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D41110864 |
ca1da55 to
2187f57
Compare
…torch#88651) Summary: Pull Request resolved: pytorch#88651 Today when we transform the captured graph in the last step in export(aten_graph=True), we construct a new graph which doesn't have the all the metadata to be preserved, for example, node.meta["val"]. meta["val"] is important for writing passes and analysis on the graph later in the pipeline, we may want to preserve that on placeholder nodes. Test Plan: test_export.py:test_export_meta_val Reviewed By: tugsbayasgalan Differential Revision: D41110864 fbshipit-source-id: da299653d311078e555a028c534c43c817165266
|
This pull request was exported from Phabricator. Differential Revision: D41110864 |
2187f57 to
bd31fc0
Compare
|
@pytorchbot merge |
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 |
…torch#88651) Summary: Today when we transform the captured graph in the last step in export(aten_graph=True), we construct a new graph which doesn't have the all the metadata to be preserved, for example, node.meta["val"]. meta["val"] is important for writing passes and analysis on the graph later in the pipeline, we may want to preserve that on placeholder nodes. Test Plan: test_export.py:test_export_meta_val Differential Revision: D41110864 Pull Request resolved: pytorch#88651 Approved by: https://github.com/tugsbayasgalan, https://github.com/jansel
Summary:
Today when we transform the captured graph in the last step in export(aten_graph=True), we construct a new graph which doesn't have the all the metadata to be preserved, for example, node.meta["val"].
meta["val"] is important for writing passes and analysis on the graph later in the pipeline, we may want to preserve that on placeholder nodes.
Test Plan: test_export.py:test_export_meta_val
Differential Revision: D41110864
cc @mlazos @soumith @voznesenskym @yanboliang @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @chunyuan-w @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire