mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-12 11:40:17 +00:00
Updated clip.cpp
added return type in catch block
This commit is contained in:
parent
36d9bbce6b
commit
46d20e11e2
@ -1285,6 +1285,7 @@ struct clip_ctx * clip_model_load(const char * fname, const int verbosity = 1) {
|
||||
}
|
||||
} catch (const std::exception& e) {
|
||||
LOG_TEE("Error while loading hyperparameters: %s\n", e.what());
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user