mirror of
https://github.com/ollama/ollama.git
synced 2026-05-13 06:21:28 +00:00
CI: dedup cuda libraries to reduce payload size (#13704)
This commit is contained in:
parent
98079ddd79
commit
e4b488a7b5
3 changed files with 66 additions and 44 deletions
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue