Skip to content

Commit 7eedce0

Browse files
committed
drop dumping wheels after UV switch
1 parent b7ca4d3 commit 7eedce0

File tree

4 files changed

+1
-119
lines changed

4 files changed

+1
-119
lines changed

.github/actions/pip-wheels/action.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.

.github/workflows/ci-tests-fabric.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,6 @@ jobs:
134134
--find-links="${TORCH_URL}"
135135
uv pip list
136136
137-
- name: Dump handy wheels
138-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
139-
continue-on-error: true
140-
uses: ./.github/actions/pip-wheels
141-
with:
142-
wheel-dir: ${{ env.PYPI_CACHE_DIR }}
143-
torch-url: ${{ env.TORCH_URL }}
144-
cache-key: "pypi_wheels"
145-
146137
- name: Adjust tests
147138
if: ${{ matrix.config.pkg-name != 'lightning' }}
148139
run: |

.github/workflows/ci-tests-pytorch.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,6 @@ jobs:
147147
if: ${{ matrix.config.pkg-name == 'lightning' }}
148148
run: uv pip uninstall pytorch-lightning
149149

150-
- name: Dump handy wheels
151-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
152-
continue-on-error: true
153-
uses: ./.github/actions/pip-wheels
154-
with:
155-
wheel-dir: ${{ env.PYPI_CACHE_DIR }}
156-
torch-url: ${{ env.TORCH_URL }}
157-
cache-key: "pypi_wheels"
158-
159150
- name: Cache datasets
160151
uses: actions/cache@v4
161152
with:

.github/workflows/docs-build.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ defaults:
4747
env:
4848
FREEZE_REQUIREMENTS: "1"
4949
TORCH_URL: "https://download.pytorch.org/whl/cpu/"
50-
PYPI_CACHE_DIR: "_pip-wheels"
5150
PYPI_LOCAL_DIR: "pypi_pkgs/"
5251

5352
jobs:
@@ -88,12 +87,6 @@ jobs:
8887
aws s3 sync --no-sign-request s3://sphinx-packages/ ${PYPI_LOCAL_DIR}
8988
pip install lai-sphinx-theme -U -f ${PYPI_LOCAL_DIR}
9089
91-
- name: pip wheels cache
92-
uses: actions/cache/restore@v4
93-
with:
94-
path: ${{ env.PYPI_CACHE_DIR }}
95-
key: pypi_wheels
96-
9790
- name: Install pandoc & texlive
9891
if: ${{ matrix.pkg-name == 'pytorch' }}
9992
timeout-minutes: 5
@@ -103,10 +96,8 @@ jobs:
10396
- name: Install package & dependencies
10497
timeout-minutes: 20
10598
run: |
106-
mkdir -p ${PYPI_CACHE_DIR} # in case cache was not hit
107-
ls -lh ${PYPI_CACHE_DIR}
10899
pip install .[all] -U -r requirements/${{ matrix.pkg-name }}/docs.txt \
109-
-f ${PYPI_LOCAL_DIR} -f ${PYPI_CACHE_DIR} --extra-index-url="${TORCH_URL}"
100+
-f ${PYPI_LOCAL_DIR} --extra-index-url="${TORCH_URL}"
110101
pip list
111102
- name: Install req. for Notebooks/tutorials
112103
if: matrix.pkg-name == 'pytorch'
@@ -137,15 +128,6 @@ jobs:
137128
retention-days: ${{ env.ARTIFACT_DAYS }}
138129
include-hidden-files: true
139130

140-
#- name: Dump handy wheels
141-
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
142-
# continue-on-error: true
143-
# uses: ./.github/actions/pip-wheels
144-
# with:
145-
# wheel-dir: ${{ env.PYPI_CACHE_DIR }}
146-
# torch-url: ${{ env.TORCH_URL }}
147-
# cache-key: "pypi_wheels"
148-
149131
deploy-docs:
150132
needs: docs-make
151133
if: github.repository_owner == 'Lightning-AI' && github.event_name != 'pull_request'

0 commit comments

Comments
 (0)