forked from pytorch/ao
-
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.
Reapply Autoquant (pytorch#82) (pytorch#109)
- Loading branch information
Showing
8 changed files
with
546 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,4 @@ jobs: | |
- name: Run tests | ||
run: | | ||
pytest test --verbose -s -x | ||
pytest test --verbose -s |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
from torchao.quantization import ( | ||
apply_weight_only_int8_quant, | ||
apply_dynamic_quant, | ||
autoquant, | ||
) | ||
from . import dtypes | ||
from .quantization.quant_api import apply_dynamic_quant | ||
from .quantization.quant_api import apply_weight_only_int8_quant | ||
|
||
__all__ = [ | ||
"dtypes", | ||
"apply_dynamic_quant", | ||
"dtypes", | ||
"apply_dynamic_quant", | ||
"apply_weight_only_int8_quant", | ||
"autoquant", | ||
] |
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
Oops, something went wrong.