Skip to content

Commit a7759dd

Browse files
fix(ci): use direct wget download to avoid disk space issues
- Replace git-lfs clone of entire ggml-org/models repo (10.91 GiB) - Use direct wget download of stories15M-q4_0.gguf (19MB only) - Prevents 'No space left on device' errors in GitHub Actions Co-Authored-By: Jaime Mizrachi <[email protected]>
1 parent 9505f17 commit a7759dd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/config.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ jobs:
2525
- name: Download tiny model (stories15M)
2626
run: |
2727
mkdir -p models
28-
git clone https://huggingface.co/ggml-org/models hf-models
29-
ls -la hf-models/tinyllamas/
30-
cp hf-models/tinyllamas/stories15M-q4_0.gguf models/stories15M-q4_0.gguf
31-
ls -lh models/
28+
# Download only the specific model file we need (19MB) to avoid disk space issues
29+
wget -q "https://huggingface.co/ggml-org/models/resolve/main/tinyllamas/stories15M-q4_0.gguf" -O models/stories15M-q4_0.gguf
30+
ls -lh models/stories15M-q4_0.gguf
3231
3332
- name: Build
3433
id: cmake_build

0 commit comments

Comments
 (0)