Team Ai
Modelpublic

Felipe97/llama-cpp-compiled

sourceHugging Faceupdated 18d agoView on Hugging Face
0likes1.2kdownloads
build-virtgpu.yml51 linesDownload Raw Back to workflows
1name: CI (virtgpu)2 3on:4  workflow_dispatch: # allows manual triggering5  push:6    branches:7      - master8    paths: [9      '.github/workflows/build-virtgpu.yml',10      '**/CMakeLists.txt',11      '**/.cmake',12      '**/*.h',13      '**/*.hpp',14      '**/*.c',15      '**/*.cpp'16    ]17 18  pull_request:19    types: [opened, synchronize, reopened]20    paths: [21      '.github/workflows/build-virtgpu.yml',22      'ggml/src/ggml-virtgpu/**'23    ]24 25concurrency:26  group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}27  cancel-in-progress: true28 29jobs:30  ubuntu-24-virtgpu:31    runs-on: ${{ 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}32 33    steps:34      - name: Clone35        id: checkout36        uses: actions/checkout@v637 38      - name: Dependencies39        id: depends40        run: |41          sudo apt-get update42          sudo apt-get install -y build-essential libdrm-dev pkg-config libssl-dev43 44      - name: Build45        id: cmake_build46        run: |47          cmake -B build \48            -DGGML_VIRTGPU=ON \49            -DGGML_VIRTGPU_BACKEND=ON50          cmake --build build --config Release -j $(nproc)51