CI: dedup cuda libraries to reduce payload size (#13704)

This commit is contained in:
Daniel Hiltgen
2026-01-13 11:25:31 -08:00
committed by GitHub
parent 98079ddd79
commit e4b488a7b5
3 changed files with 66 additions and 44 deletions

View File

@@ -372,6 +372,9 @@ jobs:
outputs: type=local,dest=dist/${{ matrix.os }}-${{ matrix.arch }}
cache-from: type=registry,ref=${{ vars.DOCKER_REPO }}:latest
cache-to: type=inline
- name: Deduplicate CUDA libraries
run: |
./scripts/deduplicate_cuda_libs.sh dist/${{ matrix.os }}-${{ matrix.arch }}
- run: |
for COMPONENT in bin/* lib/ollama/*; do
case "$COMPONENT" in