Skip to content

Commit 745529e

Browse files
Update
[ghstack-poisoned]
1 parent 4a1c1ea commit 745529e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

torchao/dtypes/affine_quantized_tensor.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66

77
from torchao.dtypes.utils import AQTTensorImpl, Layout, PlainLayout
88
from torchao.quantization.quant_primitives import (
9-
FP8_TYPES,
10-
MappingType,
11-
ZeroPointDomain,
129
choose_qparams_affine,
1310
choose_qparams_affine_float8,
1411
choose_qparams_affine_floatx,
1512
choose_qparams_and_quantize_affine_hqq,
1613
dequantize_affine,
1714
dequantize_affine_floatx,
15+
FP8_TYPES,
16+
MappingType,
1817
quantize_affine,
1918
quantize_affine_float8,
2019
quantize_affine_floatx,
20+
ZeroPointDomain,
2121
)
2222
from torchao.utils import TORCH_VERSION_AT_LEAST_2_5, TorchAOBaseTensor
2323

@@ -29,6 +29,7 @@
2929
"register_layout",
3030
"to_affine_quantized_intx",
3131
"to_affine_quantized_floatx",
32+
"to_affine_quantized_float8",
3233
"to_affine_quantized_intx_static",
3334
"to_affine_quantized_floatx_static",
3435
"to_affine_quantized_fpx",

0 commit comments

Comments
 (0)