[object Object]

← back to Exo

fix huggingface cache

6c871562e44e001cb67c0b9ac8de145c4fbacddf · 2024-07-20 13:20:39 -0700 · Alex Cheema

Files touched

Diff

commit 6c871562e44e001cb67c0b9ac8de145c4fbacddf
Author: Alex Cheema <alexcheema123@gmail.com>
Date:   Sat Jul 20 13:20:39 2024 -0700

    fix huggingface cache
---
 .github/workflows/test.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ad4734b0..36a11163 100644
--- a/.github/workflows/test.yml
+++ b/.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

← cf98cc50 trigger workflow  ·  back to Exo  ·  test workflow 71b8c660 →