Learning objectives
What you will be able to explain
- Match each Ray primitive to its definition
- Why does Ray's shared-memory object store matter for RL throughput?
- When do you need a Ray actor rather than a task?
- What is RLlib?
- Match each RLlib abstraction to its role
- In deep RL, why is environment sampling usually the throughput bottleneck?
Section 01
Match each Ray primitive to its definition to When do you need a Ray actor rather than a task?
01
Match each Ray primitive to its definition
Guided checkpoint
Ray's core model underpins RLlib.
02
Why does Ray's shared-memory object store matter for RL throughput?
03
When do you need a Ray actor rather than a task?
Section 02
What is RLlib? to In deep RL, why is environment sampling usually the throughput bottleneck?
01
What is RLlib?
02
Match each RLlib abstraction to its role
Guided checkpoint
These are the moving parts of an RLlib training run.
03
In deep RL, why is environment sampling usually the throughput bottleneck?
Section 03
What is the actor-learner architecture? to Match each distributed-RL architecture to its defining idea
01
What is the actor-learner architecture?
02
Synchronous vs asynchronous distributed RL: true or false
Guided checkpoint
Mark each statement.
03
Match each distributed-RL architecture to its defining idea
Guided checkpoint
Distinguish the canonical distributed actor-learner architectures.
Section 04
In IMPALA, what do the actors send to the learner, and what problem does that create? to SEED RL moves policy inference to the central learner. What IMPALA inefficiency does this fix?
01
In IMPALA, what do the actors send to the learner, and what problem does that create?
02
What makes Ape-X scale so well?
03
SEED RL moves policy inference to the central learner. What IMPALA inefficiency does this fix?
Section 05
What is 'policy lag' (staleness) in distributed RL? to Once sampling is no longer the bottleneck, how is the learner itself scaled?
01
What is 'policy lag' (staleness) in distributed RL?
02
Why did synchronous A2C often replace asynchronous A3C in practice?
03
Once sampling is no longer the bottleneck, how is the learner itself scaled?
Section 06
Throughput and bottlenecks: true or false to Ray Tune supports Population Based Training (PBT). Why is that interesting for an RL / AlphaStar-style team?
01
Throughput and bottlenecks: true or false
Guided checkpoint
Mark each statement.
02
How is a Ray cluster typically run on Kubernetes, as the ad implies?
03
Ray Tune supports Population Based Training (PBT). Why is that interesting for an RL / AlphaStar-style team?
Section 07
How does Ray help with the long, failure-prone runs typical of large RL training? to Why might a distributed RL job use Ray 'placement groups' (gang scheduling)?
01
How does Ray help with the long, failure-prone runs typical of large RL training?
02
Why distribute RL training for expensive multi-agent simulations? Select all that apply.
03
Why might a distributed RL job use Ray 'placement groups' (gang scheduling)?
Section 08
How does a fast C++ simulation fit into a Ray / Python RL stack?
01
How does a fast C++ simulation fit into a Ray / Python RL stack?
Knowledge check
Turn understanding into recall.
The quiz now follows the same concepts in scored form. You can return to this lesson from the quiz whenever a gap appears.