Skip to content
Merged
Show file tree
Hide file tree
Changes from 111 commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
d016ee9
ci: bump next `torch` 2.7 (#20656)
Borda Mar 19, 2025
29d0ef3
docker: releasing PL with latest PT 2.6 (#20655)
Borda Mar 19, 2025
c8f30de
Adding test for legacy checkpoint created with 2.5.1 (#20659)
pl-ghost Mar 21, 2025
aca3e2e
fix case-sensitive model name (#20661)
Borda Mar 21, 2025
a43288b
build(deps): bump Lightning-AI/utilities from 0.14.1 to 0.14.2 (#20667)
dependabot[bot] Mar 24, 2025
dd2dc0b
Improve performance of available_accelerators by returning a set (#20…
allrob23 Mar 28, 2025
6865957
drop duplicated `torchmetrics` requirement from Fabric's testing (#20…
Borda Mar 28, 2025
9e24cc2
Update the doc to use `breakpoint()` (#20691)
briannnyee Apr 3, 2025
0c2766b
docs: update ref to latest tutorials (#20698)
pl-ghost Apr 7, 2025
acfb3a5
build(deps): bump Lightning-AI/utilities from 0.14.2 to 0.14.3 (#20700)
dependabot[bot] Apr 7, 2025
8512d1d
feat: add Codecov test results (#20694)
thomasrockhu-codecov Apr 7, 2025
1222da4
[pre-commit.ci] pre-commit suggestions (#20703)
pre-commit-ci[bot] Apr 8, 2025
99ed7e1
docs: update ref to latest tutorials (#20712)
pl-ghost Apr 14, 2025
fce1551
feat: add tests for `save_hyperparameters` with `ignore` behavior and…
deependujha Apr 17, 2025
ba2438f
build(deps): update tensorboard requirement from <2.15.0,>=2.9.1 to >…
dependabot[bot] Apr 21, 2025
312e946
build(deps): update ipython[all] requirement from <8.15.0 to <8.19.0 …
dependabot[bot] Apr 22, 2025
711eead
ci: try to suppress false failing check for create legacy checkpoint …
Borda Apr 22, 2025
ea9c032
ci: try to supress false failing check for create legacy checkpoint (…
Borda Apr 22, 2025
f59ae96
build(deps): update torchmetrics requirement from <1.5.0,>=0.10.0 to …
dependabot[bot] Apr 22, 2025
d795f63
build(deps): update cloudpickle requirement from <2.3.0,>=1.3 to >=1.…
dependabot[bot] Apr 22, 2025
1eca4f3
build(deps): update onnxruntime requirement from <1.19.0,>=1.12.0 to …
dependabot[bot] Apr 22, 2025
77f82da
build(deps): update packaging requirement from <24.2 to <25.1 in /req…
dependabot[bot] Apr 22, 2025
ce38c8d
build(deps): update lightning-utilities requirement from <0.12.0,>=0.…
dependabot[bot] Apr 22, 2025
ed2e575
build(deps): bump pytest from 7.4.0 to 8.3.5 in /requirements (#20732)
dependabot[bot] Apr 22, 2025
ebe9deb
build(deps): bump `torch` from 2.5.1 to 2.6.0 & `torchvision` from <0…
dependabot[bot] Apr 23, 2025
51f3bf8
bump: testing latest PT on GPU to `2.7` (#20754)
Borda Apr 25, 2025
626480a
build(deps): update fsspec[http] requirement from <2024.4.0,>=2022.5.…
dependabot[bot] Apr 28, 2025
e5a2eed
build(deps): update awscli requirement from <1.31.0,>=1.30.0 to >=1.3…
dependabot[bot] Apr 28, 2025
f2712c0
build(deps): update requests requirement from <2.32.0 to <2.33.0 in /…
dependabot[bot] Apr 28, 2025
5168acf
build(deps): bump pytest-cov from 4.1.0 to 6.1.1 in /requirements (#2…
dependabot[bot] Apr 28, 2025
307014b
build(deps): update wheel requirement from <0.44.0 to <0.46.0 in /req…
dependabot[bot] Apr 28, 2025
79f8cc9
build(deps): bump torch from 2.6.0 to 2.7.0 in /requirements (#20765)
dependabot[bot] Apr 28, 2025
28780a9
build(deps): update pandas requirement from <2.2.0,>1.0 to >1.0,<2.3.…
dependabot[bot] Apr 28, 2025
c0fdf69
build(deps): update scikit-learn requirement from <1.4.0,>0.22.1 to >…
dependabot[bot] Apr 28, 2025
5fedcb3
docs: update repo link preventing flakiness (#20769)
Borda Apr 28, 2025
23260c3
drop mergify (#20770)
Borda Apr 28, 2025
420ca46
build(deps): bump mypy from 1.11.0 to 1.15.0 in /requirements (#20759)
dependabot[bot] Apr 28, 2025
a42181e
build(deps): bump pytest-timeout from 2.1.0 to 2.3.1 in /requirements…
dependabot[bot] May 5, 2025
27bb9e2
build(deps): update ipython[notebook] requirement from <8.7.0 to <8.1…
dependabot[bot] May 5, 2025
b7700ee
build(deps): bump pkginfo from 1.12.0 to 1.12.1.2 in /requirements (#…
dependabot[bot] May 5, 2025
33cdd3e
build(deps): update importlib-metadata requirement from <8.0.0 to <9.…
dependabot[bot] May 5, 2025
ea49307
build(deps): update psutil requirement from <5.9.6 to <7.0.1 in /requ…
dependabot[bot] May 5, 2025
7d75a11
build(deps): update docutils requirement from <0.21,>=0.16 to >=0.16,…
dependabot[bot] May 5, 2025
489a602
build(deps): update typing-extensions requirement from <4.11.0,>=4.4.…
dependabot[bot] May 5, 2025
d2fae01
build(deps): update onnx requirement from <1.17.0,>=1.12.0 to >=1.12.…
dependabot[bot] May 5, 2025
f8cefd5
build(deps): bump pytest-random-order from 1.1.0 to 1.1.1 in /require…
dependabot[bot] May 5, 2025
3d425ba
Remove LightningCLI `python>=3.11.9` xfail, since issue was resolved …
mauvilsa May 6, 2025
60de1cf
docs: update ref to latest tutorials (#20785)
pl-ghost May 6, 2025
9b21c55
updating issue template (#20720)
Borda May 8, 2025
05612d2
build(deps): bump sphinx-toolbox from 3.5.0 to 3.10.0 in /requirement…
dependabot[bot] May 12, 2025
6a91b59
build(deps): update nbsphinx requirement from <=0.9.2,>=0.8.5 to >=0.…
dependabot[bot] May 12, 2025
d332305
build(deps): bump twine from 6.0.1 to 6.1.0 in /requirements (#20816)
dependabot[bot] May 12, 2025
4392dd7
build(deps): update tqdm requirement from <4.67.0,>=4.57.0 to >=4.57.…
dependabot[bot] May 12, 2025
af1e871
build(deps): bump sphinxcontrib-video from 0.2.0 to 0.4.1 in /require…
dependabot[bot] May 12, 2025
a7ad5cc
build(deps): update rich requirement from <13.6.0,>=12.3.0 to >=12.3.…
dependabot[bot] May 12, 2025
e691c78
build(deps): bump click from 8.1.7 to 8.1.8 in /requirements (#20820)
dependabot[bot] May 12, 2025
a991b76
build(deps): update setuptools requirement from <70.1.1 to <80.4.1 in…
dependabot[bot] May 12, 2025
56da266
Fix: `TransformerEnginePrecision` conversion for layers with `bias=Fa…
KAVYANSHTYAGI May 12, 2025
431ee9d
fix: convert step to int when logging (#20830)
clumsy May 16, 2025
6d9c9f1
build(deps): update myst-parser requirement from <3.0.0,>=0.18.1 to >…
dependabot[bot] May 19, 2025
cac8cd4
build(deps): bump sphinx-toolbox from 3.10.0 to 4.0.0 in /requirement…
dependabot[bot] May 19, 2025
f277cb8
build(deps): update setuptools requirement from <80.4.1 to <80.7.2 in…
dependabot[bot] May 19, 2025
29b36ae
build(deps): bump pytest-rerunfailures from 12.0 to 15.1 in /requirem…
dependabot[bot] May 19, 2025
a83845d
build(deps): update matplotlib requirement from <3.9.0,>3.1 to >3.1,<…
dependabot[bot] May 19, 2025
d4ebb0c
build(deps): update nbconvert requirement from <7.14 to <7.17 in /req…
dependabot[bot] May 19, 2025
73fb5b5
docker: extend building base docker images for litGPT (#20842)
Borda May 19, 2025
2cae6fd
build(deps): update onnx requirement from <1.18.0,>=1.12.0 to >=1.12.…
dependabot[bot] May 19, 2025
23612cc
ci: skip failing run on master (#20843)
Borda May 19, 2025
2178d0a
CLI: resolve jsonargparse deprecation warning (#20802)
adamjstewart May 19, 2025
766f7f8
build(deps): bump pytest-timeout from 2.3.1 to 2.4.0 in /requirements…
dependabot[bot] May 19, 2025
55d48f0
docker: update building base docker images for last CUDA & py3.10 (#2…
Borda May 19, 2025
d567dcc
Remove legacy version check for `lightning_utilities >= 0.10` (#20823)
deependujha May 20, 2025
019e1e9
add python 3.12 in setup.py (#20850)
tomaszbk May 23, 2025
cb1d016
build(deps): update setuptools requirement from <80.7.2 to <80.8.1 in…
dependabot[bot] May 27, 2025
df870a5
build(deps): update fsspec[http] requirement from <2025.4.0,>=2022.5.…
dependabot[bot] May 27, 2025
41cd7ce
Allow cross-device local checkpoints with `fsspec>=2025.5.0` (#20780)
siemdejong May 27, 2025
dafa2b4
docs: fix typos (#20847)
omahs May 27, 2025
0cb95a5
drop deprecated dependabot reviewers (#20860)
Borda May 27, 2025
4ba96a2
Fix: Synchronize SIGTERM Handling in DDP to Prevent Deadlocks (#20825)
KAVYANSHTYAGI May 28, 2025
f1edfd8
build(deps): update setuptools requirement from <80.8.1 to <80.9.1 in…
dependabot[bot] May 28, 2025
e5ceb7b
build(deps): bump coverage from 7.8.0 to 7.8.2 in /requirements (#20858)
dependabot[bot] May 29, 2025
1c1c110
bump: PyTorch to be latest `2.7.1` (#20877)
Borda Jun 5, 2025
7c1d74e
Ensure correct device is used for autocast when mps is selected as Fa…
Armannas Jun 5, 2025
368c1a4
build(deps): bump torch from 2.7.0 to 2.7.1 in /requirements (#20878)
dependabot[bot] Jun 5, 2025
083d62a
fix: move `check_inputs` to target device if available during `to_tor…
GdoongMathew Jun 6, 2025
967d8b7
Use lazy string formatting in logging statement in setup.py (#20886)
KAVYANSHTYAGI Jun 10, 2025
12aeefb
build(deps): bump pytest from 8.3.5 to 8.4.0 in /requirements (#20887)
dependabot[bot] Jun 10, 2025
0668c87
Fix progress bar display to correctly handle iterable dataset and max…
bandpooja Jun 10, 2025
f0024a2
build(deps): update pandas requirement from <2.3.0,>1.0 to >1.0,<2.4.…
dependabot[bot] Jun 10, 2025
b5caa2d
refactor: add `toggled_optimizer` context manager (#20771)
rustamzh Jun 10, 2025
71dd113
refactor: use __all__ in accelerators/__init__.py (#20889)
littlebullGit Jun 11, 2025
5974232
LightningCLI instantiator receives values applied by instantiation li…
mauvilsa Jun 11, 2025
cb24007
Implement todos tensorboard (#20874)
KAVYANSHTYAGI Jun 11, 2025
c3ba585
Fix typos: "reparametrization" → "reparameterization" and "recommed" …
leopardracer Jun 11, 2025
33c88de
fixing various typos (#20893)
Borda Jun 12, 2025
e011d45
Fix Typo in TBPTT Documentation and Improve Trainer Docstring (#20897)
kilavvy Jun 12, 2025
d5bd7c7
chore: bump `mypy` from 1.15.0 to 1.16.0 and resolve typing issues (#…
rittik9 Jun 13, 2025
57b745d
build(deps): update pandoc requirement from <=2.3,>=1.0 to >=1.0,<=2.…
dependabot[bot] Jun 16, 2025
3e9ae03
build(deps): update jsonargparse[signatures] requirement from <4.40.0…
dependabot[bot] Jun 16, 2025
c10150d
build(deps): update lightning-habana requirement from <1.3.0,>=1.2.0 …
dependabot[bot] Jun 16, 2025
70acd20
build(deps): bump coverage from 7.8.2 to 7.9.1 in /requirements (#20904)
dependabot[bot] Jun 16, 2025
abde874
fix check for flaky links in readme (#20910)
Borda Jun 16, 2025
a9f211a
Fix Typos in Comments and Function Names Across Multiple Files (#20901)
vtjl10 Jun 16, 2025
258df43
build(deps): update typing-extensions requirement from <4.14.0,>=4.4.…
dependabot[bot] Jun 16, 2025
7659176
build(deps): bump pytest-cov from 6.1.1 to 6.2.1 in /requirements (#2…
dependabot[bot] Jun 16, 2025
cf41283
bump: `bitsandbytes >=0.45.2,<0.47.0` & compatibility patch for `bnb.…
Borda Jun 16, 2025
f9c4c31
debugging flaky `test_collective_operations` with SIGABRT (#20912)
Borda Jun 17, 2025
af52c61
ci: debug failing run on master (#20845)
Borda Jun 17, 2025
d914c48
Fixing problem for silently supporting jsonnet. (#20899)
muthissar Jun 18, 2025
504908d
check param is of `nn.Parameter` type for pruning sanitization (#20783)
chanokin Jun 18, 2025
ec3e4e7
fixing typo
Borda Jun 19, 2025
1617f70
releasing `2.5.2`
Borda Jun 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .actions/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ def load_readme_description(path_dir: str, homepage: str, version: str) -> str:

"""
path_readme = os.path.join(path_dir, "README.md")
with open(path_readme, encoding="utf-8") as fo:
text = fo.read()
with open(path_readme, encoding="utf-8") as fopen:
text = fopen.read()

# drop images from readme
text = text.replace(
Expand Down Expand Up @@ -308,17 +308,17 @@ def copy_replace_imports(
if ext in (".pyc",):
continue
# Try to parse everything else
with open(fp, encoding="utf-8") as fo:
with open(fp, encoding="utf-8") as fopen:
try:
lines = fo.readlines()
lines = fopen.readlines()
except UnicodeDecodeError:
# a binary file, skip
print(f"Skipped replacing imports for {fp}")
continue
lines = _replace_imports(lines, list(zip(source_imports, target_imports)), lightning_by=lightning_by)
os.makedirs(os.path.dirname(fp_new), exist_ok=True)
with open(fp_new, "w", encoding="utf-8") as fo:
fo.writelines(lines)
with open(fp_new, "w", encoding="utf-8") as fopen:
fopen.writelines(lines)


def create_mirror_package(source_dir: str, package_mapping: dict[str, str]) -> None:
Expand Down Expand Up @@ -370,10 +370,10 @@ def _prune_packages(req_file: str, packages: Sequence[str]) -> None:

@staticmethod
def _replace_min(fname: str) -> None:
with open(fname, encoding="utf-8") as fo:
req = fo.read().replace(">=", "==")
with open(fname, "w", encoding="utf-8") as fw:
fw.write(req)
with open(fname, encoding="utf-8") as fopen:
req = fopen.read().replace(">=", "==")
with open(fname, "w", encoding="utf-8") as fwrite:
fwrite.write(req)

@staticmethod
def replace_oldest_ver(requirement_fnames: Sequence[str] = REQUIREMENT_FILES_ALL) -> None:
Expand Down Expand Up @@ -471,15 +471,15 @@ def convert_version2nightly(ver_file: str = "src/version.info") -> None:
"""Load the actual version and convert it to the nightly version."""
from datetime import datetime

with open(ver_file) as fo:
version = fo.read().strip()
with open(ver_file) as fopen:
version = fopen.read().strip()
# parse X.Y.Z version and prune any suffix
vers = re.match(r"(\d+)\.(\d+)\.(\d+).*", version)
# create timestamp YYYYMMDD
timestamp = datetime.now().strftime("%Y%m%d")
version = f"{'.'.join(vers.groups())}.dev{timestamp}"
with open(ver_file, "w") as fo:
fo.write(version + os.linesep)
with open(ver_file, "w") as fopen:
fopen.write(version + os.linesep)

@staticmethod
def generate_docker_tags(
Expand Down
7 changes: 5 additions & 2 deletions .azure/gpu-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,13 @@ jobs:
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.10-torch2.1-cuda12.1.1"
PACKAGE_NAME: "fabric"
"Fabric | latest":
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.6-cuda12.4.1"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.7-cuda12.6.3"
PACKAGE_NAME: "fabric"
#"Fabric | future":
# image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.7-cuda12.6.3"
# PACKAGE_NAME: "fabric"
"Lightning | latest":
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.6-cuda12.4.1"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.7-cuda12.6.3"
PACKAGE_NAME: "lightning"
workspace:
clean: all
Expand Down
8 changes: 5 additions & 3 deletions .azure/gpu-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,13 @@ jobs:
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.10-torch2.1-cuda12.1.1"
PACKAGE_NAME: "pytorch"
"PyTorch | latest":
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.6-cuda12.4.1"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.7-cuda12.6.3"
PACKAGE_NAME: "pytorch"
#"PyTorch | future":
# image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.7-cuda12.6.3"
# PACKAGE_NAME: "pytorch"
"Lightning | latest":
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.6-cuda12.4.1"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.7-cuda12.6.3"
PACKAGE_NAME: "lightning"
pool: lit-rtx-3090
variables:
Expand Down Expand Up @@ -114,7 +117,6 @@ jobs:
set -e
extra=$(python -c "print({'lightning': 'pytorch-'}.get('$(PACKAGE_NAME)', ''))")
pip install -e ".[${extra}dev]" pytest-timeout -U --extra-index-url="${TORCH_URL}"
pip install setuptools==75.6.0 jsonargparse==4.35.0
displayName: "Install package & dependencies"

- bash: pip uninstall -y lightning
Expand Down
10 changes: 5 additions & 5 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ _**Note**, even if you do not find the solution, sending a PR with a test coveri

1. Add/update the relevant tests!

- [This PR](https://github.com/Lightning-AI/lightning/pull/2671) is a good example for adding a new metric, and [this one for a new logger](https://github.com/Lightning-AI/lightning/pull/2721).
- [This PR](https://github.com/Lightning-AI/pytorch-lightning/pull/2671) is a good example for adding a new metric, and [this one for a new logger](https://github.com/Lightning-AI/pytorch-lightning/pull/2721).

### Test cases:

Expand Down Expand Up @@ -130,11 +130,11 @@ In case you are adding new dependencies, make sure that they are compatible with

### Documentation

To learn about development of docs, check out the docs [README.md](https://github.com/Lightning-AI/lightning/blob/master/docs/README.md).
To learn about development of docs, check out the docs [README.md](https://github.com/Lightning-AI/pytorch-lightning/blob/master/docs/README.md).

### Testing

To learn about tests, check out the tests [README.md](https://github.com/Lightning-AI/lightning/blob/master/tests/README.md).
To learn about tests, check out the tests [README.md](https://github.com/Lightning-AI/pytorch-lightning/blob/master/tests/README.md).

### Pull Request

Expand Down Expand Up @@ -165,8 +165,8 @@ We welcome any useful contribution! For your convenience here's a recommended wo

1. If any of the existing tests fail in your PR on our CI, refer to the following READMEs to identify what's failing and try to address it.

- [Test README](https://github.com/Lightning-AI/lightning/blob/master/tests/README.md)
- [CI/CD README](https://github.com/Lightning-AI/lightning/blob/master/.github/workflows/README.md)
- [Test README](https://github.com/Lightning-AI/pytorch-lightning/blob/master/tests/README.md)
- [CI/CD README](https://github.com/Lightning-AI/pytorch-lightning/tree/master/.github/workflows#readme)

1. When you feel ready for integrating your work, mark your PR "Ready for review".

Expand Down
14 changes: 12 additions & 2 deletions .github/ISSUE_TEMPLATE/1_bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,22 @@ body:
attributes:
value: "**Note: The rest of this form is optional, but filling it out may help us to provide better support.**"

- type: input
attributes:
label: Reproduced in studio
description: >
Create a new Lightning Studio with code that reproduces the issue and share the link.
Also include all the relevant files and data required to reproduce shared issue.
In case the code does not crash, please add assert statements to show what is the real and expected output.
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).
placeholder: https://lightning.ai/live-session/...
validations:
required: false
- type: textarea
attributes:
label: How to reproduce the bug
description: >
Provide steps and example code here.
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).
In the special case when the issue can't be reproduced in a studio, provide steps and example code here.
placeholder: |
```python
# Sample code to reproduce the problem
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Fixes #\<issue_number>
<summary><b>Before submitting</b></summary>

- Was this **discussed/agreed** via a GitHub issue? (not for typos and docs)
- [ ] Did you read the [contributor guideline](https://github.com/Lightning-AI/lightning/blob/master/.github/CONTRIBUTING.md), **Pull Request** section?
- [ ] Did you read the [contributor guideline](https://github.com/Lightning-AI/pytorch-lightning/blob/master/.github/CONTRIBUTING.md), **Pull Request** section?
- [ ] Did you make sure your **PR does only one thing**, instead of bundling different changes together?
- Did you make sure to **update the documentation** with your changes? (if necessary)
- Did you write any **new necessary tests**? (not for typos and docs)
Expand Down
22 changes: 13 additions & 9 deletions .github/checkgroup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,15 @@ subprojects:
- "build-cuda (3.11, 2.3.1, 12.1.1)"
- "build-cuda (3.11, 2.4.1, 12.1.1)"
- "build-cuda (3.12, 2.5.1, 12.1.1)"
- "build-cuda (3.12, 2.6.0, 12.4.1)"
#- "build-NGC"
- "build-pl (3.10, 2.1, 12.1.1)"
- "build-pl (3.11, 2.2, 12.1.1)"
- "build-pl (3.11, 2.3, 12.1.1)"
- "build-pl (3.11, 2.4, 12.1.1)"
- "build-pl (3.12, 2.5, 12.1.1, true)"
- "build-pl (3.12, 2.5, 12.1.1)"
- "build-pl (3.12, 2.6, 12.4.1)"
- "build-pl (3.12, 2.7, 12.6.3, true)"

# SECTION: lightning_fabric

Expand Down Expand Up @@ -173,14 +176,15 @@ subprojects:
- "lightning-fabric (GPUs) (testing Fabric | latest)"
- "lightning-fabric (GPUs) (testing Lightning | latest)"

- id: "lightning_fabric: TPU workflow"
paths:
# tpu CI availability is very limited, so we only require tpu tests
# to pass when their configurations are modified
- ".github/workflows/tpu-tests.yml"
- "tests/tests_fabric/run_tpu_tests.sh"
checks:
- "test-on-tpus (pytorch, pjrt, v4-8)"
# Temporarily disabled
# - id: "lightning_fabric: TPU workflow"
# paths:
# # tpu CI availability is very limited, so we only require tpu tests
# # to pass when their configurations are modified
# - ".github/workflows/tpu-tests.yml"
# - "tests/tests_fabric/run_tpu_tests.sh"
# checks:
# - "test-on-tpus (pytorch, pjrt, v4-8)"

# SECTION: common

Expand Down
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ updates:
separator: "-"
# Allow up to 5 open pull requests for pip dependencies
open-pull-requests-limit: 10
reviewers:
- "Lightning-AI/teams/core-lightning"

# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
Expand All @@ -37,5 +35,3 @@ updates:
separator: "-"
# Allow up to 5 open pull requests for GitHub Actions
open-pull-requests-limit: 10
reviewers:
- "Lightning-AI/teams/core-lightning"
7 changes: 5 additions & 2 deletions .github/markdown-links-config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{
"ignorePatterns": [
{
"pattern": "^https://github.com/Lightning-AI/lightning/pull/.*"
"pattern": "^https://github.com/Lightning-AI/pytorch-lightning/pull/"
},
{
"pattern": "^https://dev.azure.com/Lightning-AI/lightning/_apis/build/status.*"
"pattern": "^https://dev.azure.com/Lightning-AI/lightning/_apis/build/status"
},
{
"pattern": "^https://codecov.io/gh/Lightning-AI/pytorch-lightning/graph/badge.svg"
}
],
"httpHeaders": [
Expand Down
70 changes: 0 additions & 70 deletions .github/mergify.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/_legacy-checkpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,13 @@ jobs:
retention-days: ${{ env.KEEP_DAYS }}
include-hidden-files: true

- name: access secrets
# export to env bool if secrets.AWS_REGION is not empty
run: echo "WITH_SECRETS=$([ -n '${{ secrets.AWS_REGION }}' ] && echo 1 || echo 0)" >> $GITHUB_ENV

- run: pip install -r requirements/ci.txt
- name: Upload checkpoints to S3
if: ${{ env.WITH_SECRETS == '1' }}
working-directory: ${{ env.LEGACY_FOLDER }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/call-clear-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ on:
jobs:
cron-clear:
if: github.event_name == 'schedule' || github.event_name == 'pull_request'
uses: Lightning-AI/utilities/.github/workflows/[email protected].1
uses: Lightning-AI/utilities/.github/workflows/[email protected].3
with:
scripts-ref: v0.14.1
scripts-ref: v0.14.3
dry-run: ${{ github.event_name == 'pull_request' }}
pattern: "latest|docs"
age-days: 7

direct-clear:
if: github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request'
uses: Lightning-AI/utilities/.github/workflows/[email protected].1
uses: Lightning-AI/utilities/.github/workflows/[email protected].3
with:
scripts-ref: v0.14.1
scripts-ref: v0.14.3
dry-run: ${{ github.event_name == 'pull_request' }}
pattern: ${{ inputs.pattern || 'pypi_wheels' }} # setting str in case of PR / debugging
age-days: ${{ fromJSON(inputs.age-days) || 0 }} # setting 0 in case of PR / debugging
5 changes: 3 additions & 2 deletions .github/workflows/ci-check-md-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ on:
types: [opened, reopened, ready_for_review, synchronize]
paths:
- ".github/workflows/ci-check-md-links.yml"
- ".github/workflows/markdown.links.config.json"
- ".github/markdown-links-config.json"
- "**/*.md"

jobs:
check-md-links:
uses: Lightning-AI/utilities/.github/workflows/check-md-links.yml@v0.14.1
uses: Lightning-AI/utilities/.github/workflows/check-md-links.yml@main # can be pin with >=0.14.4
with:
config-file: ".github/markdown-links-config.json"
base-branch: "master"
force-check-all: "yes"
2 changes: 1 addition & 1 deletion .github/workflows/ci-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check:
uses: Lightning-AI/utilities/.github/workflows/[email protected].1
uses: Lightning-AI/utilities/.github/workflows/[email protected].3
with:
# skip azure due to the wrong schema file by MSFT
# https://github.com/Lightning-AI/lightning-flash/pull/1455#issuecomment-1244793607
Expand Down
Loading
Loading