diff --git a/.github/workflows/auto-bump-llamacpp.yml b/.github/workflows/auto-bump-llamacpp.yml new file mode 100644 index 000000000..f3d08f544 --- /dev/null +++ b/.github/workflows/auto-bump-llamacpp.yml @@ -0,0 +1,40 @@ +name: Auto Bump llama.cpp +on: + schedule: + - cron: '0 2 * * *' + workflow_dispatch: + +jobs: + auto-bump: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Check changes llama.cpp master HEAD and push update if any + id: git-status + run: | + cd llama.cpp/ + git fetch origin + git checkout master + git reset --hard origin/master + cd ../ + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v5 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: Update llama.cpp + title: Auto bump llama.cpp version + body: Auto bump llama.cpp version + branch: bump-llamacpp + branch-suffix: timestamp + labels: "type: chore" + reviewers: tikikun + assignees: vuonghoainam + delete-branch: true + add-paths : "llama.cpp" + base: main + diff --git a/.gitmodules b/.gitmodules index 81bc6f386..a10a6776d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "llama.cpp"] path = llama.cpp url = https://github.com/ggerganov/llama.cpp + branch = master diff --git a/llama.cpp b/llama.cpp index 8a7b2fa52..fbbc42827 160000 --- a/llama.cpp +++ b/llama.cpp @@ -1 +1 @@ -Subproject commit 8a7b2fa528f130631a5f43648481596ab320ed5a +Subproject commit fbbc42827b2949b95bcde23ce47bb47d006c895d