In this tutorial, attendees will learn how to use Ray to scale their new and existing Python code. It will cover the Ray system architecture, example applications, GPU support, and best practices. It will also include material for more comprehensive exercises. Attendees will also receive a tutorial on Modin, and how Pandas workflows can be scaled by changing a single line of code.
Attendees will:
Learn about @ray.remote
decorator.
Learn about how to submit a function remotely.
Learn how to use futures in Ray.
Learn about ray.get(...)
.
Learn how to access the Ray UI.
Attendees will:
Advance their knowledge about the futures in Ray.
Learn how to create remote task dependencies in Ray.
Attendees will learn how to write their own tree reduce in Ray.
Attendees will learn how to write a parallel hyperparameter sweep in Ray.
ray.wait
to avoid waiting for slow tasks.Attendees will:
Learn how to use ray.wait
to block on remote call completion
Learn how to use the result of a subset of remote tasks
ray.wait
to process tasks in the order that they finish.Attendees will:
Advance their knowledge of the uses of ray.wait
Learn how to process tasks in order of completion (as opposed to order of submission)
Attendees will:
Learn about the Actor API in Ray
Learn how to create Actors in Ray
Learn how to call methods on Actors in Ray
Attendees will:
Learn about Actor Handles and how to use them
Learn how to pass Actor Handles to a remote task
Learn how to call an Actor method from a remote task
ray.put
.Attendees will:
Learn about some of the best practices when using ray.put
Learn how to reuse serialized objects for multiple tasks
Attendees will:
Learn how to use Ray with GPUs
Learn how to create an Actor that has GPUs allocated to it
Attendees will:
Learn how to have more control over resources in Ray with custom resources
Learn how to schedule tasks with hardware requirements on specific machines with custom resources
Attendees will:
Advance their knowledge on general principles covered in previous exercises
Apply these exercises to solve a real-world problem
Learn how to pass TensorFlow weights between tasks
Attendees will:
Learn how to speed up Pandas workflows with Modin
Learn about the API compatibility with Pandas
Learn about the speed of read_csv
Learn about the current limitations of Modin