Repository navigation
llama: add LLAMA_API to deprecated llama_kv_self_seq_div (ggml-org#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 minhuadotchen@gmail.com
Co-authored-by: Min-Hua Chen minhua.chen@neuchips.ai
Compiled build for the Android platform with the arm64-v8a ABI, targeting Android API level 28, optimized for the armv8.7a architecture, and configured to build as a shared library using the specified C and C++ compiler flags.
#android (armv8.7a) compiled file added - seg