How lx567/gr00t2 works
GR00T 2 is a community implementation of a generalist robotics world-action model. Its principal workflow is multimodal episode preparation and curation, three-stage model pretraining and LoRA adaptation, then transfer or RL post-training before inference and robot control. Distinct branches add agentic planning, Unitree whole-body control, and policy evaluation. The README documents these capabilities and the sampled code confirms selected component responsibilities; several cross-module calls are not visible, so uncertain connections are omitted rather than inferred.
Main entry points: wam.py World-action model · x_adapt Cross-embodiment transfer · serving.py Policy serving · grpo_cps.py CPS-GRPO
Components 32
Data and WAM
- Data ingestion
infrastructure/ingestion.py - Flora curation
data/flora.py - Human-1M QC
data/human1m_qc.py - Video preprocessing
data/preprocessing.py - LanceDS loader
infrastructure/lanceds_loader.py - Pretraining trainer
infrastructure/trainer.py - World-action model
models/wam.py - DiT backbone
models/dit.py - Embodiment encoders
models/encoders.py - Video VAE
models/vae.py - Model configuration
configs/model_config.py
Adaptation and RL
- Cross-embodiment transfer
x_adapt - Motion retargeting
x_adapt/retargeting.py - UMI transfer
x_adapt/umi_transfer.py - DexUMI adaptation
x_adapt/dexumi.py - Human-to-sim
x_adapt/human_to_sim.py - DreamDojo simulator
rl/dreamdojo_env.py - CPS-GRPO
rl/grpo_cps.py - Self-imitation
rl/self_imitation.py - Residual SAC
rl/residual_rl.py
Agentic Robotics
- MCP server
agentic/mcp_server.py - CaP primitives
agentic/cap_primitives.py - ASPIRE orchestration
agentic/aspire.py - Visual steering
agentic/visual_steering_agent.py - Loco-manipulation
humanoid/loco_manipulation.py - SONIC controller
humanoid/sonic_controller.py
Deployment and Evaluation
- RTC controller
deployment/rtc_controller.py - Phase retiming
deployment/phase_retiming.py - Policy serving
deployment/serving.py - GearArena evaluation
evaluation/gear_arena.py
Other components
- Researcher
- Robot operator
Connections 28
- Researcher → Data ingestion: provides episodes
- Data ingestion → Flora curation: curates episodes
infrastructure/ingestion.py - Data ingestion → LanceDS loader: stores episodes
infrastructure/ingestion.py - LanceDS loader → Pretraining trainer: supplies training data
- Pretraining trainer → World-action model: trains
- World-action model → DiT backbone: uses backbone
models/wam.py - World-action model → Embodiment encoders: uses encoders
models/wam.py - World-action model → Video VAE: uses VAE
models/wam.py - Model configuration → World-action model: configures
- World-action model → Cross-embodiment transfer: supports adaptation
- Cross-embodiment transfer → Motion retargeting: includes retargeting
README.md - Cross-embodiment transfer → UMI transfer: includes transfer
README.md - Cross-embodiment transfer → DexUMI adaptation: includes adaptation
README.md - Cross-embodiment transfer → Human-to-sim: includes simulation transfer
README.md - World-action model → CPS-GRPO: policy post-training
- DreamDojo simulator → CPS-GRPO: simulates experience
- CPS-GRPO → Self-imitation: supports post-training
- CPS-GRPO → Residual SAC: supports post-training
- World-action model → MCP server: provides actions
- MCP server → CaP primitives: exposes primitives
- ASPIRE orchestration → CaP primitives: uses primitives
- ASPIRE orchestration → Visual steering: coordinates steering
- Loco-manipulation → SONIC controller: dispatches control
- World-action model → Policy serving: serves inference
- Policy serving → RTC controller: uses chunk control
- Policy serving → Phase retiming: supports retiming
- Robot operator → Policy serving: requests inference
- Policy serving → GearArena evaluation: evaluates policies