Skip to content

Conversation

mikeiovine
Copy link

@mikeiovine mikeiovine commented Aug 19, 2021

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

@facebook-github-bot facebook-github-bot added oncall: jit Add this issue/PR to JIT oncall triage queue cla signed labels Aug 19, 2021
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Aug 19, 2021

🔗 Helpful links

💊 CI failures summary and remediations

As 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.

Click here to manually regenerate this comment.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D30410525

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D30410525

@codecov
Copy link

codecov bot commented Aug 20, 2021

Codecov Report

Merging #63579 (8c49809) into master (726fd26) will increase coverage by 0.08%.
The diff coverage is 95.23%.

@@            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     

Mike Iovine added 3 commits August 23, 2021 06:29
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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D30410525

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 7774a4e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed fb-exported Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants