Migration GuideΒΆ Why migrate to SPDL? Pros Cons Paradigm Shift Concurrency Structure Migrating from PyTorch DataLoader Decoding images in threads Batching images Understanding the Performance Trend Switching to SPDL I/O Summary Migrating from Grain Why SPDL uses a stage-first pipeline How Grain is commonly used Equivalent pipeline structure Component mapping Migration work for non-equivalent features Migration workflow Benchmark the replacement Benchmark setup