Convert matmuls to quantizable nn.Linear modules (#1304)
Summary: Pull Request resolved: https://github.com/pytorch/fairseq/pull/1304 Pull Request resolved: https://github.com/pytorch/translate/pull/657 Pull Request resolved: https://github.com/facebookresearch/pytext/pull/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 fbshipit-source-id: 3ddd3ff81fa1ea5864dded98e993f4fe3b71fe5e
Showing
Please register or sign in to comment