Why it matters
Data bottleneck common. Understanding shapes fix.
Advertisement
The architecture
Profile: GPU util < 90% often data-bound.
Fix: workers + prefetch + faster IO.
Advertisement
How it works end to end
num_workers: try 4-16.
persistent_workers=True: avoid worker restart.
Preprocess once + cache.
Faster IO: NVMe, memmap.