mirror of
https://github.com/ggerganov/llama.cpp
synced 2026-04-26 05:21:53 +02:00
cleaning debugging stuff
This commit is contained in:
parent
935d46fab0
commit
624699c53f
@ -2220,14 +2220,8 @@ llama_context * llama_init_from_model(
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
// try {
|
||||
auto * ctx = new llama_context(*model, params);
|
||||
return ctx;
|
||||
// } catch (const std::exception & err) {
|
||||
// LLAMA_LOG_ERROR("%s: failed to initialize the context: %s\n", __func__, err.what());
|
||||
// }
|
||||
|
||||
// return nullptr;
|
||||
}
|
||||
|
||||
// deprecated
|
||||
|
||||
Loading…
Reference in New Issue
Block a user