File tree Expand file tree Collapse file tree 6 files changed +10
-4
lines changed
docs/source-pytorch/common Expand file tree Collapse file tree 6 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff 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 : |
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 && \
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 && \
Original file line number Diff line number Diff line change 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 .. && \
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments