High-throughput GPU data loading library (Python)
A Python library that streams data onto GPUs at hardware-limit speeds (over 8 GiB/s, saturating the author's NVMe SSD), replacing clunky DataLoaders with slow and inconsistent performance. Works with any Python ML framework (torch, tensorflow, jax) for both training and inference, supports single and multi-GPU setups on one node (shared/separate queues for DDP), multiple data sources, seamless training/validation phase transitions, and arbitrary tensor shapes. Planned features include (de)compression, on-the-fly data augmentations, and a public release.
What it addresses
Existing DataLoaders are too slow and have inconsistent performance, preventing GPUs from being fed data as fast as storage/network hardware allows.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
High-throughput GPU data loading library (Python)
A Python library that streams data onto GPUs at hardware-limit speeds (over 8 GiB/s, saturating the author's NVMe SSD), replacing clunky DataLoaders with slow and inconsistent performance. Works with any Python ML framework (torch, tensorflow, jax) for both training and inference, supports single and multi-GPU setups on one node (shared/separate queues for DDP), multiple data sources, seamless training/validation phase transitions, and arbitrary tensor shapes. Planned features include (de)compression, on-the-fly data augmentations, and a public release.
Problem: Existing DataLoaders are too slow and have inconsistent performance, preventing GPUs from being fed data as fast as storage/network hardware allows.
Audience: For people building machine learning training and inference pipelines in Python.
Posted by @michalsustr · Original source ↗
Source text · @michalsustr · · Source ↗
I'm working on a python library that allows you to put data on GPU as fast as your network/storage allows you to at the hardware limits. No more clunky DataLoaders that are too slow and have inconsistent perf.