Skip to content

Commit 09b8b3c

Browse files
authored
Add float8_static_activation_float8_weight to user-facing API (#994)
1 parent e919558 commit 09b8b3c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

torchao/quantization/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
"int4_weight_only",
4747
"int8_weight_only",
4848
"uintx_weight_only",
49-
"float8_weight_only",
5049
"fpx_weight_only",
5150
"LinearActivationQuantizedTensor",
5251
"to_linear_activation_quantized",
5352
"to_weight_tensor_with_linear_activation_scale_metadata",
5453
"float8_weight_only",
55-
"float8_dynamic_activation_float8_weight"
54+
"float8_dynamic_activation_float8_weight",
55+
"float8_static_activation_float8_weight"
5656
]

torchao/quantization/quant_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
"uintx_weight_only",
9494
"fpx_weight_only",
9595
"float8_dynamic_activation_float8_weight",
96+
"float8_static_activation_float8_weight",
9697
]
9798

9899
from .GPTQ import (

0 commit comments

Comments
 (0)