From ce74c20109d60df4cb023254f3a58b80b6a4cfc8 Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Wed, 1 Oct 2025 11:11:39 -0400 Subject: [PATCH] don't cache pip install (#3194) * don't cache pip install * no cache dir for disk space for sdist too --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cfd2c715d..5d5bdb5ac 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -81,12 +81,12 @@ jobs: - name: Install PyTorch run: | - pip3 install torch==${{ matrix.pytorch_version }} torchvision + pip3 install --no-cache-dir torch==${{ matrix.pytorch_version }} torchvision - name: Install dependencies run: | pip3 show torch - pip3 install --no-build-isolation -U -e . + pip3 install --no-cache-dir --no-build-isolation -U -e . python scripts/unsloth_install.py | sh python scripts/cutcrossentropy_install.py | sh pip3 install -r requirements-dev.txt -r requirements-tests.txt @@ -156,13 +156,13 @@ jobs: - name: Install PyTorch run: | - pip3 install torch==${{ matrix.pytorch_version }} torchvision + pip3 install --no-cache-dir torch==${{ matrix.pytorch_version }} torchvision - name: Install dependencies run: | pip3 show torch python -m build --no-isolation --sdist - pip3 install --no-build-isolation dist/axolotl*.tar.gz + pip3 install --no-cache-dir --no-build-isolation dist/axolotl*.tar.gz python scripts/unsloth_install.py | sh python scripts/cutcrossentropy_install.py | sh pip3 install -r requirements-dev.txt -r requirements-tests.txt