Skip to content

Commit

Permalink
axis=1 check
Browse files Browse the repository at this point in the history
  • Loading branch information
mobicham committed May 6, 2024
1 parent f5a2f7e commit 108cdf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hqq/backends/torchao.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(
self.inner_k_tiles = inner_k_tiles
self.padding = padding

assert self.axis, "Only axis==1 is supported"
assert self.axis==1, "Only axis==1 is supported"
assert self.nbits in [4], "Unsupported nbits."
assert (
self.compute_dtype is bfloat16
Expand Down

0 comments on commit 108cdf6

Please sign in to comment.