~/talk

A 24x Speedup for Reinforcement Learning with RLlib + Ray

Talkat Ray Summit 2021 · 2021-06-22..06-24· [machine-learning, distributed-systems]
links:none on file
slides:none on file

Migration from Stable Baselines to RLlib + Ray turns a CPU‑bound financial simulator into a 24x faster workflow: tests go from ~7–10 hours to ~2 hours on a single node (≈4x) and down to ~20 minutes when scaling across 16 machines (≈6x), yielding the reported 24x speedup. The win comes from avoiding the lockstep issue of vectorized envs by using batch rollouts with multiple rollout workers and inner vectorized envs, keeping the Gym API, adjusting a few hyperparameters via Tune hyperparameter search, and adding cheap commodity CPU nodes.

AI-written summary · about

  1. 0:00Introduction to RLlib and Ray
  2. 2:49RL pipeline and bottlenecks
  3. 4:11Experiment challenges and initial attempts
  4. 7:20Migration to RLlib from Stable Baselines
  5. 9:03Benchmarking RLlib performance gains
  6. 10:45Parallelization types in RLlib
  7. 12:29Performance breakdown of steps
  8. 13:52Lockstep issue and its impact
  9. 15:37RLlib with Ray clusters
  10. 16:39Bonus features of RLlib ecosystem
  11. 17:43Conclusion and key takeaways
  12. 19:06Q&A
~/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.