Skip to content

Commit 93a6cff

Browse files
awaelchliBorda
andauthored
Lightning 1.8.0 release (#15435)
Co-authored-by: Jirka Borovec <[email protected]> Co-authored-by: Jirka <[email protected]>
1 parent 53e64cd commit 93a6cff

File tree

10 files changed

+17
-34
lines changed

10 files changed

+17
-34
lines changed

.github/workflows/ci-app-examples.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ jobs:
7373
restore-keys: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ matrix.pkg-name }}-${{ matrix.requires }}-
7474

7575
- name: Install dependencies
76-
env: # TODO: drop this when we will be using regular releases for testing
77-
PACKAGE_NAME: pytorch
7876
run: |
7977
pip --version
8078
pip install -r requirements/app/devel.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
@@ -88,7 +86,7 @@ jobs:
8886
- name: Install Yarn
8987
run: npm install -g yarn
9088

91-
- name: Install Lightning as top-level
89+
- name: Install Lightning package
9290
env:
9391
PACKAGE_NAME: ${{ matrix.pkg-name }}
9492
run: pip install -e .

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ jobs:
8282
pip list
8383
8484
- name: Install dependencies
85-
env: # TODO: drop this when we will be using regular releases for testing
86-
PACKAGE_NAME: pytorch
8785
run: |
8886
pip install -r requirements/app/devel.txt --quiet --find-links ${TORCH_URL}
8987
pip list

.github/workflows/docs-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
restore-keys: |
3939
${{ runner.os }}-deploy-docs-pip-
4040
41-
- name: Install dependencies
41+
- name: Install package & dependencies
4242
env:
4343
FREEZE_REQUIREMENTS: 1
4444
run: |

requirements/app/examples.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# TODO: as the package is assumed to be independent we shall be using already released versions
2-
pytorch-lightning @ https://github.com/Lightning-AI/lightning/archive/refs/heads/master.zip
1+
pytorch-lightning>=1.8.0rc1

src/lightning_app/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66

77

8-
## [1.8.0] - 2022-MM-DD
8+
## [1.8.0] - 2022-11-01
99

1010
### Added
1111

src/lightning_app/__setup__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ def _prepare_extras() -> Dict[str, Any]:
3535
"ui": setup_tools.load_requirements(file_name="ui.txt", **common_args),
3636
"test": setup_tools.load_requirements(file_name="test.txt", **common_args),
3737
}
38-
extras["dev"] = extras["cloud"] + extras["ui"] + extras["test"] # + extras['docs']
39-
extras["all"] = extras["cloud"] + extras["ui"]
38+
extras["extra"] = extras["cloud"] + extras["ui"]
39+
extras["dev"] = extras["extra"] + extras["test"] # + extras['docs']
40+
extras["all"] = extras["dev"]
4041
return extras
4142

4243

src/lightning_app/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "1.8.0rc2"
1+
version = "1.8.0"

src/lightning_lite/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "1.8.0rc2"
1+
version = "1.8.0"

src/pytorch_lightning/CHANGELOG.md

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,8 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
66

7-
## [unreleased] - 2022-MM-DD
87

9-
### Added
10-
11-
- Added an error message when attempting to launch processes with `python -i` and an interactive-incompatible strategy ([#15293](https://github.com/Lightning-AI/lightning/pull/15293))
12-
13-
14-
### Changed
15-
16-
- The `NeptuneLogger` now uses `neptune.init_run` instead of the deprecated `neptune.init` to initialize a run ([#15393](https://github.com/Lightning-AI/lightning/pull/15393))
17-
18-
19-
### Fixed
20-
21-
- Fixed a pickling error when using `RichProgressBar` together with checkpointing ([#15319](https://github.com/Lightning-AI/lightning/pull/15319))
22-
- Fixed the `RichProgressBar` crashing when used with distributed strategies ([#15376](https://github.com/Lightning-AI/lightning/pull/15376))
23-
- Fixed an issue with `RichProgressBar` not resetting the internal state for the sanity check progress ([#15377](https://github.com/Lightning-AI/lightning/pull/15377))
24-
- Fixed an issue with DataLoader re-instantiation when the attribute is an array and the default value of the corresponding argument changed ([#15409](https://github.com/Lightning-AI/lightning/pull/15409))
25-
26-
27-
## [1.8.0] - 2022-MM-DD
8+
## [1.8.0] - 2022-11-01
289

2910

3011
### Added
@@ -57,6 +38,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
5738
- Added `inference_mode` flag to Trainer to let users enable/disable inference mode during evaluation ([#15034](https://github.com/Lightning-AI/lightning/pull/15034))
5839
- Added `LightningLite.no_backward_sync` for control over efficient gradient accumulation with distributed strategies ([#14966](https://github.com/Lightning-AI/lightning/pull/14966))
5940
- Added a sanity check that scripts are executed with the `srun` command in SLURM and that environment variables are not conflicting ([#15011](https://github.com/Lightning-AI/lightning/pull/15011))
41+
- Added an error message when attempting to launch processes with `python -i` and an interactive-incompatible strategy ([#15293](https://github.com/Lightning-AI/lightning/pull/15293))
6042

6143

6244
### Changed
@@ -84,6 +66,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
8466
- The `Callback.on_load_checkpoint` now gets the full checkpoint dictionary and the `callback_state` argument was renamed `checkpoint` ([#14835](https://github.com/Lightning-AI/lightning/pull/14835))
8567
- Moved the warning about saving nn.Module in `save_hyperparameters()` to before the deepcopy ([#15132](https://github.com/Lightning-AI/lightning/pull/15132))
8668
- To avoid issues with forking processes, from PyTorch 1.13 and higher, Lightning will directly use the PyTorch NVML-based check for `torch.cuda.device_count` and from PyTorch 1.14 and higher, Lightning will configure PyTorch to use a NVML-based check for `torch.cuda.is_available`. ([#15110](https://github.com/Lightning-AI/lightning/pull/15110), [#15133](https://github.com/Lightning-AI/lightning/pull/15133))
69+
- The `NeptuneLogger` now uses `neptune.init_run` instead of the deprecated `neptune.init` to initialize a run ([#15393](https://github.com/Lightning-AI/lightning/pull/15393))
8770

8871

8972
### Deprecated
@@ -191,6 +174,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
191174
- Avoided initializing optimizers during deepspeed inference ([#14944](https://github.com/Lightning-AI/lightning/pull/14944))
192175
- Fixed `LightningCLI` parse_env and description in subcommands ([#15138](https://github.com/Lightning-AI/lightning/pull/15138))
193176
- Fixed an exception that would occur when creating a `multiprocessing.Pool` after importing Lightning ([#15292](https://github.com/Lightning-AI/lightning/pull/15292))
177+
- Fixed a pickling error when using `RichProgressBar` together with checkpointing ([#15319](https://github.com/Lightning-AI/lightning/pull/15319))
178+
- Fixed the `RichProgressBar` crashing when used with distributed strategies ([#15376](https://github.com/Lightning-AI/lightning/pull/15376))
179+
- Fixed an issue with `RichProgressBar` not resetting the internal state for the sanity check progress ([#15377](https://github.com/Lightning-AI/lightning/pull/15377))
180+
- Fixed an issue with DataLoader re-instantiation when the attribute is an array and the default value of the corresponding argument changed ([#15409](https://github.com/Lightning-AI/lightning/pull/15409))
194181

195182

196183
## [1.7.7] - 2022-09-22
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "1.8.0rc2"
1+
version = "1.8.0"

0 commit comments

Comments
 (0)