Merge pull request #1 from ibehnam/ibehnam-patch-server-cb
allow continuous batching to be disabled
This commit is contained in:
commit
275ccea394
1 changed files with 2 additions and 2 deletions
|
@ -2599,8 +2599,8 @@ static void server_params_parse(int argc, char ** argv, server_params & sparams,
|
||||||
}
|
}
|
||||||
} else if (arg == "--embedding" || arg == "--embeddings") {
|
} else if (arg == "--embedding" || arg == "--embeddings") {
|
||||||
params.embedding = true;
|
params.embedding = true;
|
||||||
} else if (arg == "-cb" || arg == "--cont-batching") {
|
} else if (arg == "-nocb" || arg == "--no-cont-batching") {
|
||||||
params.cont_batching = true;
|
params.cont_batching = false;
|
||||||
} else if (arg == "-np" || arg == "--parallel") {
|
} else if (arg == "-np" || arg == "--parallel") {
|
||||||
if (++i >= argc) {
|
if (++i >= argc) {
|
||||||
invalid_param = true;
|
invalid_param = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue