File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,11 @@ defaults:
27
27
shell : bash
28
28
29
29
env :
30
- HF_HOME : .cache-HF # Define HF_HOME for caching
31
- TRANSFORMERS_CACHE : .cache-HF/transformers
32
- DATASETS_CACHE : .cache-HF/datasets
33
- HF_DATASETS_CACHE : .cache-HF/datasets
30
+ HF_HOME : ${{ github.workspace }}/.cache-HF # Define HF_HOME for caching
31
+ HUGGINGFACE_HUB_CACHE : ${{ github.workspace }}/.cache-HF/hub
32
+ TRANSFORMERS_CACHE : ${{ github.workspace }}/.cache-HF/transformers
33
+ DATASETS_CACHE : ${{ github.workspace }}/.cache-HF/datasets
34
+ HF_DATASETS_CACHE : ${{ github.workspace }}/.cache-HF/datasets
34
35
35
36
jobs :
36
37
testing-imports :
@@ -106,7 +107,7 @@ jobs:
106
107
continue-on-error : true
107
108
with :
108
109
path : .cache-HF
109
- key : hf-cache_${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
110
+ key : hf-cache_${{ runner.os }}-py${{ matrix.python-version }}
110
111
restore-keys : |
111
112
hf-cache_${{ runner.os }}-py${{ matrix.python-version }}
112
113
hf-cache_${{ runner.os }}-
You can’t perform that action at this time.
0 commit comments