Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 0 additions & 82 deletions .github/actions/pip-wheels/action.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/ci-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,6 @@ jobs:
--find-links="${TORCH_URL}"
uv pip list

- name: Dump handy wheels
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
continue-on-error: true
uses: ./.github/actions/pip-wheels
with:
wheel-dir: ${{ env.PYPI_CACHE_DIR }}
torch-url: ${{ env.TORCH_URL }}
cache-key: "pypi_wheels"

- name: Adjust tests
if: ${{ matrix.config.pkg-name != 'lightning' }}
run: |
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/ci-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,6 @@ jobs:
if: ${{ matrix.config.pkg-name == 'lightning' }}
run: uv pip uninstall pytorch-lightning

- name: Dump handy wheels
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
continue-on-error: true
uses: ./.github/actions/pip-wheels
with:
wheel-dir: ${{ env.PYPI_CACHE_DIR }}
torch-url: ${{ env.TORCH_URL }}
cache-key: "pypi_wheels"

- name: Cache datasets
uses: actions/cache@v4
with:
Expand Down
20 changes: 1 addition & 19 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ defaults:
env:
FREEZE_REQUIREMENTS: "1"
TORCH_URL: "https://download.pytorch.org/whl/cpu/"
PYPI_CACHE_DIR: "_pip-wheels"
PYPI_LOCAL_DIR: "pypi_pkgs/"

jobs:
Expand Down Expand Up @@ -95,12 +94,6 @@ jobs:
aws s3 sync --no-sign-request s3://sphinx-packages/ ${PYPI_LOCAL_DIR}
uv pip install lai-sphinx-theme -U -f ${PYPI_LOCAL_DIR}

- name: pip wheels cache
uses: actions/cache/restore@v4
with:
path: ${{ env.PYPI_CACHE_DIR }}
key: pypi_wheels

- name: Install pandoc & texlive
if: ${{ matrix.pkg-name == 'pytorch' }}
timeout-minutes: 5
Expand All @@ -111,10 +104,8 @@ jobs:
- name: Install package & dependencies
timeout-minutes: 20
run: |
mkdir -p ${PYPI_CACHE_DIR} # in case cache was not hit
ls -lh ${PYPI_CACHE_DIR}
uv pip install .[all] -U -r requirements/${{ matrix.pkg-name }}/docs.txt \
-f ${PYPI_LOCAL_DIR} -f ${PYPI_CACHE_DIR} --extra-index-url="${TORCH_URL}"
-f ${PYPI_LOCAL_DIR} --extra-index-url="${TORCH_URL}"
uv pip list

- name: Install req. for Notebooks/tutorials
Expand Down Expand Up @@ -149,15 +140,6 @@ jobs:
retention-days: ${{ env.ARTIFACT_DAYS }}
include-hidden-files: true

#- name: Dump handy wheels
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
# continue-on-error: true
# uses: ./.github/actions/pip-wheels
# with:
# wheel-dir: ${{ env.PYPI_CACHE_DIR }}
# torch-url: ${{ env.TORCH_URL }}
# cache-key: "pypi_wheels"

deploy-docs:
needs: docs-make
if: github.repository_owner == 'Lightning-AI' && github.event_name != 'pull_request'
Expand Down
Loading