Skip to content

Commit 60b4de7

Browse files
committed
Add import
1 parent 2b5e1a2 commit 60b4de7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

quantization/quantize.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
# AttributeError: '_OpNamespace' 'quantized_decomposed' object has no attribute 'quantize_per_channel_group'
2323
from torch.ao.quantization.fx._decomposed import quantized_decomposed_lib # noqa
2424
from torchao.quantization.quant_api import (
25-
quantize_,
2625
int4_weight_only,
2726
Int4WeightOnlyQuantizer,
2827
Int8DynActInt4WeightQuantizer,
28+
quantize_,
2929
)
30+
from torchao.utils import unwrap_tensor_subclass
3031

3132

3233
#########################################################################

0 commit comments

Comments
 (0)