From 804715216e495669af0c671c7bc6693a643564a4 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 12 Sep 2024 13:59:53 +0200 Subject: [PATCH] Attempting to use a cache location for the models. --- .github/workflows/nix_tests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nix_tests.yaml b/.github/workflows/nix_tests.yaml index f2209f8a..01b4ab38 100644 --- a/.github/workflows/nix_tests.yaml +++ b/.github/workflows/nix_tests.yaml @@ -37,5 +37,6 @@ jobs: run: nix develop .#test --command python -m pytest server/tests/ env: HF_TOKEN: ${{ secrets.HF_TOKEN }} + HF_HOME: /mnt/cache/tgi/ - name: Rust tests. run: nix develop .#test --command cargo test