Skip to content

Commit

Permalink
feat: sync llama.cpp (#47)
Browse files Browse the repository at this point in the history
* feat: sync llama.cpp

* fix(cpp): llama_kv_cache_seq_shift -> llama_kv_cache_seq_add

* fix(cpp): add missing patch

* chore(example): update lock file

* fix(ios): build metallib

* chore(cpp): remove unnecessary metal source

* fix(ios): remove unnecessary file

* fix(ios, example): build .xcode.env.local in bootstrap script

* chore(example): revert changes
  • Loading branch information
jhen0409 authored Mar 20, 2024
1 parent f257fc4 commit 9329f57
Show file tree
Hide file tree
Showing 36 changed files with 12,720 additions and 11,598 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,6 @@ android/keystores/debug.keystore
lib/

docs/API/.nojekyll

*.metallib
.xocde.env.local
1 change: 1 addition & 0 deletions android/src/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ set(
${RNLLAMA_LIB_DIR}/common.cpp
${RNLLAMA_LIB_DIR}/grammar-parser.cpp
${RNLLAMA_LIB_DIR}/sampling.cpp
${RNLLAMA_LIB_DIR}/unicode.cpp
${RNLLAMA_LIB_DIR}/llama.cpp
${RNLLAMA_LIB_DIR}/rn-llama.hpp
${CMAKE_SOURCE_DIR}/jni.cpp
Expand Down
Loading

0 comments on commit 9329f57

Please sign in to comment.