Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03k
1name: CI (webgpu)2 3on:4 workflow_dispatch: # allows manual triggering5 push:6 branches:7 - master8 paths: [9 '.github/workflows/build-webgpu.yml',10 '**/CMakeLists.txt',11 '**/.cmake',12 '**/*.h',13 '**/*.hpp',14 '**/*.c',15 '**/*.cpp',16 '**/*.wgsl',17 '**/*.tmpl',18 'ggml/src/ggml-webgpu/wgsl-shaders/embed_wgsl.py'19 ]20 21 pull_request:22 types: [opened, synchronize, reopened]23 paths: [24 '.github/workflows/build-webgpu.yml',25 'ggml/src/ggml-webgpu/**'26 ]27 28concurrency:29 group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}30 cancel-in-progress: true31 32env:33 GGML_NLOOP: 334 GGML_N_THREADS: 135 LLAMA_ARG_LOG_COLORS: 136 LLAMA_ARG_LOG_PREFIX: 137 LLAMA_ARG_LOG_TIMESTAMPS: 138 39jobs:40 format:41 runs-on: ubuntu-24.0442 43 steps:44 - name: Clone45 uses: actions/checkout@v646 47 - name: Install clang-format 2248 run: |49 wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key |50 sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc > /dev/null51 sudo add-apt-repository -y \52 "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-22 main"53 sudo apt-get update54 sudo apt-get install -y clang-format-2255 56 - name: Check formatting57 run: |58 find ggml/src/ggml-webgpu \59 -type f \( -name '*.cpp' -o -name '*.hpp' -o -name '*.h' \) \60 -print0 |61 xargs -0 clang-format-22 --dry-run --Werror62 63 macos:64 runs-on: macos-latest65 66 steps:67 - name: Clone68 id: checkout69 uses: actions/checkout@v670 71 - name: ccache72 uses: ggml-org/ccache-action@v1.2.2173 with:74 key: webgpu-macos-latest75 evict-old-files: 1d76 save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}77 78 - name: Dawn Dependency79 id: dawn-depends80 run: |81 DAWN_VERSION="v20260317.182325"82 DAWN_OWNER="google"83 DAWN_REPO="dawn"84 DAWN_ASSET_NAME="Dawn-18eb229ef5f707c1464cc581252e7603c73a3ef0-macos-latest-Release"85 echo "Fetching release asset from https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz"86 curl -L -o artifact.tar.gz \87 "https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz"88 mkdir dawn89 tar -xvf artifact.tar.gz -C dawn --strip-components=190 91 - name: Build92 id: cmake_build93 run: |94 export CMAKE_PREFIX_PATH=dawn95 cmake -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DGGML_WEBGPU=ON -DGGML_METAL=OFF -DGGML_BLAS=OFF96 time cmake --build build --config Release -j $(sysctl -n hw.logicalcpu)97 98 - name: Test99 id: cmake_test100 run: |101 cd build102 ctest -L main --verbose --timeout 900103 104 ubuntu:105 runs-on: ubuntu-24.04106 107 steps:108 - name: Clone109 id: checkout110 uses: actions/checkout@v6111 112 - name: ccache113 uses: ggml-org/ccache-action@v1.2.21114 with:115 key: webgpu-ubuntu-24.04116 evict-old-files: 1d117 save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}118 119 - name: Dependencies120 id: depends121 run: |122 sudo add-apt-repository -y ppa:kisak/kisak-mesa123 sudo apt-get update -y124 sudo apt-get install -y build-essential mesa-vulkan-drivers \125 libxcb-xinput0 libxcb-xinerama0 libxcb-cursor-dev libssl-dev126 127 - name: Dawn Dependency128 id: dawn-depends129 run: |130 sudo apt-get install -y libxrandr-dev libxinerama-dev libxcursor-dev mesa-common-dev libx11-xcb-dev libxi-dev131 DAWN_VERSION="v20260317.182325"132 DAWN_OWNER="google"133 DAWN_REPO="dawn"134 DAWN_ASSET_NAME="Dawn-18eb229ef5f707c1464cc581252e7603c73a3ef0-ubuntu-latest-Release"135 echo "Fetching release asset from https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz"136 curl -L -o artifact.tar.gz \137 "https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz"138 mkdir dawn139 tar -xvf artifact.tar.gz -C dawn --strip-components=1140 141 - name: Build142 id: cmake_build143 run: |144 export Dawn_DIR=dawn/lib64/cmake/Dawn145 cmake -B build \146 -DGGML_WEBGPU=ON147 time cmake --build build --config Release -j $(nproc)148 149 - name: Test150 id: cmake_test151 run: |152 cd build153 # This is using llvmpipe and runs slower than other backends154 # test-backend-ops is too slow on llvmpipe, skip it155 ctest -L main -E test-backend-ops --verbose --timeout 900156 