File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11import unittest
22import torch
3- from torchao .quantization . quant_primitives import (
3+ from torchao .quantization import (
44 ZeroPointDomain ,
55 MappingType ,
66)
Original file line number Diff line number Diff line change 11from . import affine_quantized_tensor_ops
22
3- # from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
43from .affine_quantized_tensor import (
54 AffineQuantizedTensor ,
65 MarlinQQQTensor ,
2928 PlainLayout ,
3029)
3130
32- # from ..prototype.dtypes.uint2 import UInt2Tensor, BitnetTensor
3331
3432__all__ = [
3533 "NF4Tensor" ,
Original file line number Diff line number Diff line change 33from 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)
You can’t perform that action at this time.
0 commit comments