-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace to_affine_quantized_floatx with to_affine_quantized_float8 in…
… quantization APIs ghstack-source-id: 75b010de13f2a6627d542965d6a9fa6f60b86bbb ghstack-comment-id: 2608105249 Pull Request resolved: #1599
- Loading branch information
1 parent
9fecad1
commit e1627f3
Showing
10 changed files
with
141 additions
and
154 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
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from .float8_layout import ( | ||
_linear_fp8_act_fp8_weight_check, | ||
_linear_fp8_act_fp8_weight_impl, | ||
_linear_fp_act_fp8_weight_check, | ||
_linear_fp_act_fp8_weight_impl, | ||
Float8Layout, | ||
Float8QuantizedTensor, | ||
to_affine_quantized_float8, | ||
) | ||
|
||
|
||
__all__ = [ | ||
"Float8Layout", | ||
"to_affine_quantized_float8", | ||
"Float8QuantizedTensor", | ||
"_linear_fp8_act_fp8_weight_check", | ||
"_linear_fp8_act_fp8_weight_impl", | ||
"_linear_fp_act_fp8_weight_check", | ||
"_linear_fp_act_fp8_weight_impl", | ||
] |
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
Oops, something went wrong.