Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion torchao/dtypes/affine_quantized_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,10 @@ def __torch_dispatch__(cls, func, types, args, kwargs):
def get_plain(self):
from torchao.quantization.quant_primitives import (
ZeroPointDomain,
unpack_tinygemm_scales_and_zeros,
quantize_affine,
)
from torchao.quantization.utils import unpack_tinygemm_scales_and_zeros

cur_shape = self.shape
assert len(cur_shape) == 4
inner_k_tiles = cur_shape[-1] * 2
Expand Down