Skip to content

Commit

Permalink
Fix an import after previous refactor
Browse files Browse the repository at this point in the history
Summary:
att

Test Plan:
CI

Reviewers:

Subscribers:

Tasks:

Tags:
  • Loading branch information
jerryzh168 committed Jul 3, 2024
1 parent a895699 commit 93e3c6a
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 93e3c6a

Please sign in to comment.