Buckets:
| name: CI (wasm) | |
| on: | |
| workflow_dispatch: # allows manual triggering | |
| push: | |
| branches: | |
| - master | |
| paths: [ | |
| '.github/workflows/build-wasm.yml', | |
| '**/CMakeLists.txt', | |
| '**/.cmake', | |
| '**/*.h', | |
| '**/*.hpp', | |
| '**/*.c', | |
| '**/*.cpp', | |
| '**/*.wgsl', | |
| '**/*.tmpl', | |
| 'ggml/src/ggml-webgpu/wgsl-shaders/embed_wgsl.py' | |
| ] | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| paths: [ | |
| '.github/workflows/build-wasm.yml', | |
| '**/CMakeLists.txt', | |
| '**/.cmake', | |
| '**/*.h', | |
| '**/*.hpp', | |
| '**/*.c', | |
| '**/*.cpp', | |
| '**/*.wgsl', | |
| '**/*.tmpl', | |
| 'ggml/src/ggml-webgpu/wgsl-shaders/embed_wgsl.py' | |
| ] | |
| cache-mode: none | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| GGML_NLOOP: 3 | |
| GGML_N_THREADS: 1 | |
| LLAMA_ARG_LOG_COLORS: 1 | |
| LLAMA_ARG_LOG_PREFIX: 1 | |
| LLAMA_ARG_LOG_TIMESTAMPS: 1 | |
| jobs: | |
| ubuntu-webgpu: | |
| runs-on: ubuntu-24.04-arm | |
| steps: | |
| - name: Clone | |
| id: checkout | |
| uses: actions/checkout@v6 | |
| - name: ccache | |
| uses: ggml-org/ccache-action@v1.2.24 | |
| with: | |
| restore: false | |
| save: false | |
| - name: Install Emscripten | |
| run: | | |
| git clone https://github.com/emscripten-core/emsdk.git | |
| cd emsdk | |
| ./emsdk install latest | |
| ./emsdk activate latest | |
| - name: Fetch emdawnwebgpu | |
| run: | | |
| DAWN_TAG="v20260908.214631" | |
| EMDAWN_PKG="emdawnwebgpu_pkg-${DAWN_TAG}.zip" | |
| echo "Downloading ${EMDAWN_PKG}" | |
| curl -L -o emdawn.zip \ | |
| "https://github.com/google/dawn/releases/download/${DAWN_TAG}/${EMDAWN_PKG}" | |
| unzip emdawn.zip | |
| - name: ccache-buckets-restore | |
| uses: ./.github/actions/ccache-buckets | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN_CI }} | |
| with: | |
| key: webgpu-ubuntu-24.04-arm-wasm | |
| folder: llama.cpp | |
| hf_bucket: ggml-org/cache | |
| - name: Build WASM WebGPU | |
| run: | | |
| source emsdk/emsdk_env.sh | |
| emcmake cmake -B build-wasm \ | |
| -G "Ninja" \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DGGML_WEBGPU=ON \ | |
| -DGGML_OPENMP=OFF \ | |
| -DLLAMA_OPENSSL=OFF \ | |
| -DEMDAWNWEBGPU_DIR=emdawnwebgpu_pkg | |
| time cmake --build build-wasm --config Release --target test-backend-ops -j $(nproc) | |
| - name: ccache-buckets-save | |
| if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
| uses: ./.github/actions/ccache-buckets | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN_CACHE_OUTPUT }} | |
| with: | |
| key: webgpu-ubuntu-24.04-arm-wasm | |
| folder: llama.cpp | |
| evict-old-files: 1d | |
| hf_bucket: ggml-org/cache | |
| save: true | |
Xet Storage Details
- Size:
- 2.92 kB
- Xet hash:
- 3d0fa78212488175ed76b1915ec8c30fc019e9d08e751cffad60959d52fb8474
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.