TL;DR: PyTorch's DataLoader can be 50-124x slower than direct tensor indexing for in-memory GPU workloads. We reproduced a real PyTorch issue on an RTX 4090 and traced every CUDA API call and Linux kernel event to find the root cause.…
Anonymous readers can preview up to 1024 characters here. Log in to unlock the full article once ingest succeeds.