@@ -47,7 +47,6 @@ defaults:
4747env :
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
5352jobs :
9594 aws s3 sync --no-sign-request s3://sphinx-packages/ ${PYPI_LOCAL_DIR}
9695 uv pip install lai-sphinx-theme -U -f ${PYPI_LOCAL_DIR}
9796
98- - name : pip wheels cache
99- uses : actions/cache/restore@v4
100- with :
101- path : ${{ env.PYPI_CACHE_DIR }}
102- key : pypi_wheels
103-
10497 - name : Install pandoc & texlive
10598 if : ${{ matrix.pkg-name == 'pytorch' }}
10699 timeout-minutes : 5
@@ -111,10 +104,8 @@ jobs:
111104 - name : Install package & dependencies
112105 timeout-minutes : 20
113106 run : |
114- mkdir -p ${PYPI_CACHE_DIR} # in case cache was not hit
115- ls -lh ${PYPI_CACHE_DIR}
116107 uv pip install .[all] -U -r requirements/${{ matrix.pkg-name }}/docs.txt \
117- -f ${PYPI_LOCAL_DIR} -f ${PYPI_CACHE_DIR} - -extra-index-url="${TORCH_URL}"
108+ -f ${PYPI_LOCAL_DIR} --extra-index-url="${TORCH_URL}"
118109 uv pip list
119110
120111 - name : Install req. for Notebooks/tutorials
@@ -149,15 +140,6 @@ jobs:
149140 retention-days : ${{ env.ARTIFACT_DAYS }}
150141 include-hidden-files : true
151142
152- # - name: Dump handy wheels
153- # if: github.event_name == 'push' && github.ref == 'refs/heads/master'
154- # continue-on-error: true
155- # uses: ./.github/actions/pip-wheels
156- # with:
157- # wheel-dir: ${{ env.PYPI_CACHE_DIR }}
158- # torch-url: ${{ env.TORCH_URL }}
159- # cache-key: "pypi_wheels"
160-
161143 deploy-docs :
162144 needs : docs-make
163145 if : github.repository_owner == 'Lightning-AI' && github.event_name != 'pull_request'
0 commit comments