ADocumentation Index
Fetch the complete documentation index at: https://ray-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Learner owns the optimizer and runs the algorithm-specific loss on each training batch.
Single-GPU training
num_learners=0 runs the learner inside the local Algorithm process.
Multi-GPU data parallelism
Configure the optimizer
Algorithm-specific optimizer settings live on the algorithm’straining builder:
Custom losses
For non-trivial algorithm changes, subclass the algorithm’s learner:Mixed precision and torch.compile
precision="bf16" (algorithm-dependent).
Next steps
RL modules
Define the network the Learner trains.
Training
The full iteration loop.