diff --git a/llama.h b/llama.h index c9e389d20..679493104 100644 --- a/llama.h +++ b/llama.h @@ -319,7 +319,7 @@ extern "C" { #include struct ggml_tensor; -std::vector>& llama_internal_get_tensor_map(struct llama_context * ctx); +const std::vector>& llama_internal_get_tensor_map(struct llama_context * ctx); #endif