-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[Static Runtime] Implement prim::VarStack out variant #63579
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 8c49809 (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: D30410525 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D30410525 |
fa04503
to
89e5bd3
Compare
Codecov Report
@@ Coverage Diff @@
## master #63579 +/- ##
==========================================
+ Coverage 75.44% 75.53% +0.08%
==========================================
Files 2122 2123 +1
Lines 212875 212895 +20
==========================================
+ Hits 160612 160817 +205
+ Misses 52263 52078 -185 |
Summary: Pull Request resolved: pytorch#63577 Since other variadic ops will have an almost identical implementation, we can generalize the `UseVariadicCat` implementation and put it in a common folder. Also moved some test utilities that other variadic op tests will likely need. Test Plan: `buck test caffe2/test/cpp/jit:jit -- ConcatOptTest` Differential Revision: D30409937 fbshipit-source-id: 3c8402541c0265ad46455971c32ea7393b3f0171
Summary: Pull Request resolved: pytorch#63578 Added a new op `prim::VarStack` and a pass that transforms instances of `aten::stack(list, dim)` into `prim::VarStack(list[0], ..., list[n], dim)`. Also provided a JIT interpreter implementation. Most of the implementation/tests are the same as `prim::VarConcat`. Test Plan: `buck test caffe2/test/cpp/jit:jit -- TestStackOpt` Differential Revision: D30426232 fbshipit-source-id: 5c5e3bfb0695e1674e2067e16c06feb6d6517536
Summary: Pull Request resolved: pytorch#63579 Provide a static runtime out variant implementation for the new op introduced in D30426232. Test Plan: `buck test //caffe2/benchmarks/static_runtime:static_runtime_cpptest -- IndividualOps_VarStack` Reviewed By: navahgar Differential Revision: D30410525 fbshipit-source-id: 990de152ae1ac67f264642f89c1fa04fa868b8e4
This pull request was exported from Phabricator. Differential Revision: D30410525 |
89e5bd3
to
8c49809
Compare
This pull request has been merged in 7774a4e. |
Summary: Provide a static runtime out variant implementation for the new op introduced in D30426232.
Test Plan:
buck test //caffe2/benchmarks/static_runtime:static_runtime_cpptest -- IndividualOps_VarStack
Differential Revision: D30410525
cc @gmagogsfm