Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: yiliu30 <yi4.liu@intel.com>
  • Loading branch information
yiliu30 committed Sep 17, 2024
1 parent a5722d8 commit 47103a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchao/_models/llama/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def run_evaluation(
# parse args from quantization string:
# autoround-<model_device>-<quant_lm_head>-<iters>-<groupsize>-<batch_size>-<seqlen>-<nsamples>-<grad_acc_steps>-<c>
_quant_args = quantization.split("-")
_default_quant_args = [False, 200, 128, 8, 2048, 128, 0, 1]
_default_quant_args = [False, 200, 128, 8, 2048, 128, 1, 0]
_model_devie = _quant_args[1] if len(_quant_args) > 1 else device
_quant_args = _quant_args[2:]
(
Expand Down

0 comments on commit 47103a5

Please sign in to comment.