-
Notifications
You must be signed in to change notification settings - Fork 537
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
Always load custom op registrations #3265
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for pytorch-fbgemm-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This pull request was exported from Phabricator. Differential Revision: D64770837 |
This pull request was exported from Phabricator. Differential Revision: D64770837 |
Summary: Pull Request resolved: pytorch#3265 X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can just directly import those registrations rather than hide them behind the OSS vs fbcode flag. This should fix a few CI issues introduced by recently added tests. Differential Revision: D64770837
414468b
to
2bebfa7
Compare
Summary: X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can just directly import those registrations rather than hide them behind the OSS vs fbcode flag. This should fix a few CI issues introduced by recently added tests. Reviewed By: spcyppt Differential Revision: D64770837
2bebfa7
to
323afb3
Compare
This pull request was exported from Phabricator. Differential Revision: D64770837 |
323afb3
to
a4109a3
Compare
Summary: X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can just directly import those registrations rather than hide them behind the OSS vs fbcode flag. This should fix a few CI issues introduced by recently added tests. Reviewed By: spcyppt Differential Revision: D64770837
This pull request was exported from Phabricator. Differential Revision: D64770837 |
Summary: X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can clean up the initialization of the fbgemm gen_ai module to use the new operator files. This diff does that refactor, adds a helper function to load libraries in fbcode or oss, and adds a few additional operator files for other custom ops. Next, we should do full shape registration for those other custom operator libraries. Reviewed By: spcyppt Differential Revision: D64770837
a4109a3
to
55c3e5e
Compare
This pull request was exported from Phabricator. Differential Revision: D64770837 |
Summary: X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can clean up the initialization of the fbgemm gen_ai module to use the new operator files. This diff does that refactor, adds a helper function to load libraries in fbcode or oss, and adds a few additional operator files for other custom ops. Next, we should do full shape registration for those other custom operator libraries. Reviewed By: spcyppt Differential Revision: D64770837
55c3e5e
to
af9beee
Compare
This pull request was exported from Phabricator. Differential Revision: D64770837 |
Summary: X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can clean up the initialization of the fbgemm gen_ai module to use the new operator files. This diff does that refactor, adds a helper function to load libraries in fbcode or oss, and adds a few additional operator files for other custom ops. Next, we should do full shape registration for those other custom operator libraries. Reviewed By: spcyppt Differential Revision: D64770837
af9beee
to
b7dbd8a
Compare
This pull request was exported from Phabricator. Differential Revision: D64770837 |
Summary: X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can clean up the initialization of the fbgemm gen_ai module to use the new operator files. This diff does that refactor, adds a helper function to load libraries in fbcode or oss, and adds a few additional operator files for other custom ops. Next, we should do full shape registration for those other custom operator libraries. Reviewed By: spcyppt Differential Revision: D64770837
b7dbd8a
to
b4e7583
Compare
This pull request was exported from Phabricator. Differential Revision: D64770837 |
Summary: X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can clean up the initialization of the fbgemm gen_ai module to use the new operator files. This diff does that refactor, adds a helper function to load libraries in fbcode or oss, and adds a few additional operator files for other custom ops. Next, we should do full shape registration for those other custom operator libraries. Reviewed By: spcyppt Differential Revision: D64770837
b4e7583
to
a69ff66
Compare
This pull request was exported from Phabricator. Differential Revision: D64770837 |
Summary: X-link: facebookresearch/FBGEMM#366 Since some custom operators now register shape functions in python, we can clean up the initialization of the fbgemm gen_ai module to use the new operator files. This diff does that refactor, adds a helper function to load libraries in fbcode or oss, and adds a few additional operator files for other custom ops. Next, we should do full shape registration for those other custom operator libraries. Reviewed By: jianyuh, spcyppt Differential Revision: D64770837
a69ff66
to
62d74c4
Compare
This pull request was exported from Phabricator. Differential Revision: D64770837 |
Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/366
Since some custom operators now register shape functions in python, we can just directly import those registrations rather than hide them behind the OSS vs fbcode flag. This should fix a few CI issues introduced by recently added tests.
Differential Revision: D64770837