-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Convert matmuls to quantizable nn.Linear modules (#1065) #1304
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
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Differential Revision: D17912661 fbshipit-source-id: c814ee5f733200c8b962eba8f30d7f1f0223c6c9
Summary: Pull Request resolved: facebookresearch/pytext#1065 Pull Request resolved: fairinternal/fairseq-py#889 We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing. Reviewed By: jmp84, edunov, lly-zero-one, jhcross Differential Revision: D17964796 fbshipit-source-id: eed71c83082ecbf95cc5e0b4c5c1f97a59559352
Contributor
|
This pull request was exported from Phabricator. Differential Revision: D17964796 |
facebook-github-bot
pushed a commit
that referenced
this pull request
Oct 25, 2019
Summary: Pull Request resolved: #1304 Pull Request resolved: pytorch/translate#657 Pull Request resolved: facebookresearch/pytext#1065 Pull Request resolved: fairinternal/fairseq-py#889 We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing. Reviewed By: jmp84, edunov, lly-zero-one, jhcross Differential Revision: D17964796 fbshipit-source-id: 3ddd3ff81fa1ea5864dded98e993f4fe3b71fe5e
facebook-github-bot
pushed a commit
to facebookresearch/pytext
that referenced
this pull request
Oct 25, 2019
Summary: Pull Request resolved: facebookresearch/fairseq#1304 Pull Request resolved: pytorch/translate#657 Pull Request resolved: #1065 Pull Request resolved: fairinternal/fairseq-py#889 We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing. Reviewed By: jmp84, edunov, lly-zero-one, jhcross Differential Revision: D17964796 fbshipit-source-id: 3ddd3ff81fa1ea5864dded98e993f4fe3b71fe5e
moussaKam
pushed a commit
to moussaKam/language-adaptive-pretraining
that referenced
this pull request
Sep 29, 2020
Summary: Pull Request resolved: facebookresearch#1304 Pull Request resolved: pytorch/translate#657 Pull Request resolved: facebookresearch/pytext#1065 Pull Request resolved: fairinternal/fairseq-py#889 We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing. Reviewed By: jmp84, edunov, lly-zero-one, jhcross Differential Revision: D17964796 fbshipit-source-id: 3ddd3ff81fa1ea5864dded98e993f4fe3b71fe5e
yzpang
pushed a commit
to yzpang/gold-off-policy-text-gen-iclr21
that referenced
this pull request
Feb 19, 2021
Summary: Pull Request resolved: facebookresearch/fairseq#1304 Pull Request resolved: pytorch/translate#657 Pull Request resolved: facebookresearch/pytext#1065 Pull Request resolved: fairinternal/fairseq-py#889 We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing. Reviewed By: jmp84, edunov, lly-zero-one, jhcross Differential Revision: D17964796 fbshipit-source-id: 3ddd3ff81fa1ea5864dded98e993f4fe3b71fe5e
yzpang
pushed a commit
to yzpang/gold-off-policy-text-gen-iclr21
that referenced
this pull request
Feb 19, 2021
Summary: Pull Request resolved: facebookresearch/fairseq#1304 Pull Request resolved: pytorch/translate#657 Pull Request resolved: facebookresearch/pytext#1065 Pull Request resolved: fairinternal/fairseq-py#889 We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing. Reviewed By: jmp84, edunov, lly-zero-one, jhcross Differential Revision: D17964796 fbshipit-source-id: 3ddd3ff81fa1ea5864dded98e993f4fe3b71fe5e
yfyeung
pushed a commit
to yfyeung/fairseq
that referenced
this pull request
Dec 6, 2023
Harleen8118
pushed a commit
to Harleen8118/IBERT
that referenced
this pull request
Jun 26, 2025
Summary: Pull Request resolved: facebookresearch/fairseq#1304 Pull Request resolved: pytorch/translate#657 Pull Request resolved: facebookresearch/pytext#1065 Pull Request resolved: fairinternal/fairseq-py#889 We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing. Reviewed By: jmp84, edunov, lly-zero-one, jhcross Differential Revision: D17964796 fbshipit-source-id: 3ddd3ff81fa1ea5864dded98e993f4fe3b71fe5e
caltia
pushed a commit
to caltia/fairseq
that referenced
this pull request
Jul 8, 2025
Summary: Pull Request resolved: facebookresearch/fairseq#1304 Pull Request resolved: pytorch/translate#657 Pull Request resolved: facebookresearch/pytext#1065 Pull Request resolved: fairinternal/fairseq-py#889 We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing. Reviewed By: jmp84, edunov, lly-zero-one, jhcross Differential Revision: D17964796 fbshipit-source-id: 3ddd3ff81fa1ea5864dded98e993f4fe3b71fe5e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Pull Request resolved: facebookresearch/pytext#1065
Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/889
We are converting matmuls to quantizable nn.Linear modules in this diff. First let's test profile after the diff to see how low level operations are changing.
Reviewed By: jmp84, edunov, lly-zero-one, jhcross
Differential Revision: D17964796