Lightning 1.8.0 release (#15435)

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka.borovec@seznam.cz>
This commit is contained in:
Adrian Wälchli 2022-11-01 11:04:04 +01:00 committed by GitHub
parent 53e64cdbaf
commit 93a6cffa24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 17 additions and 34 deletions

View File

@ -73,8 +73,6 @@ jobs:
restore-keys: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ matrix.pkg-name }}-${{ matrix.requires }}-
- name: Install dependencies
env: # TODO: drop this when we will be using regular releases for testing
PACKAGE_NAME: pytorch
run: |
pip --version
pip install -r requirements/app/devel.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
@ -88,7 +86,7 @@ jobs:
- name: Install Yarn
run: npm install -g yarn
- name: Install Lightning as top-level
- name: Install Lightning package
env:
PACKAGE_NAME: ${{ matrix.pkg-name }}
run: pip install -e .

View File

@ -82,8 +82,6 @@ jobs:
pip list
- name: Install dependencies
env: # TODO: drop this when we will be using regular releases for testing
PACKAGE_NAME: pytorch
run: |
pip install -r requirements/app/devel.txt --quiet --find-links ${TORCH_URL}
pip list

View File

@ -38,7 +38,7 @@ jobs:
restore-keys: |
${{ runner.os }}-deploy-docs-pip-
- name: Install dependencies
- name: Install package & dependencies
env:
FREEZE_REQUIREMENTS: 1
run: |

View File

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

View File

@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## [1.8.0] - 2022-MM-DD
## [1.8.0] - 2022-11-01
### Added

View File

@ -35,8 +35,9 @@ def _prepare_extras() -> Dict[str, Any]:
"ui": setup_tools.load_requirements(file_name="ui.txt", **common_args),
"test": setup_tools.load_requirements(file_name="test.txt", **common_args),
}
extras["dev"] = extras["cloud"] + extras["ui"] + extras["test"] # + extras['docs']
extras["all"] = extras["cloud"] + extras["ui"]
extras["extra"] = extras["cloud"] + extras["ui"]
extras["dev"] = extras["extra"] + extras["test"] # + extras['docs']
extras["all"] = extras["dev"]
return extras

View File

@ -1 +1 @@
version = "1.8.0rc2"
version = "1.8.0"

View File

@ -1 +1 @@
version = "1.8.0rc2"
version = "1.8.0"

View File

@ -4,27 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
## [unreleased] - 2022-MM-DD
### Added
- 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))
### Changed
- 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))
### Fixed
- Fixed a pickling error when using `RichProgressBar` together with checkpointing ([#15319](https://github.com/Lightning-AI/lightning/pull/15319))
- Fixed the `RichProgressBar` crashing when used with distributed strategies ([#15376](https://github.com/Lightning-AI/lightning/pull/15376))
- Fixed an issue with `RichProgressBar` not resetting the internal state for the sanity check progress ([#15377](https://github.com/Lightning-AI/lightning/pull/15377))
- 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))
## [1.8.0] - 2022-MM-DD
## [1.8.0] - 2022-11-01
### Added
@ -57,6 +38,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Added `inference_mode` flag to Trainer to let users enable/disable inference mode during evaluation ([#15034](https://github.com/Lightning-AI/lightning/pull/15034))
- Added `LightningLite.no_backward_sync` for control over efficient gradient accumulation with distributed strategies ([#14966](https://github.com/Lightning-AI/lightning/pull/14966))
- 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))
- 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))
### Changed
@ -84,6 +66,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- 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))
- Moved the warning about saving nn.Module in `save_hyperparameters()` to before the deepcopy ([#15132](https://github.com/Lightning-AI/lightning/pull/15132))
- 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))
- 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))
### Deprecated
@ -191,6 +174,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Avoided initializing optimizers during deepspeed inference ([#14944](https://github.com/Lightning-AI/lightning/pull/14944))
- Fixed `LightningCLI` parse_env and description in subcommands ([#15138](https://github.com/Lightning-AI/lightning/pull/15138))
- Fixed an exception that would occur when creating a `multiprocessing.Pool` after importing Lightning ([#15292](https://github.com/Lightning-AI/lightning/pull/15292))
- Fixed a pickling error when using `RichProgressBar` together with checkpointing ([#15319](https://github.com/Lightning-AI/lightning/pull/15319))
- Fixed the `RichProgressBar` crashing when used with distributed strategies ([#15376](https://github.com/Lightning-AI/lightning/pull/15376))
- Fixed an issue with `RichProgressBar` not resetting the internal state for the sanity check progress ([#15377](https://github.com/Lightning-AI/lightning/pull/15377))
- 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))
## [1.7.7] - 2022-09-22

View File

@ -1 +1 @@
version = "1.8.0rc2"
version = "1.8.0"