EveryDream-trainer/ldm/data/dl_singleton.py

3 lines
149 B
Python

# stop lightning's repeated instantiation of batch train/val/test classes causing multiple sweeps of the same data off disk
shared_dataloader = None