Update common/common.cpp

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
Pierrick Hymbert 2024-03-16 17:46:34 +01:00 committed by GitHub
parent e84206d132
commit 4bc47b75ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1803,7 +1803,7 @@ struct llama_model *llama_load_model_from_url(const char *model_url, const char
#else #else
struct llama_model *llama_load_model_from_url(const char * /*model_url*/, const char * /*path_model*/, struct llama_model * llama_load_model_from_url(const char * /*model_url*/, const char * /*path_model*/,
struct llama_model_params /*params*/) { struct llama_model_params /*params*/) {
fprintf(stderr, "%s: llama.cpp built without curl support, downloading from an url not supported.\n", __func__); fprintf(stderr, "%s: llama.cpp built without curl support, downloading from an url not supported.\n", __func__);
return nullptr; return nullptr;