]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama: add LLAMA_API to deprecated llama_kv_self_seq_div (#14708)
authorMin-Hua <redacted>
Wed, 16 Jul 2025 04:00:42 +0000 (12:00 +0800)
committerGitHub <redacted>
Wed, 16 Jul 2025 04:00:42 +0000 (07:00 +0300)
commit79e0b68c178656bb0632cb8602d2940b755077f8
tree5f6774b749074f4ca96b7daa327303dbec781ee1
parentc81f4192f91a1e209c1eec7a84fe5371ef9175da
llama: add LLAMA_API to deprecated llama_kv_self_seq_div (#14708)

Add LLAMA_API to fix the run-time error with llama-cpp-python in Windows env:
attributeError: function 'llama_kv_self_seq_div' not found.
Did you mean: 'llama_kv_self_seq_add'?

Although llama_kv_self_seq_div() has been marked deprecated but
it is necessary to export it to make llama-cpp-python happy.

Observed software version:
OS: windows
compiler: MSVC
llama-cpp-python: tag: v0.3.12-cu124
llama.cpp: tag: b5833

Signed-off-by: Min-Hua Chen <redacted>
Co-authored-by: Min-Hua Chen <redacted>
include/llama.h