Merge CompilationUnit from torch._C and torch.jit#50614
Merge CompilationUnit from torch._C and torch.jit#50614t-vi wants to merge 3 commits intopytorch:masterfrom
Conversation
7f7f2c7 to
c4f41d4
Compare
c4f41d4 to
023380e
Compare
|
Forgot the signatures. Will fix. |
Codecov Report
@@ Coverage Diff @@
## master #50614 +/- ##
=======================================
Coverage 80.65% 80.65%
=======================================
Files 1912 1912
Lines 208048 208071 +23
=======================================
+ Hits 167810 167829 +19
- Misses 40238 40242 +4 |
|
I think this is ready. |
SplitInfinity
left a comment
There was a problem hiding this comment.
Nice! I left a few comments about things I'd like to discuss.
|
@t-vi Can you fix up the two small issues (the name of the new function you added and the binding for getting the python CU)? I can approve once that's done. In the meantime, I will import this to run internal FB tests. |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@SplitInfinity has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
There was a problem hiding this comment.
One more thing - why is this module_ instead of module?
There was a problem hiding this comment.
Sleeping on the _....
There was a problem hiding this comment.
Thank you for catching all these!
Notably it doesn't say "try rebasing"... |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@SplitInfinity has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
It does not, but that's the recommended solution (not mentioned because this is not "supposed to happen"). |
|
@SplitInfinity can I do anything to help it along? |
|
I encountered some flaky internal tests so I was rebasing for a few days to make sure this PR wasn't the issue. Everything looks okay now, so I'm going to try and merge this today. |
This simplifies our handling and allows passing CompilationUnits from Python to C++ defined functions via PyBind easily.
d9e56eb to
695cbff
Compare
|
@SplitInfinity merged this pull request in ac0a3cc. |
Summary: This simplifies our handling and allows passing CompilationUnits from Python to C++ defined functions via PyBind easily. Discussed on Slack with SplitInfinity Pull Request resolved: pytorch#50614 Reviewed By: anjali411 Differential Revision: D25938005 Pulled By: SplitInfinity fbshipit-source-id: 94aadf0c063ddfef7ca9ea17bfa998d8e7b367ad
This simplifies our handling and allows passing CompilationUnits from Python to C++ defined functions via PyBind easily.
Discussed on Slack with @SplitInfinity