-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Move the registration of CPython builtin modules to BuiltinRegistry #67085
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
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slowFor more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 26b1a9b (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: D31848547 |
|
This pull request was exported from Phabricator. Differential Revision: D31848547 |
bdd5f90 to
0c23961
Compare
|
This pull request was exported from Phabricator. Differential Revision: D31848547 |
0c23961 to
bc307de
Compare
|
This pull request was exported from Phabricator. Differential Revision: D31848547 |
bc307de to
00d7c20
Compare
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.
Overall looks pretty good to me!
Just one thing about code structure. Can we put all the registration code for frozenpython to its separate file since it gets bigger? Check an example of how we do that for numpy here
|
This pull request was exported from Phabricator. Differential Revision: D31848547 |
00d7c20 to
6be217a
Compare
|
This pull request was exported from Phabricator. Differential Revision: D31848547 |
6be217a to
a738255
Compare
|
This pull request was exported from Phabricator. Differential Revision: D31848547 |
a738255 to
1bfaf05
Compare
|
This pull request was exported from Phabricator. Differential Revision: D31848547 |
1bfaf05 to
584d7d6
Compare
…ytorch#67085) Summary: Pull Request resolved: pytorch#67085 leverages BuiltinRegistry to register the CPython standard C modules. The standard C modules moved are in the FOR_EACH macro Test Plan: buck test mode/opt //caffe2/torch/csrc/deploy/interpreter:test_builtin_registry buck test mode/opt //caffe2/torch/csrc/deploy:test_deploy Differential Revision: D31848547 fbshipit-source-id: 9e33d0c0a350cf62467ba3b1efea3dda685d392e
|
This pull request was exported from Phabricator. Differential Revision: D31848547 |
584d7d6 to
26b1a9b
Compare
…67085) Summary: Pull Request resolved: #67085 leverages BuiltinRegistry to register the CPython standard C modules. The standard C modules moved are in the FOR_EACH macro Test Plan: buck test mode/opt //caffe2/torch/csrc/deploy/interpreter:test_builtin_registry buck test mode/opt //caffe2/torch/csrc/deploy:test_deploy Reviewed By: shunting314 Differential Revision: D31848547 fbshipit-source-id: 7eb49d222eaaccb2b8ca5c984b05bf54cc233f25
…67085) Summary: Pull Request resolved: #67085 leverages BuiltinRegistry to register the CPython standard C modules. The standard C modules moved are in the FOR_EACH macro Test Plan: buck test mode/opt //caffe2/torch/csrc/deploy/interpreter:test_builtin_registry buck test mode/opt //caffe2/torch/csrc/deploy:test_deploy Reviewed By: shunting314 Differential Revision: D31848547 fbshipit-source-id: 7eb49d222eaaccb2b8ca5c984b05bf54cc233f25
Summary: leverages BuiltinRegistry to register the CPython standard C modules. The standard C modules moved are in the FOR_EACH macro
Test Plan:
buck test mode/opt //caffe2/torch/csrc/deploy/interpreter:test_builtin_registry
buck test mode/opt //caffe2/torch/csrc/deploy:test_deploy
Differential Revision: D31848547