forked from pytorch/executorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support fp32 activation for quantizing llama2 to int8 activation and …
…int4 weight (pytorch#2032) Summary: Pull Request resolved: pytorch#2032 Previously we only supported quantizing fp16 activations to int8. This adds support for quantizing fp32 activations as well to enable testing. Representation: https://www.internalfb.com/intern/everpaste/?handle=GAoWXBlf5O8T4TMBAP8Cps4UiVx7bsIXAAAz Reviewed By: digantdesai Differential Revision: D54032932 fbshipit-source-id: baaddbd385985240689444041c5de33245c86dcf
- Loading branch information
1 parent
33306d3
commit 78ce089
Showing
3 changed files
with
94 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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