Skip to main content

Model Training

The Training page creates policy-model training jobs in the browser, configures parameters, monitors progress, and manages checkpoints. The training service schedules job execution and produces checkpoints that can be deployed as inference services.

Roles and Prerequisites​

Roles and Permissions​

RoleAllowed actionsRequired permissions
AdministratorCreate, view, stop, and delete training jobs; manage training quotasView Training, Create Training Job
Project ManagerCreate, view, stop, and delete training jobsView Training, Create Training Job

The menu entry is Model → Training. For how to configure module permissions, see Module Permissions.

Prerequisites​

ItemRequirement
Training serviceThe training service is deployed and reachable
Training dataOne of: an exported LeRobot export record, an uploaded LeRobot dataset, an accessible download link, or a HuggingFace dataset
Dataset versionLeRobot v2 or v3; spirit-v1.5 also supports robochallenge
Training locationAn administrator has configured a local GPU server or a remote training node
GPU resourcesLocal training requires an available GPU; groot supports only Nvidia Ampere and later models
Training quotaThe count and duration quotas are not exhausted; an administrator grants quotas in Quota Management
PermissionCreate Training Job

Procedure​

Supported Models and Frameworks​

The platform registers 11 trainable policy models. The frameworks and dataset versions each model supports are listed below.

Model IDSupported frameworksDefault frameworkSupported dataset versions
actact, lerobotactv2, v3
diffusionlerobotlerobotv2, v3
grootlerobotlerobotv2, v3
pi0lerobot, jaxlerobotv2, v3
pi05lerobot, jaxlerobotv2, v3
reward_classifierlerobotlerobotv2, v3
saclerobotlerobotv2, v3
smolvlalerobotlerobotv2, v3
spirit-v1.5spiritspiritrobochallenge, v2, v3
tdmpclerobotlerobotv2, v3
vqbetlerobotlerobotv2, v3

The frameworks are described below. A model that an administrator disables by name or by framework does not appear on the Training page.

Framework IDDescriptionApplicable models
lerobotHuggingFace robot learning framework, based on PyTorchAll models except the dedicated frameworks below
jaxJAX compute frameworkpi0, pi05
actACT-specific training stackact
spiritSpirit official training stackspirit-v1.5

Create a Training Job​

  1. Go to Model → Training and click Create Training.
  2. Select the training location. To use a local GPU server, select the GPUs that take part in training.
  3. Select a model, then select a training framework among those the model supports.
  4. Fill in the training parameters. The first training job can use the defaults.
  5. Select the training dataset. The sources are listed below.
  6. Optional: under Resume from an existing training job, select the source training job and checkpoint weights.
  7. Select Project; when none is selected, the job is private and visible only to its creator.
  8. Click Create Training Job.

The training dataset has four sources.

SourceData locationDescription
Export LeRobotPlatform export recordsSelect a record from the export history
Uploaded LeRobotPlatform datasetsSelect an uploaded LeRobot dataset
Download linkExternal addressSupports LeRobot datasets in .tar.gz or .zip format
HuggingFaceHuggingFace HubEnter the dataset name, such as io-intelligence/piper_uncap_pen

Select training data

Select training location

Training parameters

Training Parameters​

General Parameters​

ParameterTypeDefaultDescription
batch_sizeint1Number of samples used per training step; adjust for GPU memory
stepsint10000Total training steps
seedint1000Random seed for reproducing results
num_workersint4Number of data loader worker processes
eval_freqint1000Evaluate every N steps
log_freqint100Emit logs every N steps
save_checkpointboolYesWhether to save checkpoints
save_freqint5000Save a checkpoint every N steps

Model-specific Parameters​

The Training page shows the parameters for the selected model. The defaults for commonly used models are listed below.

ModelParameterDefaultDescription
actchunk_size100Length of the action sequence predicted at once
actn_action_steps100Number of action steps executed per call
actvision_backboneresnet18Vision backbone; options are resnet18/34/50/101/152
actkl_weight10.0Weight of the KL divergence loss
diffusionhorizon16Time span of action prediction
diffusionn_action_steps8Number of action steps executed per call
diffusionnum_inference_stepsEmptyNumber of reverse diffusion sampling steps
grootimage_size224×224Image resolution for the vision tower input
grootmax_state_dim64Maximum state-vector dimension, zero-padded when smaller
grootmax_action_dim32Maximum action-vector dimension, zero-padded when smaller
pi0, pi05chunk_size50Length of the action sequence predicted at once
pi0, pi05num_inference_steps10Number of denoising sampling steps
pi0, pi05max_state_dim32Maximum state-vector dimension
smolvlachunk_size50Length of the action sequence predicted at once
smolvlanum_steps10Number of decoding steps
smolvlamax_state_dim32Maximum state-vector dimension
sacdiscount0.99Discount factor
sacactor_lr3e-4Learning rate of the policy network
tdmpchorizon5Prediction time span
tdmpcdiscount0.9Discount factor

Verification​

Training Progress Monitoring​

The training detail page has four tabs.

TabContent
Training MetricsLoss curves, validation metrics, learning rate, and training progress
CheckpointsCheckpoint list and artifact files
Real-time LogsStreaming output of training logs
Training ParametersParameters used by this job

Status and progress come from fields reported by the training service: progress percentage, current step, total steps, loss value, learning rate, and GPU memory usage.

Training job statuses are listed below.

StatusMeaningAvailable actions
PendingCreated and waiting to be scheduledDelete
RunningTraining in progressStop, Delete
SuccessTraining completedDeploy inference, Delete
FailedTraining ended with an errorResume from checkpoint, Delete
Stopped by userManually stopped by a userResume from checkpoint, Delete
PausedTraining pausedStop, Delete

Training detail page

Checkpoints and Artifacts​

Checkpoints are saved by training step, and are either final checkpoints or step checkpoints.

ActionEffectConstraint
DownloadDownload a checkpoint file or a full archiveA large checkpoint can be synced to object storage before download
DeleteDelete the checkpointCannot be undone
InferenceDeploy an inference service from the checkpointSee Model Inference
Offline deploymentGenerate an offline deployment packageSee Model Inference

Resume from an existing training job is used for fine-tuning or continued training: select the source training job and checkpoint weights, then create a new job.

ConstraintDescription
Same training locationThe source training job must be on the same training node as the target training location
Checkpoint existsOnly checkpoints that actually exist in the source job can be selected

Model checkpoint list

The Training Parameters tab provides Edit parameters and retrain: after the parameters change, the system creates a new training job based on the current one, and the original job stays unchanged.

Error Handling​

SymptomPossible causeResolution
Cannot create a training jobTraining quota exhausted, no dataset selected, or no checkpoint selectedRequest quota; complete the dataset and checkpoint selection
Training job failedInsufficient GPU memory, malformed data, or wrong parametersLower batch_size; fix the data format; adjust parameters and retrain
Local GPU unavailableNo GPU availableThe system reports that it fell back to CPU training; check the GPU configuration
groot cannot select a GPUThe GPU model is not Nvidia Ampere or laterSwitch to an A100, RTX 4090, or similar model
Training interruptedTraining node failureResume training from the last saved checkpoint
Training takes longer than expectedLarge dataset, high model parameter count, or slow GPUReduce training steps or data volume; switch to a faster GPU
PagePurpose
Model InferenceDeploy a checkpoint as an inference service
Dataset ExportExport training data in LeRobot format
Data QCAutomatic quality check rules for ROS recordings
Quota ManagementGrant and view training count and duration quotas
LeRobot Datasets and TrainingImport, visualize, and train on LeRobot datasets