Add Evo Studio cloud training, VLA-RL backend, dataset pool, and account ledger#109
Open
pearlq12345 wants to merge 13 commits into
Open
Add Evo Studio cloud training, VLA-RL backend, dataset pool, and account ledger#109pearlq12345 wants to merge 13 commits into
pearlq12345 wants to merge 13 commits into
Conversation
added 13 commits
May 16, 2026 14:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
This PR wires RoboClaw into a full embodied AI experiment platform: from dataset upload and curation rewards, through AI-assisted training planning, to cloud job orchestration and auto-repair — all driven by a single natural language intent.
Cloud training orchestration
roboclaw/cloud/evo_train.py— TCP bridge to EVO_Train backend. Handles training start/stop/status, checkpoint resolution, SSH runtime binding, and stage translation.roboclaw/http/routes/train_cloud.py— Full cloud training lifecycle API: plan, start, stop, status, billing settlement, runtime matching, source preflight, supervisor repair, SSH bind.roboclaw/training/— Training application layer:service.py— orchestrates local vs cloud routingschema.py—TrainingStartSpec,TrainingJobStatus,TrainingPlanSpecvla_rl.py— VLA/RL plan validation and deployability checksai_planner.py— LLM-driven intent → structured training planrlinf_catalog.py— discovers RLinf configs, infers algorithm/benchmark/model metadata, setsRLINF_EXT_MODULEfor worker processesagent_consult.py— deterministic backend agent for Evo Studio consult surfaceSupervisor auto-repair: when a cloud job fails, the supervisor watches the job, infers the failure cause, and retries on the same runtime under configurable automation policies (
ask/safe_auto/full_auto).VLA-RL backend
roboclaw_vla/rl/— launcher, model registry, adapters, evaluator. Supports--suite=<name>for LIBERO benchmark selection without needing to know internal Hydra config names.roboclaw_vla/config/rl/— LIBERO-10 GRPO config with pi0 model and FSDP training backend.roboclaw/embodied/policy/— policy registry with ACT, Diffusion, GR00T, pi0, SmolVLA.Dataset pool and curation rewards
roboclaw/data/dataset_adapters/— LeRobot adapter with format mapping and registry.roboclaw/data/ingestion.py— materializes HuggingFace, local path, and archive sources into the local catalog.Datasets uploaded and shared through quality checks earn contributor reward points tracked in the account ledger.
Account and billing
roboclaw/account/ledger.py— credit ledger with training holds, topup orders, reward points, and atomic hold reassignment.roboclaw/account/training_billing.py— hourly cost estimation and service fee calculation.Agent tools
roboclaw/agent/tools/cloud_training.py—EvoStudioCloudTrainTool: balance check, backend probe, runtime match, source preflight, job start/stop/status, wallet integration.roboclaw/agent/tools/evo_studio_agent.py—EvoStudioAgentConsultTool: natural language → cloud control actions via the consult surface.Both tools are only registered when
embodied_serviceis available, so CLI-only agent sessions are unaffected.Frontend
CloudIntentPanel,CloudSourcePanel,CloudProviderPanel,CloudPlanResultPanelBug fixes
scan.py:ROBOCLAW_DISABLE_CAMERA_SCANenv var for test isolationloop.py: deduplicate_CLOUD_PROBE_EXEC_PATTERNSagainstbase.pyruntime.py: remove silent exception swallowing in provider model initevo_train.py: validate thatworkflowordataset_nameis provided before calling bridgeloop.py: guard Evo Studio tool registration behindembodied_service is not Nonedata/curation/validators.py: fix circular import betweendataset_adaptersandcurationConfiguration
Cloud training requires a running EVO_Train backend. See
.env.examplefor all required and optional environment variables (ROBOCLAW_EVO_TRAIN_HOST,ROBOCLAW_EVO_TRAIN_PROVIDER, etc.).RLinf-based training recipes require cloning https://github.com/RLinf/RLinf.git and setting
ROBOCLAW_RLINF_REPO_PATH. Without it, the catalog returns empty and logs a warning — local and cloud training without RLinf still work.Tests
598 passing, 234 skipped. Frontend builds clean.
New test files:
test_evo_train_routes,test_vla_rl_routes,test_account_ledger,test_dataset_adapters,test_curation_reward,test_policy_registry,test_launcher_import,test_dataset_upload_completion,test_command_builder_train