Update common/common.cpp

Remove whitespace and align brace

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
bmwl 2024-02-15 07:15:05 -08:00 committed by GitHub
parent c847828c89
commit 377b58ffe0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -676,9 +676,9 @@ bool gpt_params_parse_ex(int argc, char ** argv, gpt_params & params) {
break;
} else {
std::string value(argv[i]);
/**/ if (value == "distribute" || value == "" ) { params.numa = GGML_NUMA_STRATEGY_DISTRIBUTE; }
/**/ if (value == "distribute" || value == "" ) { params.numa = GGML_NUMA_STRATEGY_DISTRIBUTE; }
else if (value == "isolate") { params.numa = GGML_NUMA_STRATEGY_ISOLATE; }
else if (value == "numactl") { params.numa = GGML_NUMA_STRATEGY_NUMACTL; }
else if (value == "numactl") { params.numa = GGML_NUMA_STRATEGY_NUMACTL; }
else { invalid_param = true; break; }
}
} else if (arg == "--verbose-prompt") {