Theory of Intelligence
DEEP LEARNING•Training Deep Networks•Training At Scale•6.1 Efficient Data Pipelines

Introduction

Keeping the GPU busy: loading and preprocessing data at scale, prefetching with parallel workers, and handling datasets too big for one machine's memory or disk.

Introduction

A modern GPU can process thousands of images per second. But before an image reaches the GPU, something has to read it from disk, decode the JPEG, resize and augment it, and copy it to GPU memory. If that work is slower than the GPU, the GPU sits idle, waiting. You've paid for a race car and you're stuck behind a tractor.

An efficient data pipeline makes sure the next batch is always ready before the GPU needs it. Think of a restaurant kitchen: the chef (GPU) is fastest when prep cooks (data workers) have already washed, chopped and laid out the ingredients for the next dish while the current one is cooking.

Discuss theoretical concepts, mathematical formulas, and architectural foundations.

Supports inline code with `backticks`
No comments yet. Be the first to start the discussion!