WhoBuilt

From 15% to 90% GPU Utilization: Fix the Data Pipeline, Not the Model

Oct 10, 2026· 17 min· 9.0K views·Watch on YouTube

An unnamed AI Engineer speaker discusses improving a multimodal SFT data pipeline for a Qwen3-VL-based model; no company or event venue is stated.

Measure time spent waiting for data

The speaker frames GPU utilization as a data pipeline question: are the GPUs waiting for inputs? In a baseline that loads images from S3 and processes them serially, data preparation takes over 100 seconds while training takes 15 to 20 seconds, leaving GPU utilization at about 15%.

Parallelize loading and processing

The pipeline uses async I/O to fetch images and Ray actors to parallelize processing across workers. This brings data fetching time per batch down to about 40 seconds and gives a 25% speedup, though the trainer still waits for each batch to be prepared.

Prefetch batches and reduce copies

A background producer fills a queue ahead of the trainer, making processed batches available on demand and bringing data fetching and processing time per batch close to zero. The speaker then uses Ray object references to avoid repeatedly copying large image arrays across worker, coordinator, and trainer processes; together, these changes reduce the wait ratio from 85% to 20%.

Tune for larger scale

At larger scale, adding four times the data-parallel ranks, about 200 data streams, and four times the batch size exposes a network bottleneck on nodes where workers are colocated. Combining zero-copy retrieval with spread scheduling improves large-scale throughput by 50%, though neither setting helps in the small-scale experiment.

Profile the bottleneck at each stage

The speaker recommends profiling to determine whether the pipeline is CPU-bound, I/O-bound, or GPU-bound. Fixing one constraint can expose another, and settings that help at scale may not improve a smaller run.

Takeaways

  • Profile the baseline and measure time spent waiting for data before optimizing model kernels.
  • Match concurrency to the bottleneck: use async I/O for image fetching and parallel workers for independent sample processing.
  • Prefetch batches to keep the trainer supplied, while accounting for queue warm-up and checkpointing.
  • Use object references to avoid copying large multimodal samples across process boundaries.
  • Reassess scheduling and retrieval settings as scale changes; benchmark them across multiple run sizes.

Mentioned in this talk

Search inside this talk

What was claimed 3

  • feature
    Ray: Actors provide APIs for communication across workers
    “they offer APIs to communicate across workers”
    YouTube
    Unverified1 source· Talk
  • feature
    Prefetching: Keeps processed data available before the trainer requests it
    “When it requests data, it’s available on demand”
    YouTube
    Unverified1 source· Talk
  • feature
    Ray: Lets data-parallel ranks retrieve samples by object reference, avoiding tensor round trips through the head node
    “each sample carries an object reference, which is just a pointer to the data”
    YouTube
    Unverified1 source· Talk

Related talks