Skip to content

Commit 0c971a2

Browse files
authored
Merge branch 'master' into improve-docs-resume-checkpoints
2 parents c08b2c1 + 030f36b commit 0c971a2

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

.azure/gpu-benchmarks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ jobs:
7575
pip list
7676
displayName: "Image info & NVIDIA"
7777
78-
- bash: pip install -e .[dev] --find-links ${TORCH_URL}
78+
- bash: |
79+
pip install -e .[dev] --find-links ${TORCH_URL}
80+
pip install setuptools==75.6.0
7981
env:
8082
FREEZE_REQUIREMENTS: "1"
8183
displayName: "Install package"

.azure/gpu-tests-fabric.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
- bash: |
108108
extra=$(python -c "print({'lightning': 'fabric-'}.get('$(PACKAGE_NAME)', ''))")
109109
pip install -e ".[${extra}dev]" pytest-timeout -U --find-links="${TORCH_URL}" --find-links="${TORCHVISION_URL}"
110+
pip install setuptools==75.6.0
110111
displayName: "Install package & dependencies"
111112
112113
- bash: |

.azure/gpu-tests-pytorch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
- bash: |
112112
extra=$(python -c "print({'lightning': 'pytorch-'}.get('$(PACKAGE_NAME)', ''))")
113113
pip install -e ".[${extra}dev]" pytest-timeout -U --find-links="${TORCH_URL}" --find-links="${TORCHVISION_URL}"
114+
pip install setuptools==75.6.0
114115
displayName: "Install package & dependencies"
115116
116117
- bash: pip uninstall -y lightning

dockers/base-cuda/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ RUN \
5959
add-apt-repository ppa:deadsnakes/ppa && \
6060
apt-get install -y \
6161
python${PYTHON_VERSION} \
62-
python3-setuptools \
6362
python${PYTHON_VERSION}-dev \
6463
&& \
6564
update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \
@@ -79,6 +78,8 @@ RUN \
7978
curl https://bootstrap.pypa.io/get-pip.py | python${PYTHON_VERSION} && \
8079
# Disable cache \
8180
pip config set global.cache-dir false && \
81+
# Install recent setuptools to obtain pkg_resources \
82+
pip install setuptools==75.6.0 && \
8283
# set particular PyTorch version \
8384
pip install -q wget packaging && \
8485
python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py && \

dockers/release/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RUN \
3939
fi && \
4040
# otherwise there is collision with folder name and pkg name on Pypi
4141
cd pytorch-lightning && \
42-
pip install setuptools && \
42+
pip install setuptools==75.6.0 && \
4343
PACKAGE_NAME=lightning pip install '.[extra,loggers,strategies]' --no-cache-dir && \
4444
PACKAGE_NAME=pytorch pip install '.[extra,loggers,strategies]' --no-cache-dir && \
4545
cd .. && \

docs/source-pytorch/common/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
../data/data
2424
../model/own_your_loop
2525
../advanced/model_init
26+
../common/tbptt
2627

2728

2829
#############
@@ -205,7 +206,7 @@ How-to Guides
205206
.. displayitem::
206207
:header: Truncated Back-Propagation Through Time
207208
:description: Efficiently step through time when training recurrent models
208-
:button_link: ../common/tbtt.html
209+
:button_link: ../common/tbptt.html
209210
:col_css: col-md-4
210211
:height: 180
211212

0 commit comments

Comments
 (0)