talk-llama : sync llama.cpp

This commit is contained in:
Georgi Gerganov
2025-10-22 12:58:11 +03:00
parent 35ea5ced60
commit 322c2adb75
13 changed files with 431 additions and 45 deletions
+3
View File
@@ -124,6 +124,9 @@ static int llama_model_load(const std::string & fname, std::vector<std::string>
} catch(const std::exception & e) {
throw std::runtime_error("error loading model hyperparameters: " + std::string(e.what()));
}
if (model.arch == LLM_ARCH_CLIP) {
throw std::runtime_error("CLIP cannot be used as main model, use it with --mmproj instead");
}
try {
model.load_vocab(ml);
} catch(const std::exception & e) {