You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed differences in data loading speeds by varying persistent_workers, pin_memory, and prefetch_factor. In the dataloader. I saw that persistent_workers has already been enabled when num_workers>1 (#2291). Would it be possible to let more arguments than num_workers be configurable in datamodules?
Rationale
It enables faster data loading in some cases.
Implementation
Let pin_memory and prefetch_factor be configurable like num_workers. See #2333.
Alternatives
Maybe not so nice with many additional arguments to datamodule. Is there any way to get around that?
Additional information
No response
The text was updated successfully, but these errors were encountered:
Summary
I have noticed differences in data loading speeds by varying
persistent_workers
,pin_memory
, andprefetch_factor
. In the dataloader. I saw thatpersistent_workers
has already been enabled whennum_workers>1
(#2291). Would it be possible to let more arguments thannum_workers
be configurable in datamodules?Rationale
It enables faster data loading in some cases.
Implementation
Let
pin_memory
andprefetch_factor
be configurable likenum_workers
. See #2333.Alternatives
Maybe not so nice with many additional arguments to datamodule. Is there any way to get around that?
Additional information
No response
The text was updated successfully, but these errors were encountered: