Skip to content

Commit

Permalink
Update matmul_4bits_quantizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyems authored Dec 19, 2023
1 parent 98510fb commit 4d4d437
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ def parse_args():

parser.add_argument("--input_model", required=True, help="Path to the input model file")
parser.add_argument("--output_model", required=True, help="Path to the output model file")
parser.add_argument("--block_size", required=False, default=32)
parser.add_argument("--block_size", required=False, default=32, type=int, help="Block size for quantization")
parser.add_argument(
"--symmetric", required=False, default=True, help="Indicate whether to quantize the model symmetrically"
"--symmetric", required=False, default=True, type=bool, help="Indicate whether to quantize the model symmetrically"
)
parser.add_argument("-v", "--verbose", required=False, action="store_true")
parser.set_defaults(verbose=False)
Expand Down

0 comments on commit 4d4d437

Please sign in to comment.