diff --git a/common/common.cpp b/common/common.cpp index d8891b0d9..7053ed270 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -149,7 +149,7 @@ bool gpt_params_parse_ex(int argc, char ** argv, gpt_params & params) { break; } params.seed = std::stoul(argv[i]); - } else if (arg == "-awq" || arg == "--use-awq") { + } else if (arg == "--use-awq") { params.use_awq = true; } else if (arg == "-t" || arg == "--threads") { if (++i >= argc) { @@ -811,7 +811,7 @@ void gpt_print_usage(int /*argc*/, char ** argv, const gpt_params & params) { printf(" (can be specified more than once for multiple prompts).\n"); printf(" --color colorise output to distinguish prompt and user input from generations\n"); printf(" -s SEED, --seed SEED RNG seed (default: -1, use random seed for < 0)\n"); - printf(" -awq, --use-awq Using AWQ quantization model in inferences\n"); + printf(" --use-awq Using AWQ quantization model in inferences\n"); printf(" -t N, --threads N number of threads to use during generation (default: %d)\n", params.n_threads); printf(" -tb N, --threads-batch N\n"); printf(" number of threads to use during batch and prompt processing (default: same as --threads)\n");