Skip to content

Commit 67444eb

Browse files
author
Peyton Gardipee
committed
Fix huggingface cache misses in CI
1 parent b3e83b8 commit 67444eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cpu-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
continue-on-error: true
107107
with:
108108
path: .cache-HF
109-
key: hf-cache_${{ runner.os }}-py${{ matrix.python-version }}
109+
key: hf-cache_${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
110110
restore-keys: |
111111
hf-cache_${{ runner.os }}-py${{ matrix.python-version }}
112112
hf-cache_${{ runner.os }}-

0 commit comments

Comments
 (0)