source ./openvino_toolkit/setupvars.sh
GG_BUILD_OPENVINO=1 GGML_OPENVINO_DEVICE=GPU GG_BUILD_LOW_PERF=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
- ggml-ci-arm64-cpu-low-perf:
- runs-on: [self-hosted, Linux, ARM64, CPU]
+ ggml-ci-cpu-low-perf:
+ runs-on: [self-hosted, CPU]
steps:
- name: Clone
run: |
LLAMA_ARG_THREADS=$(nproc) GG_BUILD_LOW_PERF=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
- ggml-ci-arm64-cpu-high-perf:
- runs-on: [self-hosted, Linux, ARM64, CPU]
+ ggml-ci-cpu-high-perf:
+ runs-on: [self-hosted, CPU]
steps:
- name: Clone
# TODO: simplify the following workflows using a matrix
# TODO: run lighter CI on PRs and the full CI only on master (if needed)
- ggml-ci-x64-cpu-low-perf:
- runs-on: ubuntu-22.04
- steps:
- - name: Clone
- id: checkout
- uses: actions/checkout@v6
-
- - name: ccache
- uses: ggml-org/ccache-action@v1.2.21
- with:
- key: ggml-ci-x64-cpu-low-perf
- evict-old-files: 1d
- save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
-
- - name: Dependencies
- id: depends
- run: |
- sudo apt-get update
- sudo apt-get install build-essential
-
- - name: Test
- id: ggml-ci
- run: |
- LLAMA_ARG_THREADS=$(nproc) GG_BUILD_LOW_PERF=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
+# note: moved to build-self-hosted.yml - can remove from here when everything is stable
+# ggml-ci-x64-cpu-low-perf:
+# runs-on: ubuntu-22.04
+#
+# steps:
+# - name: Clone
+# id: checkout
+# uses: actions/checkout@v6
+#
+# - name: ccache
+# uses: ggml-org/ccache-action@v1.2.21
+# with:
+# key: ggml-ci-x64-cpu-low-perf
+# evict-old-files: 1d
+# save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
+#
+# - name: Dependencies
+# id: depends
+# run: |
+# sudo apt-get update
+# sudo apt-get install build-essential
+#
+# - name: Test
+# id: ggml-ci
+# run: |
+# LLAMA_ARG_THREADS=$(nproc) GG_BUILD_LOW_PERF=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
# note: moved to build-self-hosted.yml - can remove from here when everything is stable
# ggml-ci-arm64-cpu-low-perf:
# run: |
# LLAMA_ARG_THREADS=$(nproc) GG_BUILD_LOW_PERF=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
- ggml-ci-x64-cpu-high-perf:
- runs-on: ubuntu-22.04
-
- steps:
- - name: Clone
- id: checkout
- uses: actions/checkout@v6
-
- - name: ccache
- uses: ggml-org/ccache-action@v1.2.21
- with:
- key: ggml-ci-x64-cpu-high-perf
- evict-old-files: 1d
- save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
-
- - name: Dependencies
- id: depends
- run: |
- sudo apt-get update
- sudo apt-get install build-essential
-
- - name: Test
- id: ggml-ci
- run: |
- LLAMA_ARG_THREADS=$(nproc) GG_BUILD_HIGH_PERF=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
+# note: moved to build-self-hosted.yml - can remove from here when everything is stable
+# ggml-ci-x64-cpu-high-perf:
+# runs-on: ubuntu-22.04
+#
+# steps:
+# - name: Clone
+# id: checkout
+# uses: actions/checkout@v6
+#
+# - name: ccache
+# uses: ggml-org/ccache-action@v1.2.21
+# with:
+# key: ggml-ci-x64-cpu-high-perf
+# evict-old-files: 1d
+# save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
+#
+# - name: Dependencies
+# id: depends
+# run: |
+# sudo apt-get update
+# sudo apt-get install build-essential
+#
+# - name: Test
+# id: ggml-ci
+# run: |
+# LLAMA_ARG_THREADS=$(nproc) GG_BUILD_HIGH_PERF=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
# note: moved to build-self-hosted.yml - can remove from here when everything is stable
# ggml-ci-arm64-cpu-high-perf:
if [ ! -z ${GG_BUILD_METAL} ]; then
CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_METAL=ON"
+else
+ CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_METAL=OFF"
fi
if [ ! -z ${GG_BUILD_CUDA} ]; then
if [ ! -z ${GG_BUILD_VULKAN} ]; then
CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_VULKAN=1"
- # if on Mac, disable METAL
if [[ "$OSTYPE" == "darwin"* ]]; then
- CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_METAL=OFF -DGGML_BLAS=OFF"
-
MACOS_RUNNER_CUSTOM_VULKAN_CMAKE_LOCATION="/usr/local/lib/cmake/vulkan"
MACOS_RUNNER_CUSTOM_SPIRV_HEADERS_LOCATION="${MACOS_RUNNER_CUSTOM_VULKAN_CMAKE_LOCATION}/SPIRV-Headers/SPIRV-HeadersConfig.cmake"
if [[ -f "${MACOS_RUNNER_CUSTOM_SPIRV_HEADERS_LOCATION}" || -h "${MACOS_RUNNER_CUSTOM_SPIRV_HEADERS_LOCATION}" ]]; then
fi
if [ ! -z ${GG_BUILD_WEBGPU} ]; then
- CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_WEBGPU=1 -DGGML_METAL=OFF -DGGML_BLAS=OFF"
+ CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_WEBGPU=1"
if [ ! -z "${GG_BUILD_WEBGPU_DAWN_PREFIX}" ]; then
if [ -z "${CMAKE_PREFIX_PATH}" ]; then
if [ ! -z ${GG_BUILD_BLAS} ]; then
CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=${GG_BUILD_BLAS_VENDOR:-OpenBLAS}"
+else
+ CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_BLAS=OFF"
fi
if [ ! -z ${GG_BUILD_OPENVINO} ]; then