Skip to content

Commit 4abcd13

Browse files
authored
Merge branch 'master' into feat/device_name
2 parents 5b11bdb + 9e4d469 commit 4abcd13

File tree

13 files changed

+55
-21
lines changed

13 files changed

+55
-21
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
run: |
9797
cd requirements/fabric
9898
pip install -U "lightning-utilities[cli]"
99-
python -m lightning_utilities.cli requirements set-oldest --req_files "['base.txt', 'strategies.txt']"
99+
python -m lightning_utilities.cli requirements set-oldest --req_files "['base.txt', 'strategies.txt', 'test.txt']"
100100
pip install "cython<3.0" wheel
101101
pip install "pyyaml==5.4" --no-build-isolation
102102
@@ -142,7 +142,8 @@ jobs:
142142
run: |
143143
pip install -e ".[${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" \
144144
-U --upgrade-strategy=eager --prefer-binary \
145-
--extra-index-url="${TORCH_URL}" --find-links="${PYPI_CACHE_DIR}"
145+
--extra-index-url="${TORCH_URL}" \
146+
--find-links="${PYPI_CACHE_DIR}"
146147
pip list
147148
- name: Dump handy wheels
148149
if: github.event_name == 'push' && github.ref == 'refs/heads/master'

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
run: |
102102
cd requirements/pytorch
103103
pip install -U "lightning-utilities[cli]"
104-
python -m lightning_utilities.cli requirements set-oldest --req_files "['base.txt', 'extra.txt', 'strategies.txt', 'examples.txt']"
104+
python -m lightning_utilities.cli requirements set-oldest --req_files "['base.txt', 'extra.txt', 'strategies.txt', 'examples.txt', 'test.txt']"
105105
pip install "cython<3.0" wheel
106106
pip install "pyyaml==5.4" --no-build-isolation
107107
@@ -141,7 +141,9 @@ jobs:
141141
pip install ".[${EXTRA_PREFIX}extra,${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" \
142142
-U --upgrade-strategy=eager --prefer-binary \
143143
-r requirements/_integrations/accelerators.txt \
144-
--extra-index-url="${TORCH_URL}" --find-links="${PYPI_CACHE_DIR}" --find-links="https://download.pytorch.org/whl/torch-tensorrt"
144+
--extra-index-url="${TORCH_URL}" \
145+
--find-links="${PYPI_CACHE_DIR}" \
146+
--find-links="https://download.pytorch.org/whl/torch-tensorrt"
145147
pip list
146148
- name: Drop LAI from extensions
147149
if: ${{ matrix.pkg-name != 'lightning' }}

docs/source-fabric/advanced/compile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ Additional Resources
417417

418418
Here are a few resources for further reading after you complete this tutorial:
419419

420-
- `PyTorch 2.0 Paper <https://pytorch.org/blog/pytorch-2-paper-tutorial/>`_
420+
- `PyTorch 2.0 Paper <https://pytorch.org/get-started/pytorch-2-x/>`_
421421
- `GenAI with PyTorch 2.0 blog post series <https://pytorch.org/blog/accelerating-generative-ai-4/>`_
422422
- `Training Production AI Models with PyTorch 2.0 <https://pytorch.org/blog/training-production-ai-models/>`_
423423
- `Empowering Models with Performance: The Art of Generalized Model Transformation Approach <https://pytorch.org/blog/empowering-models-performance/>`_

docs/source-pytorch/advanced/compile.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Additional Resources
396396

397397
Here are a few resources for further reading after you complete this tutorial:
398398

399-
- `PyTorch 2.0 Paper <https://pytorch.org/blog/pytorch-2-paper-tutorial/>`_
399+
- `PyTorch 2.0 Paper <https://pytorch.org/get-started/pytorch-2-x/>`_
400400
- `GenAI with PyTorch 2.0 blog post series <https://pytorch.org/blog/accelerating-generative-ai-4/>`_
401401
- `Training Production AI Models with PyTorch 2.0 <https://pytorch.org/blog/training-production-ai-models/>`_
402402
- `Empowering Models with Performance: The Art of Generalized Model Transformation Approach <https://pytorch.org/blog/empowering-models-performance/>`_

