Reinforcement Learning Studio (RLS) is a high-performance, fully observable training platform that Platform for AI (PAI) provides for reinforcement learning (RL), especially Agentic RL scenarios. This topic provides a getting-started example and a reference for all console parameters.
Getting started
In the single-turn mathematical reasoning (Math) scenario, use a public math dataset and a Qwen base model to configure and submit a GRPO (Group Relative Policy Optimization) training job in RLS. During training, use full observability to view Reward and evaluation metric trends. This lets you quickly walk through the complete flow from job submission to performance evaluation. For more information, see Reinforcement learning practice for single-turn mathematical reasoning with GRPO.
Console parameter reference
The form on the Create a training job page consists of the following four configuration sections.
Basic information: Covers the job name, task description, and tags used to identify and manage jobs.
Sampling configuration (Rollout): Determines how the model runs inference, interacts with the environment, and generates trajectory data (Trajectory). These settings directly affect sampling quality, duration, and computing overhead.
Training configuration (Train): Determines how the policy is updated based on trajectories, which affects training stability and convergence.
Resource and scheduling configuration: Covers the scheduling mode, the resource quotas required for sampling and training, the sandbox service, and environment variables.
Basic information
|
Parameter |
Description |
|
Job Name |
Set an easily identifiable name for the job. |
|
Job Template |
After you select a template, the training parameters are auto-populated. Adjust them as needed. |
|
Task Description |
Use this field to describe the purpose, background, or other context of the job. |
|
Tag |
Apply standardized tags to your jobs. Tags provide the foundation for archiving jobs by label, analyzing job distribution, and tracking resource consumption. |
Sampling configuration (Rollout)
|
Parameter |
Description |
|
Dataset Source |
Two options are available: Preset and Custom.
|
|
Training Data File Path |
Enter the actual file path inside the container after mounting, with one path per line. Example: |
|
Validation Data File Path |
Enter the actual file path inside the container after mounting, with one path per line. Example: |
Training configuration (Train)
|
Parameter |
Description |
|
Model Source |
For Preset, select a model directly from the Preset Model drop-down list. No manual mounting is required. For Custom, first select and mount a data source from the Model Data Source drop-down list, and then enter the Name and Container Path. |
|
Training Mode |
Currently, Full Tuning and LoRA are supported. |
|
Parameter |
Description |
|
Checkpoint OSS Output Directory |
Select the OSS directory used to save checkpoints. After you select a directory, the system automatically mounts it in read-write mode, and you can modify the container path below. |
|
CKPT Storage Path |
The path where the checkpoint is saved inside the container, which is the container path where the OSS directory is mounted. |
|
Save Frequency (Steps) |
The number of training steps between checkpoint saves. Default value: 20. |
Resource and scheduling configuration
|
Parameter |
Description |
|
Scheduling Mode |
Determines how the sampling (Rollout) and training (Train) stages are organized at runtime. The following two modes are supported:
|
|
Resource Quota |
Select a subscription resource quota that you have purchased from the drop-down list. GPU models such as PPU M890P, H100, H200, and L20X are recommended. |
|
Number of Nodes |
The number of nodes used by this resource group. Default value: 1. |
|
GPU per Node (Cards) |
The number of GPUs allocated to each node. |
|
CPU per Node (Cores) |
The number of CPU cores allocated to each node. |
|
Memory per Node |
The memory size allocated to each node. Unit: GiB. |
|
Sandbox Service |
Select a PAI-EAS Instant Service in the Running state from the drop-down list. The system automatically schedules the service for agent tasks to interact with the environment during the sampling stage. Important
To use an EAS Instant Service in RLS, you must complete the enterprise image configuration when you create the service. Currently, only Harbor is supported. Otherwise, the service is unavailable. |
|
Environment Variable |
Click Add Environment Variable to configure environment variables for the job as variable name and variable value key-value pairs, such as Note
To observe training metrics through Weights & Biases (W&B), configure the |
What to do next
Use the job observability feature to view the job status, pipeline efficiency, and training effectiveness, and to troubleshoot exceptions when errors occur. For more information, see Job observability: Module introduction.