Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/cpp/llama-cpp/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

LLAMA_VERSION?=4abef75f2cf2eee75eb5083b30a94cf981587394
LLAMA_VERSION?=d82b7a7c1d73c0674698d9601b1bbb0200933f29
LLAMA_REPO?=https://github.com/ggerganov/llama.cpp

CMAKE_ARGS?=
Expand Down
6 changes: 3 additions & 3 deletions backend/cpp/llama-cpp/grpc-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ class BackendServiceImpl final : public backend::Backend::Service {
task.id_slot = json_value(data, "id_slot", -1);

// OAI-compat
task.params.oaicompat = OAICOMPAT_TYPE_NONE;
task.params.res_type = TASK_RESPONSE_TYPE_NONE;
task.params.oaicompat_cmpl_id = completion_id;
// oaicompat_model is already populated by params_from_json_cmpl

Expand Down Expand Up @@ -1930,7 +1930,7 @@ class BackendServiceImpl final : public backend::Backend::Service {
task.id_slot = json_value(data, "id_slot", -1);

// OAI-compat
task.params.oaicompat = OAICOMPAT_TYPE_NONE;
task.params.res_type = TASK_RESPONSE_TYPE_NONE;
task.params.oaicompat_cmpl_id = completion_id;
// oaicompat_model is already populated by params_from_json_cmpl

Expand Down Expand Up @@ -2056,7 +2056,7 @@ class BackendServiceImpl final : public backend::Backend::Service {
task.index = i;
task.tokens = std::move(tokenized_prompts[i]);

task.params.oaicompat = OAICOMPAT_TYPE_NONE;
task.params.res_type = TASK_RESPONSE_TYPE_NONE;
task.params.embd_normalize = embd_normalize;
tasks.push_back(std::move(task));
}
Expand Down
Loading