File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
from torchao .dtypes .utils import AQTTensorImpl , Layout , PlainLayout
8
8
from torchao .quantization .quant_primitives import (
9
- FP8_TYPES ,
10
- MappingType ,
11
- ZeroPointDomain ,
12
9
choose_qparams_affine ,
13
10
choose_qparams_affine_float8 ,
14
11
choose_qparams_affine_floatx ,
15
12
choose_qparams_and_quantize_affine_hqq ,
16
13
dequantize_affine ,
17
14
dequantize_affine_floatx ,
15
+ FP8_TYPES ,
16
+ MappingType ,
18
17
quantize_affine ,
19
18
quantize_affine_float8 ,
20
19
quantize_affine_floatx ,
20
+ ZeroPointDomain ,
21
21
)
22
22
from torchao .utils import TORCH_VERSION_AT_LEAST_2_5 , TorchAOBaseTensor
23
23
29
29
"register_layout" ,
30
30
"to_affine_quantized_intx" ,
31
31
"to_affine_quantized_floatx" ,
32
+ "to_affine_quantized_float8" ,
32
33
"to_affine_quantized_intx_static" ,
33
34
"to_affine_quantized_floatx_static" ,
34
35
"to_affine_quantized_fpx" ,
You can’t perform that action at this time.
0 commit comments