This commit is contained in:
John Smith 2023-04-09 12:44:50 +08:00
parent 8cf3bd4086
commit 4c18a56fc0
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ def _matmul4bit_v2_recons(x, qweight, scales, zeros, g_idx, transpose=False):
def matmul4bit(x, qweight, scales, zeros, g_idx=None):
# detect if zeros is int32
if zeros.dtype == torch.int32:
if zeros.dtype != torch.int32:
# use v1
if use_new:
if auto_switch: