Skip to content

Commit

Permalink
Fix n_samples (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
casper-hansen authored Feb 3, 2024
1 parent cc75d0e commit ebe8fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awq/quantize/quantizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def _compute_best_clip(

return best_max_val.squeeze(1)

def init_quant(self, n_samples=2, seqlen=512):
def init_quant(self, n_samples=128, seqlen=512):
modules = self.awq_model.get_model_layers(self.model)
samples = get_calib_dataset(
data=self.calib_data,
Expand Down

0 comments on commit ebe8fc3

Please sign in to comment.