소스 검색

fix huggingface cache

Alex Cheema 1 년 전
부모
커밋
6c871562e4
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      .github/workflows/test.yml

+ 3 - 3
.github/workflows/test.yml

@@ -82,10 +82,10 @@ jobs:
     - name: Cache huggingface hub models
       uses: actions/cache@v3
       with:
-        path: ~/.cache/huggingface
-        key: ${{ runner.os }}-huggingface-${{ hashFiles('~/.cache/huggingface/hub/**/*') }}
+        path: ~/.cache/huggingface/hub
+        key: ${{ runner.os }}-huggingface-hub-${{ hashFiles('~/.cache/huggingface/hub/**/*') }}
         restore-keys: |
-          ${{ runner.os }}-huggingface-
+          ${{ runner.os }}-huggingface-hub-
 
     - name: Cache tinygrad downloaded models
       uses: actions/cache@v3