Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jainapurva committed Nov 14, 2024
1 parent 6ff85f5 commit b9245cc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/hqq/test_hqq_affine.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
import torch
from torchao.quantization.quant_primitives import (
from torchao.quantization import (
ZeroPointDomain,
MappingType,
)
Expand Down
2 changes: 0 additions & 2 deletions torchao/dtypes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from . import affine_quantized_tensor_ops

# from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
from .affine_quantized_tensor import (
AffineQuantizedTensor,
MarlinQQQTensor,
Expand Down Expand Up @@ -29,7 +28,6 @@
PlainLayout,
)

# from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor

__all__ = [
"NF4Tensor",
Expand Down
2 changes: 1 addition & 1 deletion torchao/prototype/hqq/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from torchao.dtypes.affine_quantized_tensor import (
to_affine_quantized_intx,
)
from torchao.quantization.quant_primitives import (
from torchao.quantization import (
ZeroPointDomain,
MappingType,
)
Expand Down

0 comments on commit b9245cc

Please sign in to comment.