Skip to content

Commit 3b75daa

Browse files
cleanup models after push
1 parent e25f710 commit 3b75daa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build-top-models.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,14 @@ jobs:
226226
227227
echo "✅ Successfully pushed ${IMAGE_URL}"
228228
229+
- name: Cleanup HuggingFace Model Files
230+
run: |
231+
echo "Cleaning up HuggingFace model files to free disk space..."
232+
du -sh ${{ env.MODEL_DIR }} || true
233+
rm -rf ${{ env.MODEL_DIR }}
234+
echo "✅ Cleanup complete"
235+
df -h
236+
229237
- name: Verify Pull
230238
run: |
231239
# Convert model ID to valid image name

0 commit comments

Comments
 (0)