mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-04 15:04:27 -04:00
chore(deps): bump llama.cpp to 'bde188d60f58012ada0725c6dd5ba7c69fe4dd87' (#7434)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
committed by
GitHub
parent
7ce8a56e96
commit
024aa6a55b
@@ -1,5 +1,5 @@
|
||||
|
||||
LLAMA_VERSION?=e9f9483464e6f01d843d7f0293bd9c7bc6b2221c
|
||||
LLAMA_VERSION?=bde188d60f58012ada0725c6dd5ba7c69fe4dd87
|
||||
LLAMA_REPO?=https://github.com/ggerganov/llama.cpp
|
||||
|
||||
CMAKE_ARGS?=
|
||||
|
||||
@@ -1211,6 +1211,8 @@ public:
|
||||
}
|
||||
|
||||
tasks.reserve(inputs.size());
|
||||
std::vector<task_result_state> states;
|
||||
states.reserve(inputs.size());
|
||||
for (size_t i = 0; i < inputs.size(); i++) {
|
||||
server_task task = server_task(type);
|
||||
|
||||
@@ -1229,9 +1231,13 @@ public:
|
||||
task.params.oaicompat_cmpl_id = completion_id;
|
||||
// oaicompat_model is already populated by params_from_json_cmpl
|
||||
|
||||
// Extract oaicompat_chat_syntax for state tracking before moving task
|
||||
states.push_back(task.params.oaicompat_chat_syntax);
|
||||
|
||||
tasks.push_back(std::move(task));
|
||||
}
|
||||
|
||||
rd->set_states(std::move(states));
|
||||
rd->post_tasks(std::move(tasks));
|
||||
} catch (const std::exception & e) {
|
||||
return grpc::Status(grpc::StatusCode::INVALID_ARGUMENT, e.what());
|
||||
@@ -1946,6 +1952,8 @@ public:
|
||||
}
|
||||
|
||||
tasks.reserve(inputs.size());
|
||||
std::vector<task_result_state> states;
|
||||
states.reserve(inputs.size());
|
||||
for (size_t i = 0; i < inputs.size(); i++) {
|
||||
server_task task = server_task(type);
|
||||
|
||||
@@ -1964,9 +1972,13 @@ public:
|
||||
task.params.oaicompat_cmpl_id = completion_id;
|
||||
// oaicompat_model is already populated by params_from_json_cmpl
|
||||
|
||||
// Extract oaicompat_chat_syntax for state tracking before moving task
|
||||
states.push_back(task.params.oaicompat_chat_syntax);
|
||||
|
||||
tasks.push_back(std::move(task));
|
||||
}
|
||||
|
||||
rd->set_states(std::move(states));
|
||||
rd->post_tasks(std::move(tasks));
|
||||
} catch (const std::exception & e) {
|
||||
return grpc::Status(grpc::StatusCode::INVALID_ARGUMENT, e.what());
|
||||
|
||||
Reference in New Issue
Block a user