~/talk

Scaling Python for Machine Learning: Beyond Data Parallelism

Talkat GOTO Chicago 2023 · 2023-05-22..05-24· [machine-learning, python]
slides:none on file

Compares Spark, Dask, and Ray for scaling ML, showing that data parallelism breaks down for stateful work like model weights and reinforcement learning and that the actor model handles persistent state and message passing. Demonstrates a working Ray-based satellite backend (SpaceBeaver) using class-based Ray actors with max_restarts=-1 and shows recovery must be implemented (S3 or DB persistence). Notes Dask lazy evaluation vs Ray eager scheduling, that Dask actors have weak fault tolerance, and Spark does not expose actors.

AI-written summary · about

  1. 0:00Intro
  2. 4:16Probable (relevant) biases
  3. 6:14Quick refresher on data parallelism
  4. 11:52What do (distributed) tasks look like?
  5. 12:49Dask distributed tasks
  6. 13:42Ray distributed tasks
  7. 14:03How are they different & same?
  8. 18:41Task fault tolerance
  9. 21:53Does Spark have tasks & actors?
  10. 27:39Ray Diagram
  11. 31:33Ray actor fault tolerance
  12. 33:43What's up with Ray & Netflix?
  13. 34:39Dask actor fault tolerance
  14. 37:28Outro
~/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.