Skip to content

Commit

Permalink
fix: quant
Browse files Browse the repository at this point in the history
  • Loading branch information
3outeille committed May 3, 2023
1 parent 223488e commit 2e1a70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantize/gptq/quant.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def make_quant(module, names, bits, groupsize, name=''):
make_quant(child, names, bits, groupsize, name + '.' + name1 if name != '' else name1)

def make_quant_custom(module, names, bits, groupsize, name=''):
if isinstance(module, QuantLinear):
if isinstance(module, QuantLinear_custom):
return
for attr in dir(module):
tmp = getattr(module, attr)
Expand Down

0 comments on commit 2e1a70e

Please sign in to comment.