pypi pytorch-lightning 2.0.7
Weekly patch release

latest releases: 2.4.0, 2.3.3, 2.3.2...
13 months ago

App

Changed

  • Removed the top-level import lightning.pdb; import lightning.app.pdb instead ((#18177))
  • Client retries forever ((#18065))

Fixed

  • Fixed an issue that would prevent the user to set the multiprocessing start method after importing lightning ((#18177))

Fabric

Changed

  • Disabled the auto-detection of the Kubeflow environment ((#18137))

Fixed

  • Fixed issue where DDP subprocesses that used Hydra would set hydra's working directory to current directory ((#18145))
  • Fixed an issue that would prevent the user to set the multiprocessing start method after importing lightning ((#18177))
  • Fixed an issue with Fabric.all_reduce() not performing an inplace operation for all backends consistently ((#18235))

PyTorch

Added

  • Added LightningOptimizer.refresh() to update the __dict__ in case the optimizer it wraps has changed its internal state ((#18280))

Changed

  • Disabled the auto-detection of the Kubeflow environment ((#18137))

Fixed

  • Fixed a Missing folder exception when using a Google Storage URL as a default_root_dir ((#18088))
  • Fixed an issue that would prevent the user to set the multiprocessing start method after importing lightning ((#18177))
  • Fixed the gradient unscaling logic if the training step skipped backward (by returning None) ((#18267))
  • Ensure that the closure running inside the optimizer step has gradients enabled, even if the optimizer step has it disabled ((#18268))
  • Fixed an issue that could cause the LightningOptimizer wrapper returned by LightningModule.optimizers() have different internal state than the optimizer it wraps ((#18280))

Contributors

@0x404, @awaelchli, @bilelomrani1, @Borda, @ethanwharris, @nisheethlahoti

If we forgot someone due to not matching commit email with GitHub account, let us know :]

Don't miss a new pytorch-lightning release

NewReleases is sending notifications on new releases.