We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9350da commit b001783Copy full SHA for b001783
backend/cpp/llama/grpc-server.cpp
@@ -458,7 +458,9 @@ struct llama_server_context
458
}
459
460
461
- std::tie(model, ctx) = llama_init_from_gpt_params(params);
+ llama_init_result llama_init = llama_init_from_gpt_params(params);
462
+ llama_model * model = llama_init.model;
463
+ llama_context * ctx = llama_init.context;
464
if (model == nullptr)
465
{
466
LOG_ERROR("unable to load model", {{"model", params.model}});
0 commit comments