@@ -47,7 +47,6 @@ defaults:
47
47
env :
48
48
FREEZE_REQUIREMENTS : " 1"
49
49
TORCH_URL : " https://download.pytorch.org/whl/cpu/"
50
- PYPI_CACHE_DIR : " _pip-wheels"
51
50
PYPI_LOCAL_DIR : " pypi_pkgs/"
52
51
53
52
jobs :
88
87
aws s3 sync --no-sign-request s3://sphinx-packages/ ${PYPI_LOCAL_DIR}
89
88
pip install lai-sphinx-theme -U -f ${PYPI_LOCAL_DIR}
90
89
91
- - name : pip wheels cache
92
- uses : actions/cache/restore@v4
93
- with :
94
- path : ${{ env.PYPI_CACHE_DIR }}
95
- key : pypi_wheels
96
-
97
90
- name : Install pandoc & texlive
98
91
if : ${{ matrix.pkg-name == 'pytorch' }}
99
92
timeout-minutes : 5
@@ -103,10 +96,8 @@ jobs:
103
96
- name : Install package & dependencies
104
97
timeout-minutes : 20
105
98
run : |
106
- mkdir -p ${PYPI_CACHE_DIR} # in case cache was not hit
107
- ls -lh ${PYPI_CACHE_DIR}
108
99
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}"
110
101
pip list
111
102
- name : Install req. for Notebooks/tutorials
112
103
if : matrix.pkg-name == 'pytorch'
@@ -137,15 +128,6 @@ jobs:
137
128
retention-days : ${{ env.ARTIFACT_DAYS }}
138
129
include-hidden-files : true
139
130
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
-
149
131
deploy-docs :
150
132
needs : docs-make
151
133
if : github.repository_owner == 'Lightning-AI' && github.event_name != 'pull_request'
0 commit comments