PyTorch Lightning 1.7.2: Standard patch release
·
78 commits
to release/pytorch
since this release
[1.7.2] - 2022-08-17
Added
- Added
FullyShardedNativeNativeMixedPrecisionPluginto handle precision forDDPFullyShardedNativeStrategy(#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
MisconfigurationExceptionif batch transfer hooks are overriden withIPUAccelerator(13961) - The default project name in
WandbLoggeris now "lightning_logs" (#14145) - The
WandbLogger.nameproperty no longer returns the name of the experiment, and instead returns the project's name (#14145)
Fixed
- Fixed a bug that caused spurious
AttributeErrorwhen multipleDataLoaderclasses 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
LightningModuleorLightningDataModule(#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_distwhen using torchmetrics (#14143) - Avoid
metadata.entry_pointsdeprecation 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
WandbLoggerwould be set to the project name instead of a randomly generated string (#14145) - Fixed not preserving set attributes on
DataLoaderandBatchSamplerwhen instantiated inside*_dataloaderhooks (#14212)
Contributors
@adamreeve @akihironitta @awaelchli @Borda @carmocca @dependabot @otaj @rohitgr7