requirements/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sphinx >5.0, <6.0
2-
myst-parser >=0.18.1, <4.0.0
2+
myst-parser >=0.18.1, <5.0.0
33
nbsphinx >=0.8.5, <=0.9.7
44
nbconvert >7.14, <7.17
55
pandoc >=1.0, <=2.4

requirements/fabric/test.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
coverage ==7.10.4
2-
numpy >=1.17.2, <1.27.0
1+
coverage ==7.10.5
2+
numpy >=1.21.0, <1.27.0
33
pytest ==8.4.1
44
pytest-cov ==6.2.1
55
pytest-timeout ==2.4.0
66
pytest-rerunfailures ==15.1
77
pytest-random-order ==1.2.0
88
click ==8.1.8; python_version < "3.11"
99
click ==8.2.1; python_version > "3.10"
10-
tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute
10+
tensorboardX >=2.6, <2.7.0 # todo: relax it back to `>=2.2` after fixing tests

requirements/pytorch/docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ nbformat # used for generate empty notebook
44
ipython[notebook] <9.5.0
55
setuptools<81.0 # workaround for `error in ipython setup command: use_2to3 is invalid.`
66

7-
onnxscript >= 0.2.2, <0.4.0
7+
onnxscript >= 0.2.2, < 0.5.0
88

99
#-r ../../_notebooks/.actions/requires.txt

requirements/pytorch/loggers.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ neptune >=1.0.0
44
comet-ml >=3.31.0
55
mlflow >=1.0.0
66
wandb >=0.12.10
7-
tensorboard >=2.9.1
7+
tensorboard >=2.11

requirements/pytorch/test.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
coverage ==7.10.4
1+
coverage ==7.10.5
22
pytest ==8.4.1
33
pytest-cov ==6.2.1
44
pytest-timeout ==2.4.0
@@ -8,16 +8,16 @@ pytest-random-order ==1.2.0
88
# needed in tests
99
cloudpickle >=1.3, <3.2.0
1010
scikit-learn >0.22.1, <1.8.0
11-
numpy >=1.17.2, <1.27.0
12-
onnx >=1.12.0, <1.19.0
11+
numpy >1.20.0, <1.27.0
12+
onnx >1.12.0, <1.19.0
1313
onnxruntime >=1.12.0, <1.23.0
14-
onnxscript >= 0.2.2, <0.4.0
14+
onnxscript >= 0.1.0, < 0.5.0
1515
psutil <7.0.1 # for `DeviceStatsMonitor`
1616
pandas >2.0, <2.4.0 # needed in benchmarks
1717
fastapi # for `ServableModuleValidator` # not setting version as re-defined in App
1818
uvicorn # for `ServableModuleValidator` # not setting version as re-defined in App
1919

20-
tensorboard >=2.9.1, <2.21.0 # for `TensorBoardLogger`
20+
tensorboard >=2.11, <2.21.0 # for `TensorBoardLogger`
2121

2222
--find-links https://download.pytorch.org/whl/torch-tensorrt
2323
torch-tensorrt; platform_system == "Linux" and python_version >= "3.12"

src/lightning/pytorch/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
3939

4040
- Fixed misalignment column while using rich model summary in `DeepSpeedstrategy` ([#21100](https://github.com/Lightning-AI/pytorch-lightning/pull/21100))
4141

42+
43+
- Fixed `RichProgressBar` crashing when sanity checking using val dataloader with 0 len ([#21108](https://github.com/Lightning-AI/pytorch-lightning/pull/21108))
44+
4245
---
4346

4447
## [2.5.3] - 2025-08-13

0 commit comments

Comments
 (0)