File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
pytorch_lightning/trainer/connectors Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
13
13
14
14
- Fixed ` LightningCLI ` race condition while saving the config ([ #11199 ] ( https://github.com/PyTorchLightning/pytorch-lightning/pull/11199 ) )
15
15
16
+ - Fixed data fetcher selection ([ #11294 ] ( https://github.com/PyTorchLightning/pytorch-lightning/pull/11294 ) )
16
17
## [ 1.5.7] - 2021-12-21
17
18
18
19
### Fixed
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ def _select_data_fetcher(self) -> AbstractDataFetcher:
120
120
121
121
def get_profiled_dataloader (self , dataloader : Iterable , dataloader_idx : int = 0 ) -> Iterable :
122
122
stage : str = self .trainer .state .stage .value
123
- data_fetcher = setattr (self , f"{ stage } _data_fetcher" , None ) or self ._select_data_fetcher ()
123
+ data_fetcher = getattr (self , f"{ stage } _data_fetcher" , None ) or self ._select_data_fetcher ()
124
124
data_fetcher .setup (
125
125
dataloader ,
126
126
stage = stage ,
You can’t perform that action at this time.
0 commit comments