Skip to content

[TRANSFORMATIONS] Add Qwen 2.5 VL M-RoPE handling to SDPAToPA (#34365) #350

[TRANSFORMATIONS] Add Qwen 2.5 VL M-RoPE handling to SDPAToPA (#34365)

[TRANSFORMATIONS] Add Qwen 2.5 VL M-RoPE handling to SDPAToPA (#34365) #350

Workflow file for this run

name: Cleanup caches

Check failure on line 1 in .github/workflows/cleanup_caches.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cleanup_caches.yml

Invalid workflow file

(Line: 49, Col: 7): A mapping was not expected
on:
workflow_dispatch:
schedule:
# at 00:00 on the 1st day of every month
- cron: '0 0 1 * *'
permissions: read-all
jobs:
Cleanup_PIP:
name: Cleanup PIP cache
runs-on: aks-linux-medium
if: ${{ github.repository_owner == 'openvinotoolkit' }}
container:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:24.04
volumes:
- /mount:/mount
env:
PIP_CACHE_PATH: /mount/caches/pip
steps:
- name: Pre-Collecting Cache Info
run: |
echo "Cache info: "
du -h -d2 ${PIP_CACHE_PATH}
- name: Cleanup cache
run: |
echo "Delete cache files if they have not been used in over 30 days"
[ ! -z "${PIP_CACHE_PATH}" ] && find ${PIP_CACHE_PATH} ! -type d -atime +30 -delete
- name: Post-Collecting Cache Info
run: |
echo "Cache info: "
du -h -d2 ${PIP_CACHE_PATH}
Cleanup_HF_Cache_Linux:
name: Cleanup HuggingFace cache
runs-on: aks-linux-medium
if: ${{ github.repository_owner == 'openvinotoolkit' }}
container:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:24.04
volumes:
- /mount:/mount
env:
HF_CACHE_PATH: /mount/caches/huggingface
steps:
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 cache
if: ${{ github.repository_owner == 'openvinotoolkit' }}
runs-on: 'aks-win-4-cores-8gb-test'
defaults:
run:
shell: pwsh
env:
HF_CACHE_PATH: "C:\\mount\\caches\\huggingface"
steps:
- name: Pre-Collecting Cache Info
run: |
Write-Host "Cache info: "
"{0:N2}" -f ((Get-ChildItem -path "$env:HF_CACHE_PATH" -recurse | Measure-Object -property length -sum ).sum /1MB) + " MB"
- name: Cleanup cache
run: |
Write-Host "Delete cache files if they have not been used in over 30 days"
$cutoff = (Get-Date).AddDays(-30)
Get-ChildItem -Path "$env:HF_CACHE_PATH" -Recurse -File -ErrorAction SilentlyContinue |
Where-Object { $_.LastAccessTime -lt $cutoff } |
Remove-Item -Force -ErrorAction SilentlyContinue
- name: Post-Collecting Cache Info
run: |
Write-Host "Cache info: "
"{0:N2}" -f ((Get-ChildItem -path "$env:HF_CACHE_PATH" -recurse | Measure-Object -property length -sum ).sum /1MB) + " MB"
Cleanup_ccache_lin:
name: Cleanup Linux ccache
runs-on: aks-linux-medium
if: ${{ github.repository_owner == 'openvinotoolkit' }}
container:
image: openvinogithubactions.azurecr.io/dockerhub/ubuntu:24.04
volumes:
- /mount:/mount
env:
CCACHE_PATH: /mount/caches/ccache
steps:
- name: Checkout cache action
uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries
timeout-minutes: 15
with:
sparse-checkout: .github/actions/cache
- name: Cleanup ccache
uses: ./.github/actions/cache/cleanup
with:
cache-size: 300
max-cache-size: 750
cache-path: ${{ env.CCACHE_PATH }}
recursive: true
key: '.'
Cleanup_ccache_win:
name: Cleanup Windows ccache
runs-on: 'aks-win-4-cores-8gb-test'
env:
CCACHE_PATH: C:\\mount\\caches\\ccache
steps:
- name: Checkout cache action
uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries
timeout-minutes: 15
with:
sparse-checkout: .github/actions/cache
- name: Cleanup ccache
uses: ./.github/actions/cache/cleanup
with:
cache-size: 300
max-cache-size: 750
cache-path: C:\\mount\\caches\\ccache
recursive: true
key: '.'