ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / .github / workflows / build-cpu.yml
| 1 | name: build-cpu |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ master ] |
| 6 | paths: |
| 7 | - '.github/workflows/build-cpu.yml' |
| 8 | - 'CMakeLists.txt' |
| 9 | - 'cmake/**' |
| 10 | - 'ci/**' |
| 11 | - 'examples/**' |
| 12 | - 'ggml.pc.in' |
| 13 | - 'include/**' |
| 14 | - 'requirements.txt' |
| 15 | - 'src/**' |
| 16 | - 'tests/**' |
| 17 | pull_request: |
| 18 | branches: [ master ] |
| 19 | paths: |
| 20 | - '.github/workflows/build-cpu.yml' |
| 21 | - 'CMakeLists.txt' |
| 22 | - 'cmake/**' |
| 23 | - 'ci/**' |
| 24 | - 'examples/**' |
| 25 | - 'ggml.pc.in' |
| 26 | - 'include/**' |
| 27 | - 'requirements.txt' |
| 28 | - 'src/**' |
| 29 | - 'tests/**' |
| 30 | |
| 31 | concurrency: |
| 32 | group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} |
| 33 | cancel-in-progress: true |
| 34 | |
| 35 | jobs: |
| 36 | # TODO: simplify the following workflows using a matrix |
| 37 | x64-cpu-low-perf: |
| 38 | runs-on: ubuntu-22.04 |
| 39 | |
| 40 | steps: |
| 41 | - name: Clone |
| 42 | id: checkout |
| 43 | uses: actions/checkout@v6 |
| 44 | |
| 45 | - name: ccache |
| 46 | uses: ggml-org/ccache-action@v1.2.16 |
| 47 | with: |
| 48 | key: ggml-ci-x64-cpu-low-perf |
| 49 | evict-old-files: 1d |
| 50 | |
| 51 | - name: Dependencies |
| 52 | id: depends |
| 53 | run: | |
| 54 | sudo apt-get update |
| 55 | sudo apt-get install build-essential libcurl4-openssl-dev |
| 56 | |
| 57 | - name: Test |
| 58 | id: ggml-ci |
| 59 | run: | |
| 60 | LLAMA_ARG_THREADS=$(nproc) GG_BUILD_LOW_PERF=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt |
| 61 | |
| 62 | arm64-cpu-low-perf: |
| 63 | runs-on: ubuntu-22.04-arm |
| 64 | |
| 65 | steps: |
| 66 | - name: Clone |
| 67 | id: checkout |
| 68 | uses: actions/checkout@v6 |
| 69 | |
| 70 | - name: ccache |
| 71 | uses: ggml-org/ccache-action@v1.2.16 |
| 72 | with: |
| 73 | key: ggml-ci-arm64-cpu-low-perf |
| 74 | evict-old-files: 1d |
| 75 | |
| 76 | - name: Dependencies |
| 77 | id: depends |
| 78 | run: | |
| 79 | sudo apt-get update |
| 80 | sudo apt-get install build-essential libcurl4-openssl-dev |
| 81 | |
| 82 | - name: Test |
| 83 | id: ggml-ci |
| 84 | run: | |
| 85 | LLAMA_ARG_THREADS=$(nproc) GG_BUILD_LOW_PERF=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt |
| 86 | |
| 87 | x64-cpu-high-perf: |
| 88 | runs-on: ubuntu-22.04 |
| 89 | |
| 90 | steps: |
| 91 | - name: Clone |
| 92 | id: checkout |
| 93 | uses: actions/checkout@v6 |
| 94 | |
| 95 | - name: ccache |
| 96 | uses: ggml-org/ccache-action@v1.2.16 |
| 97 | with: |
| 98 | key: ggml-ci-x64-cpu-high-perf |
| 99 | evict-old-files: 1d |
| 100 | |
| 101 | - name: Dependencies |
| 102 | id: depends |
| 103 | run: | |
| 104 | sudo apt-get update |
| 105 | sudo apt-get install build-essential libcurl4-openssl-dev |
| 106 | |
| 107 | - name: Test |
| 108 | id: ggml-ci |
| 109 | run: | |
| 110 | LLAMA_ARG_THREADS=$(nproc) bash ./ci/run.sh ./tmp/results ./tmp/mnt |
| 111 | |
| 112 | arm64-cpu-high-perf: |
| 113 | runs-on: ubuntu-22.04-arm |
| 114 | |
| 115 | steps: |
| 116 | - name: Clone |
| 117 | id: checkout |
| 118 | uses: actions/checkout@v6 |
| 119 | |
| 120 | - name: ccache |
| 121 | uses: ggml-org/ccache-action@v1.2.16 |
| 122 | with: |
| 123 | key: ggml-ci-arm64-cpu-high-perf |
| 124 | evict-old-files: 1d |
| 125 | |
| 126 | - name: Dependencies |
| 127 | id: depends |
| 128 | run: | |
| 129 | sudo apt-get update |
| 130 | sudo apt-get install build-essential libcurl4-openssl-dev |
| 131 | |
| 132 | - name: Test |
| 133 | id: ggml-ci |
| 134 | run: | |
| 135 | LLAMA_ARG_THREADS=$(nproc) GG_BUILD_NO_SVE=1 GG_BUILD_NO_BF16=1 GG_BUILD_EXTRA_TESTS_0=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt |
| 136 | |
| 137 | arm64-cpu-high-perf-sve: |
| 138 | runs-on: ubuntu-22.04-arm |
| 139 | |
| 140 | steps: |
| 141 | - name: Clone |
| 142 | id: checkout |
| 143 | uses: actions/checkout@v6 |
| 144 | |
| 145 | - name: ccache |
| 146 | uses: ggml-org/ccache-action@v1.2.16 |
| 147 | with: |
| 148 | key: ggml-ci-arm64-cpu-high-perf-sve |
| 149 | evict-old-files: 1d |
| 150 | |
| 151 | - name: Dependencies |
| 152 | id: depends |
| 153 | run: | |
| 154 | sudo apt-get update |
| 155 | sudo apt-get install build-essential libcurl4-openssl-dev |
| 156 | |
| 157 | - name: Test |
| 158 | id: ggml-ci |
| 159 | run: | |
| 160 | LLAMA_ARG_THREADS=$(nproc) GG_BUILD_NO_BF16=1 GG_BUILD_EXTRA_TESTS_0=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt |