Fixed params count

This commit is contained in:
Le Hoang Anh 2023-12-20 11:10:49 +07:00
parent c02f6df7c4
commit 71c0a27fdf

View file

@ -150,10 +150,6 @@ bool gpt_params_parse_ex(int argc, char ** argv, gpt_params & params) {
}
params.seed = std::stoul(argv[i]);
} else if (arg == "-awq" || arg == "--use-awq") {
if (++i >= argc) {
invalid_param = true;
break;
}
params.use_awq = true;
} else if (arg == "-t" || arg == "--threads") {
if (++i >= argc) {