Modify exllama weight

This commit is contained in:
Michael Feil 2023-08-03 23:20:59 +02:00 committed by GitHub
parent 8af4a7a0b0
commit a9838bba2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ def get_linear(weight, bias, quantize):
)
elif quantize == "gptq":
try:
qweight, qzeros, scales, g_idx, bits, groupsize = weight
qweight, qzeros, scales, g_idx, bits, groupsize, use_exllama = weight
except Exception:
raise NotImplementedError(
f"The passed weight is not `gptq` compatible, loader needs to be updated."