How pgp-bill-3110/smolvla works
LeRobot is a robotics learning and control library; the README documents a LIBERO evaluation demo using a fine-tuned SmolVLA policy. The user-to-result path is the evaluation command, rollout setup, simulated environment and policy inference, ending in episode metrics and video. The tree also exposes reusable policy, dataset, processor, robot, and asynchronous-inference subsystems. Some paths are supported only by the tree or SOURCE INDEX, so their internal connections are omitted rather than inferred.
Main entry points: lerobot_eval.py Evaluation command · context.py Rollout context · modeling_smolvla.py SmolVLA policy · robot_client.py Async robot client
Components 18
Rollout evaluation
- Evaluation command
lerobot/src/lerobot/scripts/lerobot_eval.py - Rollout context
lerobot/src/lerobot/rollout/context.py - Inference engine
lerobot/src/lerobot/rollout/inference - LIBERO environment
lerobot/src/lerobot/envs/libero.py - Metrics and video
lerobot/src/lerobot/scripts/lerobot_eval.py
Policies and processing
- SmolVLA policy
lerobot/src/lerobot/policies/smolvla/modeling_smolvla.py - Pretrained policies
lerobot/src/lerobot/policies/pretrained.py - Pi-Gemma model
lerobot/src/lerobot/policies/pi_gemma.py - Real-time chunking
lerobot/src/lerobot/policies/rtc/modeling_rtc.py - Processor pipeline
lerobot/src/lerobot/processor/pipeline.py - Feature mapping
lerobot/src/lerobot/datasets/pipeline_features.py
Datasets and training
- Dataset runtime
lerobot/src/lerobot/datasets/lerobot_dataset.py - Dataset metadata
lerobot/src/lerobot/datasets/dataset_metadata.py
Robot runtime
- Robot drivers
lerobot/src/lerobot/robots/robot.py - Camera drivers
lerobot/src/lerobot/cameras/camera.py - Async robot client
lerobot/src/lerobot/async_inference/robot_client.py - Policy server
lerobot/src/lerobot/async_inference/policy_server.py
Other components
- Operator
Connections 17
- Operator → Evaluation command: runs
- Evaluation command → Rollout context: sets up
- Evaluation command → LIBERO environment: evaluates
- Rollout context → Inference engine: configures
lerobot/src/lerobot/rollout/context.py - Rollout context → Robot drivers: connects
lerobot/src/lerobot/rollout/context.py - Rollout context → Processor pipeline: configures
lerobot/src/lerobot/rollout/context.py - Inference engine → SmolVLA policy: runs policy
- SmolVLA policy → Pretrained policies: extends
- SmolVLA policy → Real-time chunking: uses
- SmolVLA policy → Pi-Gemma model: uses
- Feature mapping → Processor pipeline: transforms features
lerobot/src/lerobot/datasets/pipeline_features.py - Dataset runtime → Dataset metadata: reads
- Async robot client → Robot drivers: controls
lerobot/src/lerobot/async_inference/robot_client.py - Async robot client → Policy server: sends observations
- Async robot client → Camera drivers: configures
lerobot/src/lerobot/async_inference/robot_client.py - LIBERO environment → Metrics and video: reports episode
- Evaluation command → Metrics and video: writes results