Lightning

Latest version: v2.3.0

Safety actively analyzes 638741 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 27

1.8.3.post2

Not secure
:robot:

1.8.3.post1

Not secure
App

Changed

- Fixed the PyTorch Inference locally on GPU ([15813](https://github.com/Lightning-AI/lightning/pull/15813))

---
**Full Changelog**: https://github.com/Lightning-AI/lightning/compare/1.8.3...1.8.3

1.8.3.post0

Not secure

1.8.3

Not secure
App

Changed

- Deduplicate top-level lighting CLI command groups (15761)
* `lightning add ssh-key` CLI command has been transitioned to `lightning create ssh-key`
* `lightning remove ssh-key` CLI command has been transitioned to `lightning delete ssh-key`
- Set Torch inference mode for prediction (15719)
- Improved `LightningTrainerScript` start-up time (15751)
- Disable XSRF protection in `StreamlitFrontend` to support upload in localhost (15684)

Fixed

- Fixed debugging with VSCode IDE (15747)
- Fixed setting property to the `LightningFlow` (15750)

Lite

Changed

- Temporarily removed support for Hydra multi-run (15737)

Pytorch

Changed

- Temporarily removed support for Hydra multi-run (15737)
- Switch from `tensorboard` to `tensorboardx` in `TensorBoardLogger` (15728)

---
**Full Changelog**: https://github.com/Lightning-AI/lightning/compare/1.8.2...1.8.3

1.8.2

Not secure
App

Added

- Added title and description to ServeGradio (15639)
- Added a friendly error message when attempting to run the default cloud compute with a custom base image configured (14929)

Changed

- Improved support for running apps when dependencies aren't installed (15711)
- Changed the root directory of the app (which gets uploaded) to be the folder containing the app file, rather than any parent folder containing a `.lightning` file (15654)
- Enabled MultiNode Components to support state broadcasting (15607)
- Prevent artefactual "running from outside your current environment" error (15647)
- Rename failed -> error in tables (15608)

Fixed

- Fixed race condition to over-write the frontend with app infos (15398)
- Fixed bi-directional queues sending delta with Drive Component name changes (15642)
- Fixed CloudRuntime works collection with structures and accelerated multi node startup time (15650)
- Fixed catimage import (15712)
- Parse all lines in app file looking for shebangs to run commands (15714)

Lite

Fixed

- Fixed the automatic fallback from `LightningLite(strategy="ddp_spawn", ...)` to `LightningLite(strategy="ddp", ...)` when on an LSF cluster (15103)

Pytorch

Fixed

- Make sure save_dir can be empty str (15638](https://github.com/PyTorchLightning/pytorch-lightning/issues/15638))
- Fixed the automatic fallback from `Trainer(strategy="ddp_spawn", ...)` to `Trainer(strategy="ddp", ...)` when on an LSF cluster (15103](https://github.com/PyTorchLightning/pytorch-lightning/issues/15103))

---
**Full Changelog**: https://github.com/Lightning-AI/lightning/compare/1.8.1...1.8.2

1.8.1

Not secure
App

Added

- Added the `start` method to the work (15523)
- Added a `MultiNode` Component to run with distributed computation with any frameworks (15524)
- Expose `RunWorkExecutor` to the work and provides default ones for the `MultiNode` Component (15561)
- Added a `start_with_flow` flag to the `LightningWork` which can be disabled to prevent the work from starting at the same time as the flow (15591)
- Added support for running Lightning App with VSCode IDE debugger (15590)
- Added `bi-directional` delta updates between the flow and the works (15582)
- Added `--setup` flag to `lightning run app` CLI command allowing for dependency installation via app comments (15577)
- Auto-upgrade / detect environment mis-match from the CLI (15434)
- Added Serve component (15609)


Changed

- Changed the `flow.flows` to be recursive wont to align the behavior with the `flow.works` (15466)
- The `params` argument in `TracerPythonScript.run` no longer prepends `--` automatically to parameters (15518)
- Only check versions / env when not in the cloud (15504)
- Periodically sync database to the drive (15441)
- Slightly safer multi node (15538)
- Reuse existing commands when running connect more than once (15471)

Fixed

- Fixed writing app name and id in connect.txt file for the command CLI (15443)
- Fixed missing root flow among the flows of the app (15531)
- Fixed bug with Multi Node Component and add some examples (15557)
- Fixed a bug where payload would take a very long time locally (15557)
- Fixed an issue with the `lightning` CLI taking a long time to error out when the cloud is not reachable (15412)

Lite

Fixed

- Fix an issue with the SLURM `srun` detection causing permission errors (15485)
- Fixed the import of `lightning_lite` causing a warning 'Redirects are currently not supported in Windows or MacOs' (15610)

PyTorch

Fixed

- Fixed `TensorBoardLogger` not validating the input array type when logging the model graph (15323)
- Fixed an attribute error in `ColossalAIStrategy` at import time when `torch.distributed` is not available (15535)
- Fixed an issue when calling `fs.listdir` with file URI instead of path in `CheckpointConnector` (15413)
- Fixed an issue with the `BaseFinetuning` callback not setting the `track_running_stats` attribute for batch normaliztion layers (15063)
- Fixed an issue with `WandbLogger(log_model=True|'all)` raising an error and not being able to serialize tensors in the metadata (15544)
- Fixed the gradient unscaling logic when using `Trainer(precision=16)` and fused optimizers such as `Adam(..., fused=True)` (15544)
- Fixed model state transfer in multiprocessing launcher when running multi-node (15567)
- Fixed manual optimization raising `AttributeError` with Bagua Strategy (12534)
- Fixed the import of `pytorch_lightning` causing a warning 'Redirects are currently not supported in Windows or MacOs' (15610)

---
**Full Changelog**: https://github.com/Lightning-AI/lightning/compare/1.8.0...1.8.1

Page 8 of 27

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.