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:
parent
53e64cdbaf
commit
93a6cffa24
|
@ -73,8 +73,6 @@ jobs:
|
||||||
restore-keys: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ matrix.pkg-name }}-${{ matrix.requires }}-
|
restore-keys: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ matrix.pkg-name }}-${{ matrix.requires }}-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
env: # TODO: drop this when we will be using regular releases for testing
|
|
||||||
PACKAGE_NAME: pytorch
|
|
||||||
run: |
|
run: |
|
||||||
pip --version
|
pip --version
|
||||||
pip install -r requirements/app/devel.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
|
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
|
- name: Install Yarn
|
||||||
run: npm install -g yarn
|
run: npm install -g yarn
|
||||||
|
|
||||||
- name: Install Lightning as top-level
|
- name: Install Lightning package
|
||||||
env:
|
env:
|
||||||
PACKAGE_NAME: ${{ matrix.pkg-name }}
|
PACKAGE_NAME: ${{ matrix.pkg-name }}
|
||||||
run: pip install -e .
|
run: pip install -e .
|
||||||
|
|
|
@ -82,8 +82,6 @@ jobs:
|
||||||
pip list
|
pip list
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
env: # TODO: drop this when we will be using regular releases for testing
|
|
||||||
PACKAGE_NAME: pytorch
|
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements/app/devel.txt --quiet --find-links ${TORCH_URL}
|
pip install -r requirements/app/devel.txt --quiet --find-links ${TORCH_URL}
|
||||||
pip list
|
pip list
|
||||||
|
|
|
@ -38,7 +38,7 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-deploy-docs-pip-
|
${{ runner.os }}-deploy-docs-pip-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install package & dependencies
|
||||||
env:
|
env:
|
||||||
FREEZE_REQUIREMENTS: 1
|
FREEZE_REQUIREMENTS: 1
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
# TODO: as the package is assumed to be independent we shall be using already released versions
|
pytorch-lightning>=1.8.0rc1
|
||||||
pytorch-lightning @ https://github.com/Lightning-AI/lightning/archive/refs/heads/master.zip
|
|
||||||
|
|
|
@ -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/).
|
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
|
### Added
|
||||||
|
|
||||||
|
|
|
@ -35,8 +35,9 @@ def _prepare_extras() -> Dict[str, Any]:
|
||||||
"ui": setup_tools.load_requirements(file_name="ui.txt", **common_args),
|
"ui": setup_tools.load_requirements(file_name="ui.txt", **common_args),
|
||||||
"test": setup_tools.load_requirements(file_name="test.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["extra"] = extras["cloud"] + extras["ui"]
|
||||||
extras["all"] = extras["cloud"] + extras["ui"]
|
extras["dev"] = extras["extra"] + extras["test"] # + extras['docs']
|
||||||
|
extras["all"] = extras["dev"]
|
||||||
return extras
|
return extras
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
version = "1.8.0rc2"
|
version = "1.8.0"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
version = "1.8.0rc2"
|
version = "1.8.0"
|
||||||
|
|
|
@ -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/).
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
## [unreleased] - 2022-MM-DD
|
|
||||||
|
|
||||||
### Added
|
## [1.8.0] - 2022-11-01
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|
||||||
|
|
||||||
### Added
|
### 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 `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 `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 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
|
### 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))
|
- 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))
|
- 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))
|
- 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
|
### 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))
|
- 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 `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 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
|
## [1.7.7] - 2022-09-22
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
version = "1.8.0rc2"
|
version = "1.8.0"
|
||||||
|
|
Loading…
Reference in New Issue