File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
import unittest
2
2
import torch
3
- from torchao .quantization . quant_primitives import (
3
+ from torchao .quantization import (
4
4
ZeroPointDomain ,
5
5
MappingType ,
6
6
)
Original file line number Diff line number Diff line change 1
1
from . import affine_quantized_tensor_ops
2
-
3
- # from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
4
2
from .affine_quantized_tensor import (
5
3
AffineQuantizedTensor ,
6
4
MarlinQQQTensor ,
29
27
PlainLayout ,
30
28
)
31
29
32
- # from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
33
-
34
30
__all__ = [
35
31
"NF4Tensor" ,
36
32
"to_nf4" ,
Original file line number Diff line number Diff line change 3
3
from torchao .dtypes .affine_quantized_tensor import (
4
4
to_affine_quantized_intx ,
5
5
)
6
- from torchao .quantization . quant_primitives import (
6
+ from torchao .quantization import (
7
7
ZeroPointDomain ,
8
8
MappingType ,
9
9
)
You can’t perform that action at this time.
0 commit comments