Skip to content

Commit 6c3f4a6

Browse files
committed
Testing class method
1 parent 457bdf1 commit 6c3f4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchao/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ class PlainAQTTensorImpl(...):
573573
__torch_function__ = classmethod(_dispatch__torch_function__)
574574
register_layout = classmethod(_register_layout)
575575
get_tensor_impl_constructor = classmethod(_get_tensor_impl_constructor)
576-
_get_to_kwargs = _get_to_kwargs
576+
_get_to_kwargs = classmethod(_get_to_kwargs)
577577

578578
def __tensor_flatten__(self):
579579
raise NotImplementedError("Subclasses must implement __tensor_flatten__")

0 commit comments

Comments
 (0)