lerobot-info command displays comprehensive system information useful for debugging LeRobot issues and reporting bugs.
Command
src/lerobot/scripts/lerobot_info.py
Overview
This utility:- Shows LeRobot and dependency versions
- Reports system platform and Python version
- Displays GPU and CUDA information
- Lists installed LeRobot scripts
- Runs without requiring LeRobot dependencies
- Outputs in markdown format for easy copying
Output Example
Information Displayed
LeRobot Information
Installed LeRobot package version or “N/A” if not installed.
All installed command-line scripts (e.g.,
lerobot-train, lerobot-record).System Information
Operating system and architecture (e.g.,
Linux-6.5.0, Windows-10, macOS-14.0).Python interpreter version.
Dependency Versions
Version of
huggingface_hub package.Version of
datasets package.Version of
numpy package.FFmpeg command-line tool version (required for video encoding).
PyTorch and GPU Information
PyTorch version including CUDA/ROCm build info.
Whether PyTorch has CUDA support compiled in.
CUDA version PyTorch was built with.
GPU device name (e.g., “NVIDIA GeForce RTX 4090”).
Placeholder for user to fill in when reporting issues.
Use Cases
Bug Reports
When reporting issues on GitHub:- Run
lerobot-info - Copy the output
- Paste into your issue description
- Fill in “Using GPU in script?” field
Debugging Installation Issues
Check if all dependencies are installed:- LeRobot version: N/A → LeRobot not installed
- PyTorch version: N/A → PyTorch not installed
- FFmpeg version: N/A → FFmpeg not installed
- Cuda version: N/A → CUDA not available
Verifying GPU Setup
Check CUDA availability:- “Is PyTorch built with CUDA support?: False” → Install CUDA-enabled PyTorch
- “Cuda version: N/A” → Install CUDA toolkit
- “GPU model: N/A” → No GPU detected or driver issue
Comparing Environments
When collaborating, compare system info:Checking Script Availability
Verify all LeRobot scripts are installed:lerobot-calibratelerobot-dataset-vizlerobot-edit-datasetlerobot-evallerobot-find-cameraslerobot-find-joint-limitslerobot-find-portlerobot-imgtransform-vizlerobot-infolerobot-recordlerobot-replaylerobot-setup-canlerobot-setup-motorslerobot-teleoperatelerobot-trainlerobot-train-tokenizer
Troubleshooting
FFmpeg Not Found
Output:PyTorch Not Using GPU
Output:Version Parsing Failed
Output:Programmatic Usage
Custom Information Gathering
Script Features
Minimal Dependencies
The script is designed to run with minimal dependencies:- Uses only Python standard library
- Gracefully handles missing packages
- Returns “N/A” for unavailable information
- Can run even if LeRobot is not installed
Safe Execution
The script:- Never modifies system state
- Only reads information
- Handles errors gracefully
- Works on Windows, Linux, and macOS
See Also
- GitHub Issues - Report bugs with system info
- Installation Guide - Setup instructions
- Troubleshooting - Common issues and solutions