Skip to content

Conversation

gs-olive
Copy link
Contributor

@gs-olive gs-olive commented Aug 25, 2023

Fixes pytorch/TensorRT#2258

- Follow-up for pytorch#107248 which copies metadata for placeholder nodes in
the top-level FX graph
@pytorch-bot pytorch-bot bot added the release notes: fx release notes category label Aug 25, 2023
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 25, 2023

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit 47b4b5e with merge base 7ef13b1 (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@bdhirsh bdhirsh added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Aug 30, 2023
@gmagogsfm
Copy link
Contributor

@gs-olive Can you add some tests in a separate PR?

@gs-olive
Copy link
Contributor Author

gs-olive commented Sep 7, 2023

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 7, 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

@gs-olive
Copy link
Contributor Author

gs-olive commented Sep 7, 2023

@gmagogsfm - testing for this PR is added in #108731.

@atalman atalman added this to the 2.1.1 milestone Sep 12, 2023
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>
@atalman
Copy link
Contributor

atalman commented Oct 19, 2023

this was included in 2.1.0 hence removing from milestones

@atalman atalman removed this from the 2.1.1 milestone Oct 19, 2023
pytorchmergebot pushed a commit to gs-olive/pytorch that referenced this pull request Dec 15, 2023
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
dmenig pushed a commit to dmenig/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
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 Merged open source release notes: fx release notes category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 [Bug] placeholder node meta data not preserved in fast partitioning

7 participants