Skip to content

Commit d992432

Browse files
committed
Minor fixes
1 parent 6ff85f5 commit d992432

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
from . import affine_quantized_tensor_ops
2-
3-
# from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
42
from .affine_quantized_tensor import (
53
AffineQuantizedTensor,
64
MarlinQQQTensor,
@@ -29,8 +27,6 @@
2927
PlainLayout,
3028
)
3129

32-
# from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
33-
3430
__all__ = [
3531
"NF4Tensor",
3632
"to_nf4",

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)