Skip to content

Commit

Permalink
Increase obcq nsamples to 512 (#1812)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoin authored and bfineran committed Nov 16, 2023
1 parent cc5981c commit d0d3db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparseml/transformers/sparsification/obcq/obcq.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _save(model, tokenizer, save_path, recipe_path):
help="Name of dataset to extract calibration data from",
)
parser.add_argument(
"--nsamples", type=int, default=128, help="Number of calibration data samples"
"--nsamples", type=int, default=512, help="Number of calibration data samples"
)
parser.add_argument("--device", type=str, default="cuda:0")
parser.add_argument("--deploy-dir", type=str, default=".")
Expand Down

0 comments on commit d0d3db5

Please sign in to comment.