Skip to content

Commit 87a048b

Browse files
authored
Merge branch 'master' into feat/to_tensorrt
2 parents 958968d + dd2912a commit 87a048b

File tree

24 files changed

+165
-107
lines changed

24 files changed

+165
-107
lines changed

.github/ISSUE_TEMPLATE/1_bug_report.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,22 @@ body:
4646
attributes:
4747
value: "**Note: The rest of this form is optional, but filling it out may help us to provide better support.**"
4848

49+
- type: input
50+
attributes:
51+
label: Reproduced in studio
52+
description: >
53+
Create a new Lightning Studio with code that reproduces the issue and share the link.
54+
Also include all the relevant files and data required to reproduce shared issue.
55+
In case the code does not crash, please add assert statements to show what is the real and expected output.
56+
A simple guide on how to create such a studio can be found [here](https://www.youtube.com/watch?v=YcW-2Zt_bFg&ab_channel=LightningAI).
57+
placeholder: https://lightning.ai/live-session/...
58+
validations:
59+
required: false
4960
- type: textarea
5061
attributes:
5162
label: How to reproduce the bug
5263
description: >
53-
Provide steps and example code here.
54-
You can also paste a link to Google Colab (see our [Colab bug report template](https://colab.research.google.com/github/Lightning-AI/lightning/blob/master/examples/pytorch/bug_report/bug_report_model.ipynb)) or adapt this minimal [snippet](https://github.com/Lightning-AI/lightning/blob/master/examples/pytorch/bug_report/bug_report_model.py).
64+
In the special case when the issue can't be reproduced in a studio, provide steps and example code here.
5565
placeholder: |
5666
```python
5767
# Sample code to reproduce the problem

.github/workflows/_legacy-checkpoints.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113

114114
- run: pip install -r requirements/ci.txt
115115
- name: Upload checkpoints to S3
116-
if: secrets.AWS_REGION != ''
116+
if: ${{ secrets[AWS_REGION] != '' }}
117117
working-directory: ${{ env.LEGACY_FOLDER }}
118118
env:
119119
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}

.github/workflows/docker-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ jobs:
9494
strategy:
9595
fail-fast: false
9696
matrix:
97+
# adding dome more images as Thunder mainly using python 3.10,
98+
# and we need to support integrations as for example LitGPT
99+
python_version: ["3.10"]
100+
pytorch_version: ["2.6.0", "2.7.0"]
101+
cuda_version: ["12.6.3"]
97102
include:
98103
# These are the base images for PL release docker images.
99104
# Make sure the matrix here matches the one above.

.github/workflows/release-pkg.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
- "requirements/ci.txt"
1414
- ".github/actions/pkg-check/*"
1515
- ".github/actions/pkg-publish/*"
16-
- ".github/workflows/_legacy-checkpoints.yml.yml"
16+
- ".github/workflows/_legacy-checkpoints.yml"
1717
- ".github/workflows/_build-packages.yml"
1818
- ".github/workflows/release-pypi.yml"
1919

@@ -179,12 +179,12 @@ jobs:
179179
with:
180180
pkg-folder: dist/${{ steps.folder.outputs.pkg }}
181181
pypi-token: ${{ secrets[format('PYPI_TOKEN_{0}', matrix.name)] }}
182-
183-
legacy-checkpoints:
184-
needs: [build-packages]
185-
uses: ./.github/workflows/_legacy-checkpoints.yml
186-
with:
187-
push_to_s3: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
188-
upload_local: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
189-
create_pr: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
190-
secrets: inherit
182+
# FIXME: this is not working suddenly, Unrecognized named-value: 'secrets'
183+
# legacy-checkpoints:
184+
# needs: [build-packages]
185+
# uses: ./.github/workflows/_legacy-checkpoints.yml
186+
# with:
187+
# push_to_s3: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
188+
# upload_local: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
189+
# create_pr: ${{ startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' }}
190+
# secrets: inherit

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ node_modules/
198198
**/events.out.tfevents.*
199199
examples/**/*.png
200200

201-
# instalation artifacts
201+
# installation artifacts
202202
requirements/base.txt
203203

204204
# CI

_notebooks

requirements/ci.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
setuptools <70.1.1
1+
setuptools <80.7.2
22
wheel <0.46.0
33
awscli >=1.30.0, <1.41.0
4-
twine ==6.0.1
4+
twine ==6.1.0
55
importlib-metadata <9.0.0
66
wget
77
pkginfo ==1.12.1.2

requirements/docs.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sphinx >5.0, <6.0
2-
myst-parser >=0.18.1, <3.0.0
3-
nbsphinx >=0.8.5, <=0.9.2
4-
nbconvert <7.14 # temporary fix for https://github.com/jupyter/nbconvert/issues/2092
2+
myst-parser >=0.18.1, <4.0.0
3+
nbsphinx >=0.8.5, <=0.9.7
4+
nbconvert >7.14, <7.17
55
pandoc >=1.0, <=2.3
66
docutils >=0.16, <0.22
77
sphinxcontrib-fulltoc >=1.0, <=1.2.0
@@ -12,9 +12,9 @@ sphinx-paramlinks >=0.5.1, <=0.6.0
1212
sphinx-togglebutton >=0.2, <=0.3.2
1313
sphinx-copybutton >=0.3, <=0.5.2
1414
sphinx-multiproject
15-
sphinx-toolbox ==3.5.0
15+
sphinx-toolbox ==4.0.0
1616
sphinx-rtd-dark-mode
17-
sphinxcontrib-video ==0.2.0
17+
sphinxcontrib-video ==0.4.1
1818
jinja2 <3.2.0
1919

2020
lightning-utilities >=0.11.1, <0.15.0

requirements/fabric/test.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ coverage ==7.8.0
22
numpy >=1.17.2, <1.27.0
33
pytest ==8.3.5
44
pytest-cov ==6.1.1
5-
pytest-timeout ==2.3.1
6-
pytest-rerunfailures ==12.0
7-
pytest-random-order ==1.1.0
8-
click ==8.1.7
5+
pytest-timeout ==2.4.0
6+
pytest-rerunfailures ==15.1
7+
pytest-random-order ==1.1.1
8+
click ==8.1.8
99
tensorboardX >=2.2, <2.7.0 # min version is set by torch.onnx missing attribute

0 commit comments

Comments
 (0)