We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5e1a2 commit 60b4de7Copy full SHA for 60b4de7
quantization/quantize.py
@@ -22,11 +22,12 @@
22
# AttributeError: '_OpNamespace' 'quantized_decomposed' object has no attribute 'quantize_per_channel_group'
23
from torch.ao.quantization.fx._decomposed import quantized_decomposed_lib # noqa
24
from torchao.quantization.quant_api import (
25
- quantize_,
26
int4_weight_only,
27
Int4WeightOnlyQuantizer,
28
Int8DynActInt4WeightQuantizer,
+ quantize_,
29
)
30
+from torchao.utils import unwrap_tensor_subclass
31
32
33
#########################################################################
0 commit comments