Skip to content

Commit

Permalink
ci: remove linux sve
Browse files Browse the repository at this point in the history
Signed-off-by: thxCode <thxcode0824@gmail.com>
  • Loading branch information
thxCode committed Oct 9, 2024
1 parent 3ba2f94 commit ecbd68d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ jobs:
fail-fast: false
matrix:
# AVX2 ==> CentOS 7.
# NEON+SVE ==> Ubuntu 18.04.
# NEON ==> Ubuntu 18.04.
include:
- arch: 'amd64'
instruction: 'avx2'
distro_container_image: 'centos:7'
- arch: 'arm64'
instruction: 'neon+sve'
instruction: 'neon'
distro_container_image: 'ubuntu:18.04'
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -282,8 +282,8 @@ jobs:
cmake -S ${{ github.workspace }} -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=Release \
-DGGML_NATIVE=off \
${{ matrix.instruction == 'avx2' && '-DGGML_AVX2=on' || '' }} \
${{ matrix.instruction == 'neon+sve' && '-DCMAKE_C_FLAGS_INIT="-march=armv8.2-a+sve"' || '' }} \
${{ matrix.instruction == 'neon+sve' && '-DCMAKE_CXX_FLAGS_INIT="-march=armv8.2-a+sve"' || '' }} \
${{ matrix.instruction == 'neon' && '-DCMAKE_C_FLAGS_INIT="-march=armv8.2-a"' || '' }} \
${{ matrix.instruction == 'neon' && '-DCMAKE_CXX_FLAGS_INIT="-march=armv8.2-a"' || '' }} \
-DGGML_BLAS_VENDOR=OpenBLAS \
-DGGML_STATIC=on \
-DGGML_BLAS=on \
Expand Down Expand Up @@ -850,6 +850,8 @@ jobs:
cmake -S ${{ github.workspace }} -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=Release \
-DGGML_CANN=on \
${{ matrix.arch == 'amd64' && '-DGGML_NATIVE=off' || '-DGGML_NATIVE=on' }} \
${{ matrix.arch == 'arm64' && '-DCMAKE_C_FLAGS_INIT="-march=armv8.2-a"' || '' }} \
${{ matrix.arch == 'arm64' && '-DCMAKE_CXX_FLAGS_INIT="-march=armv8.2-a"' || '' }} \
-DGGML_OPENMP=off \
-DGGML_RPC=on
cmake --build ${{ github.workspace }}/build --target llama-box --config Release -- -j $(nproc)
Expand Down

0 comments on commit ecbd68d

Please sign in to comment.