~/talk

Large Scale Data Loading and Data Preprocessing with Ray

Talkat Ray Summit 2021 · 2021-06-22..06-24· [machine-learning, data-engineering]
name:Wei Chen
links:none on file
slides:none on file

NVIDIA describes replacing PyTorch’s multiprocessing DataLoader with Ray actors and the Ray object store to run dataset get_item calls in separate processes, keeping existing sampler/dataset code. The Ray pipeline matches PyTorch DataLoader same throughput while eliminating intermittent deadlocks. Production deployment requires strict MPI-style Ray init/teardown order for multi‑GPU jobs and tuning (worker_register_timeout_seconds, heartbeat timeouts) on Kubernetes. The system runs reliably at scale.

AI-written summary · about

  1. 0:00Introduction
  2. 0:40Agenda
  3. 1:35Data Loading
  4. 6:26Python Data Loader
  5. 10:07Python MultiProcess Engine
  6. 12:02Why use Ray
  7. 14:35Sketch
  8. 16:00Benefits
  9. 19:06Lessons Learned
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.