File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,17 +58,20 @@ jobs:
5858 ldd --version
5959 cmake --version
6060 rustc --version
61+ env
62+ echo "nproc=$(nproc)"
6163
6264 - name : Clone
6365 id : checkout
6466 uses : actions/checkout@v6
6567
66- - name : ccache
67- uses : ggml-org/ccache-action@afde29e5b5422e5da23cb1f639e8baecadeadfc3 # https://github.com/ggml-org/ccache-action/pull/1
68- with :
69- key : ubuntu-cpu-riscv64-native
70- evict-old-files : 1d
71- save : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
68+ # note: sparing some ccache since these jobs run on dedicated runners that are not part of the organitzation
69+ # - name: ccache
70+ # uses: ggml-org/ccache-action@afde29e5b5422e5da23cb1f639e8baecadeadfc3 # https://github.com/ggml-org/ccache-action/pull/1
71+ # with:
72+ # key: ubuntu-cpu-riscv64-native
73+ # evict-old-files: 1d
74+ # save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
7275
7376 - name : Build
7477 id : cmake_build
@@ -132,12 +135,13 @@ jobs:
132135 id : checkout
133136 uses : actions/checkout@v6
134137
135- - name : ccache
136- uses : ggml-org/ccache-action@afde29e5b5422e5da23cb1f639e8baecadeadfc3 # https://github.com/ggml-org/ccache-action/pull/1
137- with :
138- key : ubuntu-riscv64-native-sanitizer-${{ matrix.sanitizer }}-${{ matrix.build_type }}
139- evict-old-files : 1d
140- save : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
138+ # note: sparing some ccache since these jobs run on dedicated runners that are not part of the organitzation
139+ # - name: ccache
140+ # uses: ggml-org/ccache-action@afde29e5b5422e5da23cb1f639e8baecadeadfc3 # https://github.com/ggml-org/ccache-action/pull/1
141+ # with:
142+ # key: ubuntu-riscv64-native-sanitizer-${{ matrix.sanitizer }}-${{ matrix.build_type }}
143+ # evict-old-files: 1d
144+ # save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
141145
142146 - name : Build
143147 id : cmake_build
Original file line number Diff line number Diff line change @@ -354,3 +354,52 @@ jobs:
354354# id: ggml-ci
355355# run: |
356356# GG_BUILD_KLEIDIAI=1 GG_BUILD_EXTRA_TESTS_0=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
357+
358+ ggml-ci-arm64-cpu-kleidiai-graviton4 :
359+ runs-on : ah-ubuntu_22_04-c8g_8x
360+
361+ steps :
362+ - name : Clone
363+ id : checkout
364+ uses : actions/checkout@v6
365+
366+ - name : Dependencies
367+ id : depends
368+ run : |
369+ set -euxo pipefail
370+ sudo apt-get update
371+ sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a \
372+ apt-get install -y \
373+ build-essential \
374+ python3-venv \
375+ gpg \
376+ wget \
377+ time \
378+ git-lfs
379+
380+ git lfs install
381+
382+ # install the latest cmake
383+ sudo install -d /usr/share/keyrings
384+ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc \
385+ | gpg --dearmor \
386+ | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
387+ echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' \
388+ | sudo tee /etc/apt/sources.list.d/kitware.list
389+ sudo apt-get update
390+ sudo apt-get install -y cmake
391+
392+ # note: sparing some ccache since these jobs run on dedicated runners that are not part of the organitzation
393+ # - name: ccache
394+ # uses: ggml-org/ccache-action@v1.2.21
395+ # with:
396+ # key: ggml-ci-arm64-cpu-kleidiai-graviton4
397+ # evict-old-files: 1d
398+ # save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
399+
400+ - name : Test
401+ id : ggml-ci
402+ run : |
403+ GG_BUILD_KLEIDIAI=1 \
404+ GG_BUILD_EXTRA_TESTS_0=1 \
405+ bash ./ci/run.sh ./tmp/results ./tmp/mnt
Original file line number Diff line number Diff line change @@ -516,51 +516,3 @@ jobs:
516516 id : ggml-ci
517517 run : |
518518 GG_BUILD_KLEIDIAI=1 GG_BUILD_EXTRA_TESTS_0=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
519-
520- ggml-ci-arm64-cpu-kleidiai-graviton4 :
521- runs-on : ah-ubuntu_22_04-c8g_8x
522-
523- steps :
524- - name : Clone
525- id : checkout
526- uses : actions/checkout@v6
527-
528- - name : Dependencies
529- id : depends
530- run : |
531- set -euxo pipefail
532- sudo apt-get update
533- sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a \
534- apt-get install -y \
535- build-essential \
536- python3-venv \
537- gpg \
538- wget \
539- time \
540- git-lfs
541-
542- git lfs install
543-
544- # install the latest cmake
545- sudo install -d /usr/share/keyrings
546- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc \
547- | gpg --dearmor \
548- | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
549- echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ jammy main' \
550- | sudo tee /etc/apt/sources.list.d/kitware.list
551- sudo apt-get update
552- sudo apt-get install -y cmake
553-
554- - name : ccache
555- uses : ggml-org/ccache-action@v1.2.21
556- with :
557- key : ggml-ci-arm64-cpu-kleidiai-graviton4
558- evict-old-files : 1d
559- save : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
560-
561- - name : Test
562- id : ggml-ci
563- run : |
564- GG_BUILD_KLEIDIAI=1 \
565- GG_BUILD_EXTRA_TESTS_0=1 \
566- bash ./ci/run.sh ./tmp/results ./tmp/mnt
You can’t perform that action at this time.
0 commit comments