Skip to content

Commit

Permalink
Update examples/offline_profile.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Goin <michael@neuralmagic.com>
  • Loading branch information
LucasWilkinson and mgoin authored Oct 7, 2024
1 parent dffe68e commit 1792c9f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/offline_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,8 @@ def run_profile(context: ProfileContext, csv_output: Optional[str],
"--quantization",
"-q",
type=str,
choices=['awq', 'gptq', 'squeezellm', 'marlin', 'smoothquant', None],
default=None,
help="The method used to quantize the model weights, "
"options are \"marlin\", \"awq\", \"gptq\", "
"\"squeezellm\", \"smoothquant\"")
choices=[*QUANTIZATION_METHODS, None],
default=None)
parser.add_argument("--dtype",
type=str,
default='auto',
Expand Down

0 comments on commit 1792c9f

Please sign in to comment.