OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[GHA] Cleanup for HuggingFace cache in HRZ (#36679)
Gracjan Koscinski119120ca5a4e
diff --git a/.github/workflows/cleanup_caches.yml b/.github/workflows/cleanup_caches.ymlindex 392e89d19e1..edbc0c7b22a 100644--- a/.github/workflows/cleanup_caches.yml+++ b/.github/workflows/cleanup_caches.yml@@ -61,6 +61,34 @@ jobs:echo "Cache info: "du -h -d2 ${HF_CACHE_PATH}+ Cleanup_HF_Cache_HRZ_iGPU:+ name: Cleanup HuggingFace cache (HRZ)+ runs-on:+ group: Intel-GPU+ labels: [ 'self-hosted', 'igpu', 'Linux' ]+ if: ${{ github.repository_owner == 'openvinotoolkit' }}+ container:+ image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:24.04+ volumes:+ - /mnt/caches:/mnt/caches+ env:+ HF_CACHE_PATH: /mnt/caches/huggingface+ steps:+ - name: Pre-Collecting Cache Info+ run: |+ echo "Cache info: "+ du -h -d2 ${HF_CACHE_PATH}++ - name: Cleanup cache+ run: |+ echo "Delete cache files if they have not been used in over 30 days"+ [ ! -z "${HF_CACHE_PATH}" ] && find ${HF_CACHE_PATH} ! -type d -atime +30 -delete++ - name: Post-Collecting Cache Info+ run: |+ echo "Cache info: "+ du -h -d2 ${HF_CACHE_PATH}+Cleanup_HF_Cache_Windows:name: Cleanup Windows HuggingFace cacheif: ${{ github.repository_owner == 'openvinotoolkit' }}