talk-llama : sync llama.cpp

This commit is contained in:
Georgi Gerganov
2025-09-20 13:58:28 +03:00
parent 66ad624d5b
commit 36778bd8b8
36 changed files with 2997 additions and 2243 deletions
@@ -788,6 +788,7 @@ const struct ggml_tensor * llama_model_loader::check_tensor_dims(const std::stri
}
struct ggml_tensor * llama_model_loader::create_tensor(struct ggml_context * ctx, const std::string & name, const std::initializer_list<int64_t> & ne, int flags) {
LLAMA_LOG_DEBUG("%s: loading tensor %s\n", __func__, name.c_str());
const struct ggml_tensor * cur = check_tensor_dims(name, ne, !(flags & TENSOR_NOT_REQUIRED));
if (cur == NULL) {