-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[fx][split] Copy node metadata for placeholders #107981
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
- Follow-up for pytorch#107248 which copies metadata for placeholder nodes in the top-level FX graph
🔗 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 ( 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. |
@gs-olive Can you add some tests in a separate PR? |
@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 |
@gmagogsfm - testing for this PR is added in #108731. |
- 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
- 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>
this was included in 2.1.0 hence removing from milestones |
- 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
- 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
TensorMetadata
in sometorch.compile
backendsFixes pytorch/TensorRT#2258