Skip to content

Commit

Permalink
modify attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
SunMarc committed Jul 26, 2023
1 parent 3633d43 commit 1df19a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/gptq/quantizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def tmp(_, input, output):
if not self.pack_sequentially:
self.pack_model(model=model, quantizers=quantizers)

model._is_quantized_gptq = True
model._is_gptq_quantized = True
if has_config:
model.config.use_cache = use_cache
model.config.quantization_config = self.to_dict()
Expand Down

0 comments on commit 1df19a1

Please sign in to comment.