Skip to content

Commit 8d53098

Browse files
authored
Fix an import after previous refactor (pytorch#471)
Summary: att Test Plan: CI Reviewers: Subscribers: Tasks: Tags:
1 parent 9802ed8 commit 8d53098

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

torchao/dtypes/affine_quantized_tensor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,10 @@ def __torch_dispatch__(cls, func, types, args, kwargs):
509509
def get_plain(self):
510510
from torchao.quantization.quant_primitives import (
511511
ZeroPointDomain,
512-
unpack_tinygemm_scales_and_zeros,
513512
quantize_affine,
514513
)
514+
from torchao.quantization.utils import unpack_tinygemm_scales_and_zeros
515+
515516
cur_shape = self.shape
516517
assert len(cur_shape) == 4
517518
inner_k_tiles = cur_shape[-1] * 2

0 commit comments

Comments
 (0)