Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
97609af
Adding test for legacy checkpoint created with 2.5.2 (#20922)
pl-ghost Jun 20, 2025
aff7e30
build(deps): bump codecov/codecov-action from 4 to 5 (#20927)
dependabot[bot] Jun 23, 2025
659c23e
build(deps): bump mypy from 1.16.0 to 1.16.1 in /requirements (#20930)
dependabot[bot] Jun 23, 2025
d62a043
build(deps): bump pytest-random-order from 1.1.1 to 1.2.0 in /require…
dependabot[bot] Jun 23, 2025
2fd3e1f
build(deps): bump pytest from 8.4.0 to 8.4.1 in /requirements (#20929)
dependabot[bot] Jun 23, 2025
ff58827
fix: update automated checkpoint messages for consistency (#20924)
Borda Jun 23, 2025
fb0d67e
chlog: add new sections
Borda Aug 13, 2025
771d3d2
Fabric: Enable "auto" for `devices` and `accelerator` as cli argument…
fnhirwa Jun 24, 2025
b3df351
ci/gpu: drop duplicate/confusing dep. installations (#20935)
Borda Jun 24, 2025
d337d5c
pin `bitsandbytes!=0.46` due to `int8_double_quant` with `ValueError`…
Borda Jun 24, 2025
315ca89
test: addressing flaky spawn "process 0 terminated with signal SIGABR…
Borda Jun 24, 2025
6a72208
test: addressing flaky spawn in subprocesses (#20940)
Borda Jun 25, 2025
186f613
ci/gpu: setting oldest dependencies (#20939)
Borda Jun 25, 2025
ab51e0f
Improve type hint for `reduce_fx` in `LightningModule.log` (#20943)
rittik9 Jun 26, 2025
2b1f762
ci: disable TPU testing (#20942)
Borda Jun 26, 2025
561b649
docs: drop ref to `torch.cuda.empty_cache` (#21041)
Borda Aug 8, 2025
fcdebf5
docs: Update compatibility matrix in versioning (#20948)
bhimrazy Jun 27, 2025
5fd6400
Fix compatibility for bitsandbytes>=0.46 (#20956)
matthewdouglas Jul 2, 2025
d78290e
ci: force `pip install` with `--upgrade-strategy=eager` (#20958)
Borda Jul 2, 2025
9a4c5f6
Fix typo in LightningModule glossary entry ("organizug" → "organizing…
ScrufMan Jul 3, 2025
77bd25a
Fix nested module example (#20923)
matsumotosan Jul 3, 2025
7b93a0c
ci: bump sorting group-check (#20955)
Borda Jul 3, 2025
8326538
build(deps): update awscli requirement from <1.41.0,>=1.30.0 to >=1.3…
dependabot[bot] Jul 7, 2025
b68cb15
build(deps): bump coverage from 7.9.1 to 7.9.2 in /requirements (#20966)
dependabot[bot] Jul 7, 2025
9a91f87
Add dev env setup guide with `uv` (#20961)
matsumotosan Jul 9, 2025
d990c72
Fix: Allow trainer to accept CUDAAccelerator instance as accelerator …
bhimrazy Jul 9, 2025
13a5eed
Model checkpointing `save_on_train_epoch_end` default behavior docume…
matsumotosan Jul 9, 2025
47972bd
Add support nvcr.io/nvidia/pytorch:25.06-py3 (#20971)
intexcor Jul 11, 2025
24814ba
Update README.md
williamFalcon Jul 14, 2025
f9cade0
docs: update ref to latest tutorials (#20977)
pl-ghost Jul 14, 2025
0653fca
fix: failing markdown link test in ci (#20979)
deependujha Jul 14, 2025
cc18d09
Update README.md
williamFalcon Jul 17, 2025
b60a06f
Allow `dataloader_idx_` in log names when `add_dataloader_idx=False` …
rittik9 Jul 18, 2025
3cc880f
build(deps): update fsspec[http] requirement from <2025.6.0,>=2022.5.…
dependabot[bot] Jul 22, 2025
26a6f41
build(deps): bump mypy from 1.16.1 to 1.17.0 in /requirements (#20991)
dependabot[bot] Jul 22, 2025
721eeb9
build(deps): update tensorboard requirement from <2.20.0,>=2.9.1 to >…
dependabot[bot] Jul 22, 2025
bb88633
docs: updating flaking links (#20980)
Borda Jul 23, 2025
e096761
fix CI: awscli docutils version conflict (#20997)
deependujha Jul 26, 2025
1abd849
fix broken links to studios (#21014)
KaelanDt Jul 28, 2025
0fa3a9c
fix: rich progress bar error when resume training (#21000)
deependujha Jul 31, 2025
49a923a
build(deps): bump coverage from 7.9.2 to 7.10.2 in /requirements (#21…
dependabot[bot] Aug 4, 2025
3013222
build(deps): bump mypy from 1.17.0 to 1.17.1 in /requirements (#21025)
dependabot[bot] Aug 4, 2025
136336e
build(deps): update awscli requirement from <1.42.0,>=1.30.0 to >=1.3…
dependabot[bot] Aug 4, 2025
5d49d97
build(deps): update docutils requirement from <=0.19,>=0.18.1 to >=0.…
dependabot[bot] Aug 4, 2025
2bf789a
build(deps): update lightning-utilities requirement from <0.15.0,>=0.…
dependabot[bot] Aug 4, 2025
ca932c2
build(deps): update torchmetrics requirement from <1.8.0,>=0.10.0 to …
dependabot[bot] Aug 4, 2025
dbd3734
fix ci: progress bar console clearing for latest Rich release (#21016)
deependujha Aug 4, 2025
0a3948a
build(deps): bump Lightning-AI/utilities from 0.14.3 to 0.15.0 (#21010)
dependabot[bot] Aug 4, 2025
7e492ba
Fix double iteration bug when resumed from a checkpoint. (#20775)
sudiptob2 Aug 5, 2025
90531b8
Fix advanced profiler for python >=3.12 (#20809)
relativityhd Aug 5, 2025
f95c285
Fix fabric examples and load_checkpoint hparams ref (#21013)
SkafteNicki Aug 5, 2025
89b4127
nitpick: add make command to quickly setup the project on `lightning …
deependujha Aug 6, 2025
2d6aa41
fix: raise ValueError when provided seed is out-of-bounds (#21029)
jonathanking Aug 6, 2025
d19a5b8
Allow `training_step` in manual optimization to return general mappin…
SkafteNicki Aug 6, 2025
4528359
Fix refresh rate for metrics in `RichProgressBar` (#21032)
SkafteNicki Aug 8, 2025
2685947
docker: build images for latest PT `2.8` (#21042)
Borda Aug 8, 2025
24dc9af
Add support for more dtypes in `ModelSummary` and warning on non-supp…
SkafteNicki Aug 8, 2025
5d55306
Fix `v_num` formatting for `RichProgressBar` (#21040)
SkafteNicki Aug 8, 2025
be290d6
Minor correction to demo transformer script (#21033)
SkafteNicki Aug 8, 2025
48bb532
[pre-commit.ci] pre-commit suggestions (#20968)
pre-commit-ci[bot] Aug 8, 2025
4145481
Fix `save_last` behavior in absence of validation (#20960)
baskrahmer Aug 8, 2025
ca1683e
docs: `overfit_batches` uses same batch for train and val (#20731)
ved1beta Aug 8, 2025
d3849b0
Replace `exit` with `sys.exit (#21052)
SkafteNicki Aug 11, 2025
e07dd18
build(deps): bump coverage from 7.10.2 to 7.10.3 in /requirements (#2…
dependabot[bot] Aug 11, 2025
9f47b65
build(deps): bump Lightning-AI/utilities from 0.15.0 to 0.15.2 (#21050)
dependabot[bot] Aug 11, 2025
77081fb
build(deps): bump actions/download-artifact from 4 to 5 (#21049)
dependabot[bot] Aug 11, 2025
7c58d96
docs: update ref to latest tutorials (#21044)
pl-ghost Aug 11, 2025
621859a
build(deps): bump torch from 2.7.1 to 2.8.0 in /requirements (#21048)
dependabot[bot] Aug 11, 2025
821005d
docs: update mail to developer@lightning.ai (#21003)
Borda Aug 11, 2025
722e1af
docker: simplify the docker name with CUDA (#21001)
Borda Aug 11, 2025
4fc5ba2
add/debug Lit CI (#21002)
Borda Aug 12, 2025
fb9f13a
Docs for logging multiple val and test dataloaders (#21054)
matsumotosan Aug 12, 2025
50dc25b
Fix `save_hyperparameters` not crashing on `dataclass` with `init=Fal…
SkafteNicki Aug 12, 2025
ada3d68
fix: remove extra parameter in accelerator registry decorator (#20975)
YgLK Aug 12, 2025
73f6d3d
Fix `lr_finder` gradient calculation for `mode="exponential"` (#21055)
SkafteNicki Aug 12, 2025
d5ab8b3
Allow to return `ONNXProgram` when calling `to_onnx(dynamo=True)` (#2…
GdoongMathew Aug 12, 2025
026bf31
Add `save_on_exception` option to `ModelCheckpoint` (#20916)
vsey Aug 12, 2025
1b937b0
Fix integration of `LearningRateFinder` with `EarlyStopping` (#21056)
SkafteNicki Aug 12, 2025
35e21fa
bugfix: add support for `global_ordinal`, `local_ordinal`, `world_siz…
AlexandrByzov Aug 12, 2025
d8912e3
Hotfix for CI (#21063)
SkafteNicki Aug 13, 2025
bf5de76
chore: bump PyTorch version in dependencies & CI (#21043)
Borda Aug 13, 2025
c31835a
releasing `2.5.3`
Borda Aug 13, 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
2 changes: 1 addition & 1 deletion .actions/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jsonargparse >=4.16.0, <=4.35.0
jsonargparse
requests
packaging
20 changes: 9 additions & 11 deletions .azure/gpu-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,13 @@ jobs:
displayName: "Image info & NVIDIA"

- bash: |
pip install -e .[dev] --find-links ${TORCH_URL}
pip install setuptools==75.6.0 jsonargparse==4.35.0
pip install -U -q -r .actions/requirements.txt
python .actions/assistant.py copy_replace_imports --source_dir="./tests" \
--source_import="lightning.fabric,lightning.pytorch" \
--target_import="lightning_fabric,pytorch_lightning"
displayName: "Adjust tests"

- bash: pip install -e .[dev] --find-links ${TORCH_URL}
env:
FREEZE_REQUIREMENTS: "1"
displayName: "Install package"
Expand All @@ -88,17 +93,10 @@ jobs:
python -c "import torch ; mgpu = torch.cuda.device_count() ; assert mgpu == 2, f'GPU: {mgpu}'"
displayName: "Env details"

- bash: |
pip install -q -r .actions/requirements.txt
python .actions/assistant.py copy_replace_imports --source_dir="./tests" \
--source_import="lightning.fabric,lightning.pytorch" \
--target_import="lightning_fabric,pytorch_lightning"
displayName: "Adjust tests"

- bash: python -m pytest parity_$(PACKAGE_NAME) -v --durations=0
env:
PL_RUNNING_BENCHMARKS: "1"
PL_RUN_CUDA_TESTS: "1"
RUN_ONLY_CUDA_TESTS: "1"
workingDirectory: tests/
displayName: "Testing: benchmarks"

Expand All @@ -107,7 +105,7 @@ jobs:
# without succeeded this could run even if the job has already failed
condition: and(succeeded(), eq(variables['PACKAGE_NAME'], 'fabric'))
env:
PL_RUN_CUDA_TESTS: "1"
RUN_ONLY_CUDA_TESTS: "1"
PL_RUN_STANDALONE_TESTS: "1"
displayName: "Testing: fabric standalone tasks"
timeoutInMinutes: "10"
41 changes: 22 additions & 19 deletions .azure/gpu-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
DEVICES: $( python -c 'print("$(Agent.Name)".split("_")[-1])' )
FREEZE_REQUIREMENTS: "1"
PIP_CACHE_DIR: "/var/tmp/pip"
PL_RUN_CUDA_TESTS: "1"
RUN_ONLY_CUDA_TESTS: "1"
container:
image: $(image)
# default shm size is 64m. Increase it to avoid:
Expand All @@ -60,13 +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.7-cuda12.6.3"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.8-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.7-cuda12.6.3"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.8-cuda12.6.3"
PACKAGE_NAME: "lightning"
workspace:
clean: all
Expand All @@ -78,8 +78,6 @@ jobs:
echo "##vso[task.setvariable variable=TORCH_URL]https://download.pytorch.org/whl/cu${cuda_ver}/torch_stable.html"
scope=$(python -c 'n = "$(PACKAGE_NAME)" ; print(dict(fabric="lightning_fabric").get(n, n))')
echo "##vso[task.setvariable variable=COVERAGE_SOURCE]$scope"
python_ver=$(python -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')")
echo "##vso[task.setvariable variable=PYTHON_VERSION_MM]$python_ver"
displayName: "set env. vars"
- bash: |
echo "##vso[task.setvariable variable=TORCH_URL]https://download.pytorch.org/whl/test/cu${CUDA_VERSION_MM}"
Expand All @@ -100,6 +98,12 @@ jobs:
pip list
displayName: "Image info & NVIDIA"

- bash: |
python .actions/assistant.py replace_oldest_ver
pip install "cython<3.0" wheel # for compatibility
condition: contains(variables['Agent.JobName'], 'oldest')
displayName: "setting oldest dependencies"

- bash: |
PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
pip install -q wget packaging
Expand All @@ -109,11 +113,22 @@ jobs:
done
displayName: "Adjust dependencies"

- bash: |
pip install -U -q -r .actions/requirements.txt
python .actions/assistant.py copy_replace_imports --source_dir="./tests/tests_fabric" \
--source_import="lightning.fabric" \
--target_import="lightning_fabric"
python .actions/assistant.py copy_replace_imports --source_dir="./examples/fabric" \
--source_import="lightning.fabric" \
--target_import="lightning_fabric"
# without succeeded this could run even if the job has already failed
condition: and(succeeded(), eq(variables['PACKAGE_NAME'], 'fabric'))
displayName: "Adjust tests & examples"

- bash: |
set -e
extra=$(python -c "print({'lightning': 'fabric-'}.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
pip install -e ".[${extra}dev]" -U --upgrade-strategy=eager --extra-index-url="${TORCH_URL}"
displayName: "Install package & dependencies"

- bash: |
Expand All @@ -130,18 +145,6 @@ jobs:
condition: and(succeeded(), eq(variables['PACKAGE_NAME'], 'fabric'))
displayName: "Testing: Fabric doctests"

- bash: |
pip install -q -r .actions/requirements.txt
python .actions/assistant.py copy_replace_imports --source_dir="./tests/tests_fabric" \
--source_import="lightning.fabric" \
--target_import="lightning_fabric"
python .actions/assistant.py copy_replace_imports --source_dir="./examples/fabric" \
--source_import="lightning.fabric" \
--target_import="lightning_fabric"
# without succeeded this could run even if the job has already failed
condition: and(succeeded(), eq(variables['PACKAGE_NAME'], 'fabric'))
displayName: "Adjust tests & examples"

- bash: python -m coverage run --source ${COVERAGE_SOURCE} -m pytest tests_fabric/ -v --durations=50
workingDirectory: tests/
displayName: "Testing: fabric standard"
Expand Down
39 changes: 22 additions & 17 deletions .azure/gpu-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ 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.7-cuda12.6.3"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.8-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.7-cuda12.6.3"
image: "pytorchlightning/pytorch_lightning:base-cuda-py3.12-torch2.8-cuda12.6.3"
PACKAGE_NAME: "lightning"
pool: lit-rtx-3090
variables:
DEVICES: $( python -c 'print("$(Agent.Name)".split("_")[-1])' )
FREEZE_REQUIREMENTS: "1"
PIP_CACHE_DIR: "/var/tmp/pip"
PL_RUN_CUDA_TESTS: "1"
RUN_ONLY_CUDA_TESTS: "1"
container:
image: $(image)
# default shm size is 64m. Increase it to avoid:
Expand All @@ -82,8 +82,6 @@ jobs:
echo "##vso[task.setvariable variable=TORCH_URL]https://download.pytorch.org/whl/cu${cuda_ver}/torch_stable.html"
scope=$(python -c 'n = "$(PACKAGE_NAME)" ; print(dict(pytorch="pytorch_lightning").get(n, n))')
echo "##vso[task.setvariable variable=COVERAGE_SOURCE]$scope"
python_ver=$(python -c "import sys; print(f'{sys.version_info.major}{sys.version_info.minor}')")
echo "##vso[task.setvariable variable=PYTHON_VERSION_MM]$python_ver"
displayName: "set env. vars"
- bash: |
echo "##vso[task.setvariable variable=TORCH_URL]https://download.pytorch.org/whl/test/cu${CUDA_VERSION_MM}"
Expand All @@ -104,6 +102,12 @@ jobs:
pip list
displayName: "Image info & NVIDIA"

- bash: |
python .actions/assistant.py replace_oldest_ver
pip install "cython<3.0" wheel # for compatibility
condition: contains(variables['Agent.JobName'], 'oldest')
displayName: "setting oldest dependencies"

- bash: |
PYTORCH_VERSION=$(python -c "import torch; print(torch.__version__.split('+')[0])")
pip install -q wget packaging
Expand All @@ -113,10 +117,22 @@ jobs:
done
displayName: "Adjust dependencies"

- bash: |
pip install -U -q -r .actions/requirements.txt
python .actions/assistant.py copy_replace_imports --source_dir="./tests/tests_pytorch" \
--source_import="lightning.fabric,lightning.pytorch" \
--target_import="lightning_fabric,pytorch_lightning"
python .actions/assistant.py copy_replace_imports --source_dir="./examples/pytorch/basics" \
--source_import="lightning.fabric,lightning.pytorch" \
--target_import="lightning_fabric,pytorch_lightning"
# without succeeded this could run even if the job has already failed
condition: and(succeeded(), eq(variables['PACKAGE_NAME'], 'pytorch'))
displayName: "Adjust tests & examples"

- bash: |
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 -e ".[${extra}dev]" -U --upgrade-strategy=eager --extra-index-url="${TORCH_URL}"
displayName: "Install package & dependencies"

- bash: pip uninstall -y lightning
Expand All @@ -143,17 +159,6 @@ jobs:
condition: and(succeeded(), eq(variables['PACKAGE_NAME'], 'pytorch'))
displayName: "Testing: PyTorch doctests"

- bash: |
python .actions/assistant.py copy_replace_imports --source_dir="./tests/tests_pytorch" \
--source_import="lightning.fabric,lightning.pytorch" \
--target_import="lightning_fabric,pytorch_lightning"
python .actions/assistant.py copy_replace_imports --source_dir="./examples/pytorch/basics" \
--source_import="lightning.fabric,lightning.pytorch" \
--target_import="lightning_fabric,pytorch_lightning"
# without succeeded this could run even if the job has already failed
condition: and(succeeded(), eq(variables['PACKAGE_NAME'], 'pytorch'))
displayName: "Adjust tests & examples"

- bash: |
bash .actions/pull_legacy_checkpoints.sh
cd tests/legacy
Expand Down
46 changes: 45 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Welcome to the PyTorch Lightning community! We're building the most advanced research platform on the planet to implement the latest, best practices
and integrations that the amazing PyTorch team and other research organization rolls out!

If you are new to open source, check out [this blog to get started with your first Open Source contribution](https://devblog.pytorchlightning.ai/quick-contribution-guide-86d977171b3a).
If you are new to open source, check out [this blog to get started with your first Open Source contribution](https://medium.com/pytorch-lightning/quick-contribution-guide-86d977171b3a).

## Main Core Value: One less thing to remember

Expand Down Expand Up @@ -109,6 +109,50 @@ ______________________________________________________________________

## Guidelines

### Development environment

To set up a local development environment, we recommend using `uv`, which can be installed following their [instructions](https://docs.astral.sh/uv/getting-started/installation/).

Once `uv` has been installed, begin by cloning the forked repository:

```bash
git clone https://github.com/{YOUR_GITHUB_USERNAME}/pytorch-lightning.git
cd pytorch-lightning
```

> If you're using [Lightning Studio](https://lightning.ai) or already have your `uv venv` activated, you can quickly set up the project by running:

```bash
make setup
```

This will:

- Install all required dependencies.
- Perform an editable install of the `pytorch-lightning` project.
- Install and configure `pre-commit`.

#### Manual Setup (Optional)

If you prefer more fine-grained control over the dependencies, you can set up the environment manually:

```bash
uv venv
# uv venv --python 3.11 # use this instead if you need a specific python version

source .venv/bin/activate # command may differ based on your shell
uv pip install ".[dev, examples]"
```

Once the dependencies have been installed, install pre-commit and set up the git hook scripts:

```bash
uv pip install pre-commit
pre-commit install
```

If you would like more information regarding the uv commands, please refer to uv's documentation for more information on their [pip interface](https://docs.astral.sh/uv/pip/).

### Developments scripts

To build the documentation locally, simply execute the following commands from project root (only for Unix):
Expand Down
7 changes: 4 additions & 3 deletions .github/checkgroup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ subprojects:
# 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"
# - ".github/workflows/tpu-tests.yml.disabled"
# - "tests/tests_pytorch/run_tpu_tests.sh"
# checks:
# - "test-on-tpus (pytorch, pjrt, v4-8)"
Expand Down Expand Up @@ -135,7 +135,8 @@ subprojects:
- "build-pl (3.11, 2.4, 12.1.1)"
- "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)"
- "build-pl (3.12, 2.7, 12.6.3)"
- "build-pl (3.12, 2.8, 12.6.3, true)"

# SECTION: lightning_fabric

Expand Down Expand Up @@ -181,7 +182,7 @@ subprojects:
# 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"
# - ".github/workflows/tpu-tests.yml.disabled"
# - "tests/tests_fabric/run_tpu_tests.sh"
# checks:
# - "test-on-tpus (pytorch, pjrt, v4-8)"
Expand Down
6 changes: 5 additions & 1 deletion .github/markdown-links-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@
"Accept-Encoding": "zstd, br, gzip, deflate"
}
}
]
],
"timeout": "20s",
"retryOn429": true,
"retryCount": 5,
"fallbackRetryDelay": "20s"
}
2 changes: 1 addition & 1 deletion .github/workflows/_build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
needs: build-packages
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with: # download all build artifacts
pattern: ${{ inputs.artifact-name }}-*
merge-multiple: true
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/_legacy-checkpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,11 @@ jobs:
title: Adding test for legacy checkpoint created with ${{ env.PL_VERSION }}
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit-message: "update tutorials to `${{ env.PL_VERSION }}`"
body: "**This is automated addition of created checkpoints with the latest `lightning` release!**"
body: "**This is automated addition of created checkpoint with the latest `${{ env.PL_VERSION }}` `lightning` release!**"
delete-branch: true
token: ${{ secrets.PAT_GHOST }}
labels: |
checkpointing
tests
pl
assignees: borda
reviewers: borda
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/cleanup-caches.yml@v0.14.3
uses: Lightning-AI/utilities/.github/workflows/cleanup-caches.yml@v0.15.2
with:
scripts-ref: v0.14.3
scripts-ref: v0.15.2
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/cleanup-caches.yml@v0.14.3
uses: Lightning-AI/utilities/.github/workflows/cleanup-caches.yml@v0.15.2
with:
scripts-ref: v0.14.3
scripts-ref: v0.15.2
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
2 changes: 1 addition & 1 deletion .github/workflows/ci-pkg-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
with:
name: dist-packages-${{ github.sha }}
path: dist
Expand Down
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/check-schema.yml@v0.14.3
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.15.2
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