-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[JIT] Add aten::slice optimization #63049
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
💊 CI failures summary and remediationsAs of commit 56f5be7 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
This pull request was exported from Phabricator. Differential Revision: D30231044 |
1 similar comment
|
This pull request was exported from Phabricator. Differential Revision: D30231044 |
1059893 to
d028415
Compare
|
This pull request was exported from Phabricator. Differential Revision: D30231044 |
d028415 to
6b6bb0a
Compare
Codecov Report
@@ Coverage Diff @@
## master #63049 +/- ##
==========================================
- Coverage 66.77% 66.76% -0.01%
==========================================
Files 695 695
Lines 90761 90761
==========================================
- Hits 60602 60598 -4
- Misses 30159 30163 +4 |
Summary: Pull Request resolved: pytorch#63049 Given a graph produced from a function like this: ``` def foo(): li = [1, 2, 3, 4, 5, 6] return li[0:2] ``` This pass produces a graph like this: ``` def foo(): li = [1, 2] return li ``` These changes are mostly adapted from pytorch#62297 Test Plan: `buck test //caffe2/test:jit -- TestPeephole` Reviewed By: eellison Differential Revision: D30231044 fbshipit-source-id: 0de4f67f183a725fd5d4fda239299fb3449149db
|
This pull request was exported from Phabricator. Differential Revision: D30231044 |
6b6bb0a to
56f5be7
Compare
|
This pull request has been merged in babd449. |
|
This pull request has been reverted by 65050ec. |
Summary:
Given a graph produced from a function like this:
This pass produces a graph like this:
These changes are mostly adapted from #62297
Test Plan:
buck test //caffe2/jit:test -- TestPeepholeDifferential Revision: D30231044