-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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][passes] Implement annotate getitem node FX passes #90237
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/90237
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 06b703d: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D41749744 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D41749744 |
Summary: Pull Request resolved: pytorch#90237 One common cause of jit unscriptability issue is loss of node type annotations on local names after one or several FX transform(s). One way to improve the type coverage is to eagerly annotate the type for `getitem` nodes from its parent sequence node. This diff introduces an fx pass to do that. Test Plan: ``` buck2 test //caffe2/test:fx_experimental ``` Reviewed By: xush6528 Differential Revision: D41749744 fbshipit-source-id: 4806628cb7e2ef847fc5132aa1b054313359e332
43124ab
to
3577cc5
Compare
Summary: Pull Request resolved: pytorch#90237 One common cause of jit unscriptability issue is loss of node type annotations on local names after one or several FX transform(s). One way to improve the type coverage is to eagerly annotate the type for `getitem` nodes from its parent sequence node. This diff introduces an fx pass to do that. Test Plan: ``` buck2 test //caffe2/test:fx_experimental ``` Reviewed By: xush6528 Differential Revision: D41749744 fbshipit-source-id: ba1dbe4e19cf1d2ee4ccaf81176bac7e293fd2ce
3577cc5
to
06b703d
Compare
This pull request was exported from Phabricator. Differential Revision: D41749744 |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
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 |
Summary: One common cause of jit unscriptability issue is loss of node type annotations on local names after one or several FX transform(s). One way to improve the type coverage is to eagerly annotate the type for `getitem` nodes from its parent sequence node. This diff introduces an fx pass to do that. Test Plan: ``` buck2 test //caffe2/test:fx_experimental ``` Reviewed By: xush6528 Differential Revision: D41749744 Pull Request resolved: pytorch#90237 Approved by: https://github.com/xush6528
Summary: One common cause of jit unscriptability issue is loss of node type annotations on local names after one or several FX transform(s). One way to improve the type coverage is to eagerly annotate the type for
getitem
nodes from its parent sequence node. This diff introduces an fx pass to do that.Test Plan:
Reviewed By: xush6528
Differential Revision: D41749744