Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully quantize Fairseq transformer (#1993)
Summary: Pull Request resolved: #1993 F.linear -> nn.Linear so FBGEMM backend could quantize the linear projection. We observed 3x+ speedup. Add backward compatibility code. Reviewed By: jhcross Differential Revision: D20967830 fbshipit-source-id: 5a4b4c41f9c46fc06a05c50f57c249e8fcd7b1c8
- Loading branch information