-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into gg/llama-kv-cache
ggml-ci
- Loading branch information
Showing
156 changed files
with
6,408 additions
and
2,578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Got an idea? | ||
url: https://github.com/ggerganov/llama.cpp/discussions/categories/ideas | ||
url: https://github.com/ggml-org/llama.cpp/discussions/categories/ideas | ||
about: Pop it there. It may then become an enhancement ticket. | ||
- name: Got a question? | ||
url: https://github.com/ggerganov/llama.cpp/discussions/categories/q-a | ||
url: https://github.com/ggml-org/llama.cpp/discussions/categories/q-a | ||
about: Ask a question there! | ||
- name: Want to contribute? | ||
url: https://github.com/ggerganov/llama.cpp/wiki/contribute | ||
url: https://github.com/ggml-org/llama.cpp/wiki/contribute | ||
about: Head to the contribution guide page of the wiki for areas you can help with |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
*Make sure to read the [contributing guidelines](https://github.com/ggerganov/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR* | ||
*Make sure to read the [contributing guidelines](https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md) before submitting a PR* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,7 +129,7 @@ jobs: | |
run: | | ||
sysctl -a | ||
# Metal is disabled due to intermittent failures with Github runners not having a GPU: | ||
# https://github.com/ggerganov/llama.cpp/actions/runs/8635935781/job/23674807267#step:5:2313 | ||
# https://github.com/ggml-org/llama.cpp/actions/runs/8635935781/job/23674807267#step:5:2313 | ||
cmake -B build \ | ||
-DCMAKE_BUILD_RPATH="@loader_path" \ | ||
-DLLAMA_FATAL_WARNINGS=ON \ | ||
|
@@ -374,6 +374,8 @@ jobs: | |
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
|
@@ -401,7 +403,35 @@ jobs: | |
run: | | ||
cd build | ||
# This is using llvmpipe and runs slower than other backends | ||
ctest -L main --verbose --timeout 1800 | ||
ctest -L main --verbose --timeout 2700 | ||
- name: Determine tag name | ||
id: tag | ||
shell: bash | ||
run: | | ||
BUILD_NUMBER="$(git rev-list --count HEAD)" | ||
SHORT_HASH="$(git rev-parse --short=7 HEAD)" | ||
if [[ "${{ env.BRANCH_NAME }}" == "master" ]]; then | ||
echo "name=b${BUILD_NUMBER}" >> $GITHUB_OUTPUT | ||
else | ||
SAFE_NAME=$(echo "${{ env.BRANCH_NAME }}" | tr '/' '-') | ||
echo "name=${SAFE_NAME}-b${BUILD_NUMBER}-${SHORT_HASH}" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Pack artifacts | ||
id: pack_artifacts | ||
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||
run: | | ||
cp LICENSE ./build/bin/ | ||
cp examples/run/linenoise.cpp/LICENSE ./build/bin/LICENSE.linenoise.cpp | ||
zip -r llama-${{ steps.tag.outputs.name }}-bin-ubuntu-vulkan-x64.zip ./build/bin/* | ||
- name: Upload artifacts | ||
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-vulkan-x64.zip | ||
name: llama-bin-ubuntu-vulkan-x64.zip | ||
|
||
ubuntu-22-cmake-hip: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -443,7 +473,7 @@ jobs: | |
ubuntu-22-cmake-musa: | ||
runs-on: ubuntu-22.04 | ||
container: mthreads/musa:rc3.1.0-devel-ubuntu22.04 | ||
container: mthreads/musa:rc3.1.1-devel-ubuntu22.04 | ||
|
||
steps: | ||
- name: Clone | ||
|
@@ -1345,8 +1375,10 @@ jobs: | |
|
||
needs: | ||
- ubuntu-cpu-cmake | ||
- ubuntu-22-cmake-vulkan | ||
- windows-latest-cmake | ||
- windows-2019-cmake-cuda | ||
- windows-latest-cmake-sycl | ||
- windows-latest-cmake-hip-release | ||
- macOS-latest-cmake-arm64 | ||
- macOS-latest-cmake-x64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.