Skip to content

Commit d583d1c

Browse files
committed
fix typo
1 parent 2c2feba commit d583d1c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎torchao/dtypes/uintx/__init__.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,5 @@
4747
"CutlassInt4PackedLayout",
4848
"PackedLinearInt8DynamicActivationIntxWeightLayout",
4949
"QDQLayout",
50-
"Int4XPULayout"
51-
50+
"Int4XPULayout",
5251
]

‎torchao/quantization/subclass.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,8 @@ def to(self, *args, **kwargs):
544544
self.groupsize,
545545
self.inner_k_tiles,
546546
self.zero_point_domain,
547-
self.preserve_zero**kwargs,
547+
self.preserve_zero,
548+
**kwargs,
548549
)
549550

550551
def _apply_fn_to_data(self, fn):

0 commit comments

Comments
 (0)