The original Llama cpp implementation is available at here.
To build this project:
make clean
cmake -B build
cmake --build build --config Release -j 24
To commit your local code changes and push them to your repository, use the following steps:
-
Stage all changes:
git add .
-
Commit the changes with a descriptive message:
git commit -m "Describe your changes here"
-
Push the changes to your
master
branch:git push origin master
To pull the latest changes from the upstream repository (ggerganov/llama.cpp
), follow these steps:
-
Add the upstream repository if you haven't done so already:
git remote add upstream https://github.com/ggerganov/llama.cpp
-
Fetch the latest changes from the upstream repository:
git fetch upstream
-
Merge the upstream changes into your local
master
branch:git merge upstream/master
-
If necessary, commit the merge (if there were any conflicts to resolve):
git commit -m "Merge from upstream"
-
Push the merged changes to your
origin/master
branch:git push origin master
If you got below error for kompute
:
fatal: cannot chdir to '../../../ggml/src/kompute': No such file or directory
You can fix it by running below command:
git reset ggml_llama/src/kompute