-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add Rowwise Prune PyTorch op #42708
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
Add Rowwise Prune PyTorch op #42708
Conversation
This pull request was exported from Phabricator. Differential Revision: D22849432 |
💊 CI failures summary and remediationsAs of commit e403b0d (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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 52 times. |
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.
Please see comments
Addressed comments. |
This pull request was exported from Phabricator. Differential Revision: D22849432 |
d81845b
to
902501e
Compare
This pull request was exported from Phabricator. Differential Revision: D22849432 |
902501e
to
7f10335
Compare
This pull request was exported from Phabricator. Differential Revision: D22849432 |
7f10335
to
8ea6f4b
Compare
This pull request was exported from Phabricator. Differential Revision: D22849432 |
8ea6f4b
to
d4d362e
Compare
This pull request was exported from Phabricator. Differential Revision: D22849432 |
d4d362e
to
719dc44
Compare
719dc44
to
a4cdf4d
Compare
This pull request was exported from Phabricator. Differential Revision: D22849432 |
Summary: Pull Request resolved: pytorch#42708 Add rowwise prune pytorch op. This operator introduces sparsity to the 'weights' matrix with the help of the importance indicator 'mask'. A row is considered important and not pruned if the mask value for that particular row is 1(True) and not important otherwise. Test Plan: buck test caffe2/torch/fb/sparsenn:test -- rowwise_prune buck test caffe2/test:pruning Reviewed By: supriyar Differential Revision: D22849432 fbshipit-source-id: b9eaa128fd8b8d63cf1aa2270dbb23f7816bf79d
This pull request was exported from Phabricator. Differential Revision: D22849432 |
a4cdf4d
to
e403b0d
Compare
This reverts commit 8032dbc.
Summary:
Add rowwise prune pytorch op.
This operator introduces sparsity to the 'weights' matrix with the help
of the importance indicator 'mask'.
A row is considered important and not pruned if the mask value for that
particular row is 1(True) and not important otherwise.
Test Plan:
buck test caffe2/torch/fb/sparsenn:test -- rowwise_prune
buck test caffe2/test:pruning
Differential Revision: D22849432