update modal package and don't cache pip install (#1757)

* update modal package and cleanup pip cache

* more verbosity on the test
This commit is contained in:
Wing Lian
2024-07-16 14:45:38 -04:00
committed by GitHub
parent 78e12f8ca5
commit e1725aef2b
2 changed files with 6 additions and 2 deletions

View File

@@ -57,6 +57,10 @@ jobs:
run: |
pytest --ignore=tests/e2e/ tests/
- name: cleanup pip cache
run: |
find "$(pip cache dir)/http-v2" -type f -mtime +14 -exec rm {} \;
docker-e2e-tests:
if: github.repository_owner == 'axolotl-ai-cloud'
# this job needs to be run on self-hosted GPU runners...
@@ -99,7 +103,7 @@ jobs:
- name: Install Modal
run: |
python -m pip install --upgrade pip
pip install modal jinja2
pip install modal==0.63.64 jinja2
- name: Update env vars
run: |
echo "BASE_TAG=main-base-py${{ matrix.python_version }}-cu${{ matrix.cuda }}-${{ matrix.pytorch }}" >> $GITHUB_ENV