Skip to content

Commit b9245cc

Browse files
committed
Minor fixes
1 parent 6ff85f5 commit b9245cc

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

test/hqq/test_hqq_affine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22
import torch
3-
from torchao.quantization.quant_primitives import (
3+
from torchao.quantization import (
44
ZeroPointDomain,
55
MappingType,
66
)

torchao/dtypes/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from . import affine_quantized_tensor_ops
22

3-
# from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
43
from .affine_quantized_tensor import (
54
AffineQuantizedTensor,
65
MarlinQQQTensor,
@@ -29,7 +28,6 @@
2928
PlainLayout,
3029
)
3130

32-
# from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
3331

3432
__all__ = [
3533
"NF4Tensor",

torchao/prototype/hqq/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from torchao.dtypes.affine_quantized_tensor import (
44
to_affine_quantized_intx,
55
)
6-
from torchao.quantization.quant_primitives import (
6+
from torchao.quantization import (
77
ZeroPointDomain,
88
MappingType,
99
)

0 commit comments

Comments
 (0)