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

[fx][split] make sure we copy node.meta over during split #107248

Closed
wants to merge 1 commit into from

Conversation

842974287
Copy link
Contributor

Summary: Previously when we create placeholder nodes for sub graph modules, we didn't copy node.meta over.

Test Plan: CI

Differential Revision: D48330866

@facebook-github-bot
Copy link
Contributor

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

@pytorch-bot pytorch-bot bot added the release notes: fx release notes category label Aug 15, 2023
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 15, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit f7ae570 with merge base ad07a4b (image):
💚 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: D48330866

842974287 added a commit to 842974287/pytorch that referenced this pull request Aug 17, 2023
…7248)

Summary:
Pull Request resolved: pytorch#107248

Previously when we create placeholder nodes for sub graph modules, we didn't copy node.meta over.

Test Plan: CI

Reviewed By: sayitmemory

Differential Revision: D48330866

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

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

842974287 added a commit to 842974287/pytorch that referenced this pull request Aug 17, 2023
…7248)

Summary:
Pull Request resolved: pytorch#107248

Previously when we create placeholder nodes for sub graph modules, we didn't copy node.meta over.

Test Plan: CI

Reviewed By: sayitmemory

Differential Revision: D48330866

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

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

842974287 added a commit to 842974287/pytorch that referenced this pull request Aug 17, 2023
…7248)

Summary:
Pull Request resolved: pytorch#107248

Previously when we create placeholder nodes for sub graph modules, we didn't copy node.meta over.

Test Plan: CI

Reviewed By: sayitmemory

Differential Revision: D48330866

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

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

842974287 added a commit to 842974287/pytorch that referenced this pull request Aug 21, 2023
…7248)

Summary:
Pull Request resolved: pytorch#107248

Previously when we create placeholder nodes for sub graph modules, we didn't copy node.meta over.

bypass-github-pytorch-ci-checks
bypass-github-export-checks
force-merge-on-github

Test Plan: CI

Reviewed By: houseroad, sayitmemory

Differential Revision: D48330866

fbshipit-source-id: b521294df4616418a721de01c7a077b8d8f547c3
…7248)

Summary:
Pull Request resolved: pytorch#107248

Previously when we create placeholder nodes for sub graph modules, we didn't copy node.meta over.

bypass-github-pytorch-ci-checks
bypass-github-export-checks
force-merge-on-github

Test Plan: CI

Reviewed By: houseroad, sayitmemory

Differential Revision: D48330866

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

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

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge -f 'Landed internally'

(Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally)

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

gs-olive added a commit to gs-olive/pytorch that referenced this pull request Aug 25, 2023
- Follow-up for pytorch#107248 which copies metadata for placeholder nodes in
the top-level FX graph
pytorchmergebot pushed a commit that referenced this pull request Sep 7, 2023
- Follow-up to #107248 which copies metadata for placeholder nodes in the top-level FX graph
- Currently, top-level placeholders do not have their metadata copied over, causing loss of `TensorMetadata` in some `torch.compile` backends

Fixes pytorch/TensorRT#2258
Pull Request resolved: #107981
Approved by: https://github.com/angelayi
angelayi pushed a commit that referenced this pull request Sep 14, 2023
- Follow-up to #107248 which copies metadata for placeholder nodes in the top-level FX graph
- Currently, top-level placeholders do not have their metadata copied over, causing loss of `TensorMetadata` in some `torch.compile` backends

Fixes pytorch/TensorRT#2258
Pull Request resolved: #107981
Approved by: https://github.com/angelayi
atalman pushed a commit that referenced this pull request Sep 14, 2023
- Follow-up to #107248 which copies metadata for placeholder nodes in the top-level FX graph
- Currently, top-level placeholders do not have their metadata copied over, causing loss of `TensorMetadata` in some `torch.compile` backends

Fixes pytorch/TensorRT#2258
Pull Request resolved: #107981
Approved by: https://github.com/angelayi

Co-authored-by: gs-olive <113141689+gs-olive@users.noreply.github.com>
pytorchmergebot pushed a commit that referenced this pull request Dec 18, 2023
- Follow-up to #107981, adding testing for metadata copying in placeholder nodes within the `split_by_tags` utility
- Validation included in the test from #107248, since both tests are relevant to the same aspect of the utility
Pull Request resolved: #108731
Approved by: https://github.com/angelayi
hyperfraise pushed a commit to hyperfraise/pytorch that referenced this pull request Dec 21, 2023
- Follow-up to pytorch#107981, adding testing for metadata copying in placeholder nodes within the `split_by_tags` utility
- Validation included in the test from pytorch#107248, since both tests are relevant to the same aspect of the utility
Pull Request resolved: pytorch#108731
Approved by: https://github.com/angelayi
hyperfraise pushed a commit to hyperfraise/pytorch that referenced this pull request Dec 21, 2023
- Follow-up to pytorch#107981, adding testing for metadata copying in placeholder nodes within the `split_by_tags` utility
- Validation included in the test from pytorch#107248, since both tests are relevant to the same aspect of the utility
Pull Request resolved: pytorch#108731
Approved by: https://github.com/angelayi
ZhiweiYan-96 pushed a commit to ZhiweiYan-96/pytorch that referenced this pull request Dec 22, 2023
- Follow-up to pytorch#107981, adding testing for metadata copying in placeholder nodes within the `split_by_tags` utility
- Validation included in the test from pytorch#107248, since both tests are relevant to the same aspect of the utility
Pull Request resolved: pytorch#108731
Approved by: https://github.com/angelayi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants