-
Notifications
You must be signed in to change notification settings - Fork 23.2k
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
[4/5]Testing jit module in flatbuffer in Python. #74387
Conversation
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit b382689 (more details on the Dr. CI page):
1 failure not recognized by patterns:
🚧 1 fixed upstream failure:These were probably caused by upstream breakages that were already fixed.
Please rebase on the
|
This pull request was exported from Phabricator. Differential Revision: D34968080 |
@@ -824,7 +824,16 @@ def make_relative_rpath_args(path): | |||
include_dirs=[], | |||
library_dirs=library_dirs, | |||
extra_link_args=extra_link_args + main_link_args + make_relative_rpath_args('lib')) | |||
C_flatbuffer = Extension("torch._C_flatbuffer", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a pretty high-level and user-facing extension. Why not adding _flatbuffer
to `torch._C', so we don't have to add a new extension here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
//caffe2:torch
cannot depend on flatbuffer without breaking some downstreams. So the use of flatbuffer features for them is opt-in. Therefore, it has to be separate .so to be generated, and thus different names.
This pull request was exported from Phabricator. Differential Revision: D34968080 |
This pull request was exported from Phabricator. Differential Revision: D34968080 |
This pull request was exported from Phabricator. Differential Revision: D34968080 |
Summary: Pull Request resolved: pytorch#74387 Make temporary python bindings for flatbuffer to test ScriptModule save / load. Test Plan: unittest Reviewed By: iseeyuan Differential Revision: D34968080 fbshipit-source-id: 7183f514821573a7543531465f53e115467a9daa
This pull request was exported from Phabricator. Differential Revision: D34968080 |
Summary: Pull Request resolved: #74387 Make temporary python bindings for flatbuffer to test ScriptModule save / load. (Note: this ignores all push blocking failures!) Test Plan: unittest Reviewed By: iseeyuan Differential Revision: D34968080 fbshipit-source-id: d23b16abda6e4b7ecf6b1198ed6e00908a3db903
Hey @qihqi. |
Summary: Pull Request resolved: #74387 Make temporary python bindings for flatbuffer to test ScriptModule save / load. (Note: this ignores all push blocking failures!) Test Plan: unittest Reviewed By: iseeyuan Differential Revision: D34968080 fbshipit-source-id: d23b16abda6e4b7ecf6b1198ed6e00908a3db903 (cherry picked from commit 5cbbc39)
Summary: Make temporary python bindings for flatbuffer to test ScriptModule save / load.
Test Plan: unittest
Differential Revision: D34968080