lightning/pytorch_lightning/overrides
Kushashwa Ravi Shrimali 4a2949f8ea Fix import error when `distributed` module not available (#12794)
* add distributed.is_available checks to avoid errors when not available

* Update CHANGELOG

* Update pytorch_lightning/strategies/ddp.py

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>

* Update pytorch_lightning/strategies/ddp.py

Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>

Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2022-04-27 12:02:16 -04:00
..
__init__.py
base.py Add typing to `LightningModule.trainer` (#12345) 2022-03-29 04:14:14 +00:00
data_parallel.py Add typing to `LightningModule.trainer` (#12345) 2022-03-29 04:14:14 +00:00
distributed.py Add typing to `LightningModule.trainer` (#12345) 2022-03-29 04:14:14 +00:00
fairscale.py Fix typing in `pl.overrides.fairscale` (#10799) 2021-11-29 11:28:28 +00:00
torch_distributed.py Fix import error when `distributed` module not available (#12794) 2022-04-27 12:02:16 -04:00