From a1051f73eed29ff92170ba1245b896cfa898c91d Mon Sep 17 00:00:00 2001 From: akshay18iitg Date: Wed, 28 Jan 2026 11:33:28 -0800 Subject: [PATCH 1/2] Add cache to regression test --- .github/workflows/regression_test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/regression_test.yml b/.github/workflows/regression_test.yml index 3f1bb9c..6a0cae7 100644 --- a/.github/workflows/regression_test.yml +++ b/.github/workflows/regression_test.yml @@ -103,6 +103,12 @@ jobs: mkdir -p /tmp/libero-assets/libero/libero export LIBERO_CONFIG_PATH="$(pwd)/.github/assets/libero" + - name: Cache HF datasets + uses: actions/cache@v3 + with: + path: ~/.cache/huggingface + key: ${{ runner.os }}-hf-datasets-${{ hashFiles('**/config.json') }} + - name: Run Training shell: bash run: | From b6a513580a621ed658606f4265fb74b936cf8c91 Mon Sep 17 00:00:00 2001 From: akshay18iitg Date: Wed, 28 Jan 2026 13:02:53 -0800 Subject: [PATCH 2/2] Add cache to regression test --- .github/workflows/regression_test.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/regression_test.yml b/.github/workflows/regression_test.yml index 6a0cae7..b18eedf 100644 --- a/.github/workflows/regression_test.yml +++ b/.github/workflows/regression_test.yml @@ -67,10 +67,17 @@ jobs: run: | apt-get update && apt-get install -y python3 python3-pip git ffmpeg libegl1 libegl-mesa0 libegl-dev libgl1 libglx-mesa0 libgles2 mesa-utils curl cmake build-essential + - name: Restore uv cache + uses: actions/cache/restore@v3 + with: + path: ~/.cache/uv + key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }} + - name: Install uv uses: astral-sh/setup-uv@v5 with: version: "latest" + enable-cache: false - name: Install dependencies run: | @@ -103,8 +110,8 @@ jobs: mkdir -p /tmp/libero-assets/libero/libero export LIBERO_CONFIG_PATH="$(pwd)/.github/assets/libero" - - name: Cache HF datasets - uses: actions/cache@v3 + - name: Restore HF datasets cache + uses: actions/cache/restore@v3 with: path: ~/.cache/huggingface key: ${{ runner.os }}-hf-datasets-${{ hashFiles('**/config.json') }}