pypi pytorch-lightning 1.7.2
PyTorch Lightning 1.7.2: Standard patch release

latest releases: 2.4.0, 2.3.3, 2.3.2...
2 years ago

[1.7.2] - 2022-08-17

Added

  • Added FullyShardedNativeNativeMixedPrecisionPlugin to handle precision for DDPFullyShardedNativeStrategy (#14092)
  • Added profiling to these hooks: on_before_batch_transfer, transfer_batch_to_device, on_after_batch_transfer, configure_gradient_clipping, clip_gradients (#14069)

Changed

  • Updated compatibility for LightningLite to run with the latest DeepSpeed 0.7.0 (13967)
  • Raised a MisconfigurationException if batch transfer hooks are overriden with IPUAccelerator (13961)
  • The default project name in WandbLogger is now "lightning_logs" (#14145)
  • The WandbLogger.name property no longer returns the name of the experiment, and instead returns the project's name (#14145)

Fixed

  • Fixed a bug that caused spurious AttributeError when multiple DataLoader classes are imported (#14117)
  • Fixed epoch-end logging results not being reset after the end of the epoch (#14061)
  • Fixed saving hyperparameters in a composition where the parent class is not a LightningModule or LightningDataModule (#14151)
  • Fixed epoch-end logging results not being reset after the end of the epoch (#14061)
  • Fixed the device placement when LightningModule.cuda() gets called without specifying a device index and the current cuda device was not 0 (#14128)
  • Avoided false positive warning about using sync_dist when using torchmetrics (#14143)
  • Avoid metadata.entry_points deprecation warning on Python 3.10 (#14052)
  • Avoid raising the sampler warning if num_replicas=1 (#14097)
  • Fixed resuming from a checkpoint when using Stochastic Weight Averaging (SWA) (#9938)
  • Avoided requiring the FairScale package to use precision with the fsdp native strategy (#14092)
  • Fixed an issue in which the default name for a run in WandbLogger would be set to the project name instead of a randomly generated string (#14145)
  • Fixed not preserving set attributes on DataLoader and BatchSampler when instantiated inside *_dataloader hooks (#14212)

Contributors

@adamreeve @akihironitta @awaelchli @Borda @carmocca @dependabot @otaj @rohitgr7

Don't miss a new pytorch-lightning release

NewReleases is sending notifications on new releases.