|
11 | 11 |
|
12 | 12 | concurrency: |
13 | 13 | group: ${{ github.workflow }}-${{ github.ref }} |
14 | | - cancel-in-progress: false |
| 14 | + cancel-in-progress: ${{ github.ref_type == 'branch' }} |
15 | 15 |
|
16 | 16 | env: |
17 | 17 | CMAKE_ARGS: "-DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_TOOLS=ON -DLLAMA_BUILD_SERVER=ON -DGGML_RPC=ON" |
@@ -102,6 +102,10 @@ jobs: |
102 | 102 | ${{ env.CMAKE_ARGS }} |
103 | 103 | cmake --build build --config Release -j "$(sysctl -n hw.logicalcpu)" |
104 | 104 |
|
| 105 | + - name: ccache stats |
| 106 | + if: always() |
| 107 | + run: ccache --show-stats |
| 108 | + |
105 | 109 | - name: Pack artifacts |
106 | 110 | run: | |
107 | 111 | cp LICENSE ./build/bin/ |
@@ -156,6 +160,10 @@ jobs: |
156 | 160 | ${{ env.CMAKE_ARGS }} |
157 | 161 | cmake --build build --config Release -j "$(nproc)" |
158 | 162 |
|
| 163 | + - name: ccache stats |
| 164 | + if: always() |
| 165 | + run: ccache --show-stats |
| 166 | + |
159 | 167 | - name: Pack artifacts |
160 | 168 | run: | |
161 | 169 | cp LICENSE ./build/bin/ |
@@ -213,6 +221,10 @@ jobs: |
213 | 221 | ${{ env.CMAKE_ARGS }} |
214 | 222 | cmake --build build --config Release -j "$(nproc)" |
215 | 223 |
|
| 224 | + - name: ccache stats |
| 225 | + if: always() |
| 226 | + run: ccache --show-stats |
| 227 | + |
216 | 228 | - name: Pack artifacts |
217 | 229 | run: | |
218 | 230 | cp LICENSE ./build/bin/ |
@@ -295,6 +307,10 @@ jobs: |
295 | 307 | ${{ env.CMAKE_ARGS }} |
296 | 308 | cmake --build build --config Release -j "$(nproc)" |
297 | 309 |
|
| 310 | + - name: ccache stats |
| 311 | + if: always() |
| 312 | + run: ccache --show-stats |
| 313 | + |
298 | 314 | - name: Pack artifacts |
299 | 315 | run: | |
300 | 316 | rocm_short="$(echo "${ROCM_VERSION}" | cut -d '.' -f 1,2)" |
@@ -350,6 +366,10 @@ jobs: |
350 | 366 | %CMAKE_ARGS% |
351 | 367 | cmake --build build --config Release |
352 | 368 |
|
| 369 | + - name: ccache stats |
| 370 | + if: always() |
| 371 | + run: ccache --show-stats |
| 372 | + |
353 | 373 | - name: Pack artifacts |
354 | 374 | shell: pwsh |
355 | 375 | run: | |
@@ -418,6 +438,10 @@ jobs: |
418 | 438 | set /A NINJA_JOBS=%NUMBER_OF_PROCESSORS%-1 |
419 | 439 | cmake --build build --config Release -j %NINJA_JOBS% --target ggml-cuda |
420 | 440 |
|
| 441 | + - name: ccache stats |
| 442 | + if: always() |
| 443 | + run: ccache --show-stats |
| 444 | + |
421 | 445 | - name: Pack CUDA backend |
422 | 446 | run: 7z a -snl "beellama-bin-win-cuda-${{ matrix.cuda }}-x64.zip" .\build\bin\Release\ggml-cuda.dll |
423 | 447 |
|
@@ -534,6 +558,10 @@ jobs: |
534 | 558 | Copy-Item "${env:HIP_PATH}\bin\rocblas\library\*" "build\bin\rocblas\library\" |
535 | 559 | Copy-Item "${env:HIP_PATH}\bin\hipblaslt\library\*" "build\bin\hipblaslt\library\" |
536 | 560 |
|
| 561 | + - name: ccache stats |
| 562 | + if: always() |
| 563 | + run: ccache --show-stats |
| 564 | + |
537 | 565 | - name: Pack artifacts |
538 | 566 | run: 7z a -snl "beellama-bin-win-hip-radeon-x64.zip" .\build\bin\* |
539 | 567 |
|
|
0 commit comments