Skip to content

Weekly patch release

Compare
Choose a tag to compare
@Borda Borda released this 16 Aug 07:30
· 1498 commits to release/stable since this release

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 :]