char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Georgi Gerganovcommon : fix env names to all have LLAMA_ARG_ prefix (#23778)6b4e4bd58

char/aliceai-t5-moe
1.2 KiB57 linesraw
1name: CI (3rd-party)
2
3on:
4  workflow_dispatch: # allows manual triggering
5  push:
6    branches:
7      - master
8    paths: [
9      '.github/workflows/build-3rd-party.yml',
10      '**/CMakeLists.txt',
11      '**/.cmake',
12      '**/*.h',
13      '**/*.hpp',
14      '**/*.c',
15      '**/*.cpp'
16    ]
17
18concurrency:
19  group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
20  cancel-in-progress: true
21
22env:
23  GGML_NLOOP: 3
24  GGML_N_THREADS: 1
25  LLAMA_ARG_LOG_COLORS: 1
26  LLAMA_ARG_LOG_PREFIX: 1
27  LLAMA_ARG_LOG_TIMESTAMPS: 1
28
29jobs:
30  ubuntu-24-llguidance:
31    runs-on: ${{ 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
32
33    steps:
34      - name: Clone
35        id: checkout
36        uses: actions/checkout@v6
37
38      - name: Dependencies
39        id: depends
40        run: |
41          sudo apt-get update
42          sudo apt-get install build-essential libssl-dev
43
44      - name: Build
45        id: cmake_build
46        run: |
47          cmake -B build \
48            -DLLAMA_FATAL_WARNINGS=ON \
49            -DLLAMA_LLGUIDANCE=ON
50          cmake --build build --config Release -j $(nproc)
51
52      - name: Test
53        id: cmake_test
54        run: |
55          cd build
56          ctest -L main --verbose --timeout 900
57