File tree 1 file changed +3
-4
lines changed
src/lightning/pytorch/trainer
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -935,17 +935,16 @@ def _run(
935
935
936
936
_verify_loop_configurations (self )
937
937
938
- # hook
939
- log .debug (f"{ self .__class__ .__name__ } : preparing data" )
940
- self ._data_connector .prepare_data ()
941
-
942
938
# ----------------------------
943
939
# SET UP THE TRAINER
944
940
# ----------------------------
945
941
log .debug (f"{ self .__class__ .__name__ } : setting up strategy environment" )
946
942
self .strategy .setup_environment ()
947
943
self .__setup_profiler ()
948
944
945
+ log .debug (f"{ self .__class__ .__name__ } : preparing data" )
946
+ self ._data_connector .prepare_data ()
947
+
949
948
call ._call_setup_hook (self ) # allow user to set up LightningModule in accelerator environment
950
949
log .debug (f"{ self .__class__ .__name__ } : configuring model" )
951
950
call ._call_configure_model (self )
You can’t perform that action at this time.
0 commit comments