Skip to content

Commit 08b4773

Browse files
Breakthroughclaude
andcommitted
[ci] Update cache workflow for CUDA 12/13 matrix
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a417191 commit 08b4773

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/cache_nvidia_deps.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,25 @@ on:
99
jobs:
1010
cache-deps:
1111
runs-on: windows-2025
12+
strategy:
13+
matrix:
14+
include:
15+
- cuda-version: '12'
16+
cache-key: 'nvidia-deps-cuda-12.4.0-cudnn-8.9.7.29'
17+
- cuda-version: '13'
18+
cache-key: 'nvidia-deps-cuda-13.1.1-cudnn-9.18.1.3'
1219
steps:
1320
- name: Checkout
1421
uses: actions/checkout@v4
1522
with:
1623
submodules: false
1724
fetch-depth: 1
18-
- name: Cache NVIDIA dependencies
25+
- name: Cache NVIDIA dependencies (CUDA ${{ matrix.cuda-version }})
1926
id: cache-nvidia-deps
2027
uses: actions/cache@v3
2128
with:
2229
path: .deps/Nvidia
23-
key: nvidia-deps-cuda-13.1.1-cudnn-9.18.1.3
30+
key: ${{ matrix.cache-key }}
2431
- name: Clone NVIDIA dependencies
2532
if: steps.cache-nvidia-deps.outputs.cache-hit != 'true'
2633
env:
@@ -33,6 +40,6 @@ jobs:
3340
shell: bash
3441
- name: Cache populated
3542
run: |
36-
echo "NVIDIA dependencies cached successfully!"
43+
echo "NVIDIA dependencies for CUDA ${{ matrix.cuda-version }} cached successfully!"
3744
ls -la .deps/Nvidia/ || echo "Cache was already populated"
3845
shell: bash

0 commit comments

Comments
 (0)