V1.0. See Version for release notes and known issues.
CRONOS (Continual Robotic Operations in NOn-episodic Settings) is a simulation benchmark for RL fine-tuning of vision-language-action (VLA) models when the scene is reset only rarely. Several language-conditioned tasks share a scene; episodic training resets the scene before every task, whereas non-episodic training continues each task from where the previous one ended. It runs on ManiSkill3 and builds on the SimplerEnv Bridge tasks and their RL4VLA extension, and fine-tunes OpenVLA and SpatialVLA with PPO.
- Scene reset interval as a setting —
Tsteps between scene resets: 80 (episodic, one task per reset), 320, 1280 or 2560. - Reset strategies, each toggled independently — periodic reset, heuristic scene reset (HSR), learned scene reset (LSR), perturbation of the LSR goal, end-effector reset (EER), and curriculum over
T. - YAML experiment configs — scenes (objects, receptacles, background), task sequences and eval tasks in one file; all tasks of a scene run at the same time on different envs (fan-out).
- Two VLAs —
openvla(OpenVLA-7B) andspatialvla(SpatialVLA-4B), trained with PPO; GRPO is available but experimental. - Two environments —
PickPlaceNxM-v1(put an object on a receptacle; the default) andStackCubeBridge-v1(stack one cube on another). - Evaluation — training-time eval on every task, and a standalone eval with independent-task and sequential-task modes, in-domain and out-of-domain start poses, reproducible per round.
- Resumable runs — an interrupted run continues from its last checkpoint; a non-episodic run can also get its scene back.
- Per-segment records and plotting tools — success and object poses at every segment boundary, and the tools that draw the paper's figures from them (
CRONOS/plotting/).
| Path | Contents |
|---|---|
CRONOS/ |
the benchmark: training (main.py), standalone eval (eval_only.py), envs/, training/, evaluation/, configs/, scripts/, tools/, plotting/, tests/ |
ManiSkill/, SimplerEnv/ |
simulator and Bridge environments, with the policy adapters in SimplerEnv/simpler_env/policies/ |
openvla/, SpatialVLA/ |
the two VLA code bases |
Linux with NVIDIA GPUs and Conda.
git clone <repo-url>
cd <repo-directory>An env is named after its stack, cronos_<lm-stack>_<torch-channel>:
tf447 = transformers 4.47 / peft 0.14 (both VLAs), tf440 = transformers 4.40.1 /
peft 0.11.1 (OpenVLA only); cu121 = Ampere / Ada / Hopper, cu128 = Blackwell.
| Env | setup.sh args |
Stack | Policies | GPU class | OpenVLA-7B PPO peak |
|---|---|---|---|---|---|
cronos_tf447_cu121 |
all |
torch 2.5.1+cu121, transformers 4.47.0, peft 0.14.0 | OpenVLA + SpatialVLA | Ampere / Ada / Hopper | ~55 GB |
cronos_tf447_cu128 |
all blackwell |
torch 2.7.0+cu128, transformers 4.47.0, peft 0.14.0 | OpenVLA + SpatialVLA | Blackwell | ~55 GB |
cronos_tf447_cu121 |
spatialvla |
torch 2.5.1+cu121, transformers 4.47.0, peft 0.14.0 | SpatialVLA only | Ampere / Ada / Hopper | — |
cronos_tf447_cu128 |
spatialvla blackwell |
torch 2.7.0+cu128, transformers 4.47.0, peft 0.14.0 | SpatialVLA only | Blackwell | — |
cronos_tf440_cu121 |
openvla_v01 |
torch 2.2.0+cu121, transformers 4.40.1, peft 0.11.1 | OpenVLA only | Ampere / Ada / Hopper | ~40 GB |
cronos_tf440_cu128 |
openvla_v01 blackwell |
torch 2.7.0+cu128, transformers 4.40.1, peft 0.11.1 | OpenVLA only | Blackwell | ~45 GB |
The tf440 envs exist because OpenVLA-7B PPO does not fit a 48 GB card on the
tf447 stack; on such a card the tf447 stack is for SpatialVLA only. Memory
figures are approximate; measure on your hardware with tools/bench_rollout.py.
Run every arm of a comparison in the same env.
spatialvla is the all install without the OpenVLA package, which is why the
two share an env name. In a SpatialVLA-only env, give train.sh the spatialvla
argument (its default is openvla); evaluation reads the policy from the
checkpoint.
conda create -n cronos_tf447_cu121 -y python=3.10
conda activate cronos_tf447_cu121cd CRONOS
# setup.sh [policy] [gpu]
# [policy]: openvla | spatialvla | all | openvla_v01 (default: all)
# [gpu]: default | blackwell (default: default)
bash setup.sh all # cronos_tf447_cu121: both VLAs
bash setup.sh all blackwell # cronos_tf447_cu128: both VLAs, Blackwell
bash setup.sh spatialvla # cronos_tf447_cu121: SpatialVLA only
bash setup.sh spatialvla blackwell # cronos_tf447_cu128: SpatialVLA only, Blackwell
bash setup.sh openvla_v01 # cronos_tf440_cu121: OpenVLA only
bash setup.sh openvla_v01 blackwell # cronos_tf440_cu128: OpenVLA only, Blackwell
bash setup.sh openvla # tf447 stack with OpenVLA onlysetup.sh installs the dependencies and the sibling packages (ManiSkill,
SimplerEnv, and openvla / SpatialVLA for the chosen policies) in editable
mode, then verifies the install. If the Vulkan driver is missing on Ubuntu 22.04 (SAPIEN warns about a
missing ICD file at startup): sudo apt-get install -y libglvnd-dev.
A checkpoint trained in a tf447 env loads in a tf440 env and vice versa. To
check a tree of checkpoints before a long eval, without loading a model:
python tools/check_ckpt_compat.py /path/to/runs # target: tf440
python tools/check_ckpt_compat.py /path/to/runs --target tf447Run everything below from the CRONOS/ directory.
bash scripts/train.sh <mode> [seed] [cuda] [reset] [config] [vla] [eer] [algo] [perturb]
# │ │ │ │ │ │ │ │ └─ off (default) | recep | mixed
# │ │ │ │ │ │ │ └─ ppo (default) | grpo | grpo-scene | grpo-task
# │ │ │ │ │ │ └─ on (default) | off — End-Effector Reset
# │ │ │ │ │ └─ openvla (default) | spatialvla
# │ │ │ │ └─ YAML config (default: configs/one_group_seq_random_2x2.yaml)
# │ │ │ └─ normal | LSR | HSR | HSR+LSR | noep | noep+LSR (default: normal)
# │ │ └─ GPU id (default: 3)
# │ └─ seed (default: 0)
# └─ t80a..t2560c: reset interval T80 / T320 / T1280 / T2560 × chained runs a / b / cA mode is a reset interval T (the scene is reset every T steps; a task lasts
80 steps) and a run of a chain. With 64 envs, a trains 655,360 steps from the
pre-trained model, b another 655,360 from a's checkpoint, c 1,638,400 from
b's — 2,949,120 in total. CKPT=<glob>/episode_XXXX names the checkpoint a b / c
run starts from.
# OpenVLA, T = 320, first run of the chain, seed 0, GPU 3
bash scripts/train.sh t320a 0 3 normal configs/four_group_sequential_2x2.yaml
# SpatialVLA, T = 2560 with heuristic scene reset
bash scripts/train.sh t2560a 0 3 HSR configs/four_group_sequential_2x2.yaml spatialvla
# the next run of a chain
CKPT=/path/to/glob/episode_0032 \
bash scripts/train.sh t320b 0 3 normal configs/four_group_sequential_2x2.yaml spatialvlaThe run directory defaults to ./$RUN_TAG
(CRONOS-<vla>-<config>-<T>-<reset>…-seed<N>); set RUN_OUT_DIR=<dir> to choose
it. The run writes to <dir>/wandb/run-<ts>-<id>/{files,glob} and stops at
startup if wandb would write anywhere else.
All on configs/four_group_sequential_2x2.yaml (four scenes, 2 objects × 2
receptacles each: 16 tasks, 64 envs).
| Setting | train.sh arguments |
|---|---|
Reset interval T = 80 / 320 / 2560 |
mode t80* / t320* / t2560* |
| Periodic reset (PR) | reset normal |
| Heuristic scene reset (HSR) | reset HSR |
| HSR-only (no periodic reset) | reset noep |
| Learned scene reset (LSR) | reset LSR |
| Perturbation policy (PER) | reset LSR, perturb mixed |
| End-effector reset (EER) on / off | eer on / off |
Curriculum (CL): T = 320, then 2560 |
a t320* run, then t2560* runs with CKPT set to its checkpoint |
| mode | CLI flags added | RUN_TAG |
Meaning |
|---|---|---|---|
normal |
(nothing) | normal |
periodic reset: env.reset() every episode, i.e. every T steps |
LSR |
--enable-backward --backward-interval 1 |
LSR |
learned scene reset: a reset task ("put X on table") alternates with the forward tasks |
HSR |
--reset-unsuitable |
HSR |
heuristic scene reset: at every task switch, respawn objects that fell off the table or left the workspace |
HSR+LSR |
HSR + LSR | HSRLSR |
both |
noep |
HSR + --reset-mode none |
HSRnoep |
HSR without the periodic reset. No LSR |
noep+LSR |
HSR + LSR + --reset-mode none |
HSRLSRnoep |
HSR + LSR without the periodic reset |
noepnever returns a successfully placed object to its initial state: HSR respawns only what its detector flags and there is noenv.reset(). Start states therefore drift toward tasks that are already satisfied, which inflates reward and rollout success rate (main.pywarns at startup). To check a run, compare the start-of-segment object positions (segment_pose.csv,phase=start) with the spawn positions.
EER (end-effector reset) — the 7th argument, independent of the reset mode:
| eer | CLI flag added | Meaning |
|---|---|---|
on (default) |
(nothing) | the gripper returns to its initial pose at every segment boundary |
off |
--no-reset-robot |
nothing repositions the end effector between segments; adds -noEER to RUN_TAG |
Perturbation — the 9th argument; needs a reset mode with LSR (LSR, HSR+LSR, noep+LSR):
| perturb | CLI flags added | LSR reset goal |
|---|---|---|
off (default) |
(nothing) | always put X on table |
recep |
--backward-goal recep |
always another receptacle, different from the forward task's |
mixed |
--backward-goal mixed --backward-recep-prob P |
per-env draw between the two; P via PERTURB_RECEP_PROB (default 0.5) |
Algorithm — the 8th argument: ppo (default), or grpo / grpo-scene /
grpo-task, which differ in what one GRPO group is (every env of a segment, the
envs of one scene, or the envs that ran the same task). GRPO is experimental
(see Version).
All optional; unset, every mode behaves as described above.
| Variable | Effect |
|---|---|
CKPT=<glob>/episode_XXXX |
checkpoint the next run of a chain (b / c modes) starts from |
RESUME=<glob>/episode_XXXX |
continue an interrupted run of the same mode (see below) |
MAX_EPISODES=N |
episodes to run instead of the mode's count; the reset budget follows it |
RESUME_SCENE=1, RESUME_SCENE_POSE=<csv> |
with RESUME and reset noep: restore the scene too |
EVAL_INTERVAL=N |
training-time eval every N episodes (mode default: 4; 1 for T1280 / T2560) |
ENV_ID=<env> |
PickPlaceNxM-v1 (default) or StackCubeBridge-v1 |
RUN_OUT_DIR=<dir> |
run output root (default ./$RUN_TAG) |
LEGACY_RNG=1 |
draw scenes and the task order from the global generators (see Random streams) |
GRPO_STD_SCOPE=group|global|none |
GRPO: what the group-centred rewards are divided by |
PERTURB_RECEP_PROB=P |
perturb mixed: probability of the receptacle goal |
CKPT and RESUME are different things. CKPT loads weights to start the next
run of a chain (t320a → t320b). RESUME continues the same run after a
crash: weights, optimizers, the episode / step / reset counters and the
task-schedule cursor all come from the checkpoint (--resume-from). Launch it
with the same arguments as the original run and set MAX_EPISODES to the
episodes that remain:
# a t320a run (32 episodes) that stopped after episode_0008
RESUME=/path/to/glob/episode_0008 MAX_EPISODES=24 \
bash scripts/train.sh t320a 0 3 normal configs/four_group_sequential_2x2.yaml spatialvlaA resumed b / c run needs no CKPT: it loads RESUME itself. A run always
writes a checkpoint at its last episode, whatever the checkpoint interval.
A new process has no live scene, so its first episode calls env.reset(). For
noep (--reset-mode none) that would re-randomise a scene the run was meant to
keep, so add RESUME_SCENE=1 (--resume-scene): every object and receptacle is
put back at the pose the interrupted run recorded at the end of that episode
(segment_pose.csv next to the checkpoint, phase=end), that boundary's HSR
respawn is replayed, and the reset is not counted. Object velocities and the arm
pose are not restored. The run stops with an error if the pose file does not
match the checkpoint's step count or the scene's objects.
tools/resume_watchdog.py <jobs.json> does this for a set of runs: it relaunches
any run that stops before its target episode from its newest complete checkpoint
(the jobs-file format is in the tool's docstring; "resume_scene": true on a
job adds RESUME_SCENE=1).
Two 3 cm cubes on the Bridge table; the task is stack the <colour> block on the <colour> block, and a config normally trains both directions as two tasks.
ENV_ID=StackCubeBridge-v1 bash scripts/train.sh t320a 0 3 normal configs/stack_cube_1x1.yaml spatialvla- In the YAML,
obj/recepare 1-based cube colours: 1 green, 2 yellow, 3 red, 4 blue, 5 orange, 6 purple."put recep1 on obj1"is a valid task (either cube can be the source). Seeconfigs/stack_cube_1x1.yaml(green / yellow) andconfigs/stack_cube_1x1_red_blue.yaml. - Reset mode
normalonly, EER on or off. HSR and LSR (and sonoep) are rejected at startup. success= source cube on the target with contact at the final step.- Start poses: a 6×6 grid of ±(0.075, 0.075) m in domain; the same grid stretched
to ±(0.11, 0.15) m out of domain. Standalone eval adds two start-state domains
for this env,
stackedandclose(see Evaluation).
Scenes and the task schedule are drawn independently, and neither depends on the policy's sampling on the GPU:
| What | Drawn from |
|---|---|
| Object / receptacle layout at each episode reset | CPU stream keyed by (seed, episode) |
| HSR respawn poses | CPU stream keyed by (seed, episode, segment) |
| Layouts of training-time eval | CPU stream keyed by (seed, eval point, domain, eval episode); the eval point is the number of training episodes completed (0 for --eval-at-start) |
Task order (pure_random, sequence_random) |
a dedicated generator seeded by seed, saved in each checkpoint's scheduler_state.json |
So two runs with the same seed see the same scenes whatever the policy does, and
a resumed run continues exactly where it stopped. LEGACY_RNG=1 (--legacy-rng)
draws layouts from the GPU generator shared with action sampling instead, and
adds -legacyRNG to RUN_TAG.
train.sh wraps main.py; the flags it sets, and others worth knowing:
| Flag | Default | Description |
|---|---|---|
--config-path |
required | YAML experiment config |
--env-id |
PickPlaceNxM-v1 |
PickPlaceNxM-v1 or StackCubeBridge-v1 (ENV_ID) |
--policy |
openvla |
openvla or spatialvla |
--alg-name |
ppo |
ppo (actor-critic + GAE) or grpo (critic-free) |
--grpo-group-scope |
batch |
GRPO: one group = batch (every env of a segment) | scene (segment × YAML group) | task (segment × fan-out sub-block). 64 / 16 / 4 envs for four_group_sequential_2x2 |
--grpo-std-scope |
group |
GRPO: divide group-centred rewards by the group or global std, or none |
--wandb-dir |
"" |
run output root, created and checked before wandb.init |
--num-envs |
64 | total parallel environments (a config's per-group num_envs take precedence) |
--segment-len |
80 | steps per segment (one task) |
--episode-len |
320 | steps between scene resets: the reset interval T |
--ppo-update-len |
160 | steps between policy updates (train.sh passes 80 for T80) |
--max-episodes |
set by the mode | episodes to run in this process (MAX_EPISODES) |
--eval-interval |
4 | training-time eval every N episodes |
--num-eval-episode |
4 | episodes per training-time eval |
--eval-at-start |
false | run an eval before the first training episode |
--enable-backward / --backward-interval N |
off | LSR: a reset task after every N forward tasks |
--backward-goal |
table |
LSR reset goal: table | recep | mixed (perturbation); --backward-recep-prob sets the mixed ratio |
--reset-unsuitable |
off | HSR: respawn fallen / out-of-workspace objects at every task switch |
--hsr-reset-scope |
per_env |
HSR respawns the flagged env's object and receptacle (per_env), only the flagged actor (per_actor), or every env (all) |
--unsuitable-detector |
low_z |
HSR detector: low_z (z < 0.7). A YAML unsuitable_detector: block (name: workspace_aabb) selects an xyz box instead |
--reset-mode |
per_episode |
per_episode | none (no periodic reset) |
--reset-robot / --no-reset-robot |
on | EER |
--resume-from |
"" |
checkpoint dir of an interrupted run to continue (RESUME) |
--resume-scene / --resume-scene-pose |
off | with --resume-from and --reset-mode none: restore the recorded scene (RESUME_SCENE) |
--record-segment-pose |
on | write glob/segment_pose.csv; --segment-pose-phase start|end|both selects the side of the boundary |
--legacy-rng |
off | see Random streams |
Written to the run's glob/:
| File | Contents |
|---|---|
eval_success.csv |
training-time eval, one row per (eval point, eval kind, group, task) |
rollout_success.csv |
one row per (episode, segment, env): success / grasp at the segment's final step, reward_sum, return_discounted, return_gae, value_mean, advantage_mean, and direction (forward or reset segment) |
segment_pose.csv |
one row per (episode, segment, phase, env, actor): position and quaternion of every object, receptacle and the gripper, on both sides of each segment boundary |
episode_XXXX/ |
checkpoints: LoRA adapter, value head, optimizers, counters, task-schedule state |
run_config.json, experiment_config.yaml |
the resolved arguments (with the code version) and a snapshot of the config |
trends.png, trends_per_task.png |
live dashboard (see Monitoring and plotting) |
rollout_success.csv uses the same success definition as eval, the value at
the segment's final step, so rollout and eval curves are directly comparable.
Under a mode with LSR, filter direction == 'forward' before aggregating: reset
segments are scored against a different goal.
If a run exhausts GPU memory it prints a summary and writes
glob/oom_report.txt (phase, episode and segment, the settings that decide
peak memory, per-GPU memory) before exiting.
eval_only.py evaluates a checkpoint on every scene (YAML group) of the
checkpoint's training config, found from the checkpoint (the
experiment_config.yaml snapshot next to it, else the config_path in its
run_config). A config passed explicitly must define the same scenes as
training, or eval stops before loading the model (--allow-config-mismatch to
override).
# Args: <checkpoint_dir> [config|-] [cuda] [num_eval_episode] [extra eval_only.py flags...]
# config empty or "-" = the checkpoint's training config
bash scripts/eval.sh /path/to/glob/episode_0128 - 0
bash scripts/eval.sh /path/to/glob/episode_0128 - 0 4 --eval-rounds 0-5 --eval-domains in_domain
bash scripts/eval.sh /path/to/glob/episode_0128 - 0 4 --eval-mode single
bash scripts/eval.sh /path/to/glob/episode_0128 - 0 4 --eval-resume /path/to/eval/wandb/offline-run-…/globThe env, the policy and its settings (policy, vla_path, vla_unnorm_key,
vla_temperature_eval, vla_lora_rank) come from the checkpoint's training
run_config; pass --env-id, --policy … after the 4th argument only to
override, e.g. for a checkpoint without a run_config. --num-envs is not needed:
it is the sum of the per-group num_envs. The resolved values and their sources
are printed at startup and stored in eval_plan.json.
Modes. sequential (default, sequential-task evaluation): a round is one
reset followed by every task of the scene, 80 steps each, without resets; a task
not finished in time counts as failed and the policy moves on. single
(independent-task evaluation): every round starts from a reset and runs one task.
Rounds. Each scene's envs are split into 4 blocks, as fan-out training splits them, and each block runs its own task order. With 4 tasks there are 6 cycles × 4 rotations = 24 orderings, so a pose set is 6 rounds:
| round | kind | blocks run |
|---|---|---|
| 0, 6, 12, … | training (seen) | ABCD BCDA CDAB DABC — the orders training runs |
| 1–5, 7–11, … | random (unseen) | the 4 rotations of another cycle (the same cycle order in every pose set) |
Round numbers are global and the only selector (rounds). Everything about a
round — orders, start poses, action-sampling seed — is a function of its number
and the seed, so any subset reproduces those rounds of a full run. Every round,
order and scene of a pose set starts from the same poses; pose_sets: K gives
K × 24 orderings on K sets of start poses.
Domains. Each selected domain is evaluated on the same rounds. in_domain
(the training layouts) and out_of_domain exist for every env and are the
default. An env can add start-state domains; the evaluator stops before rollout
if a requested domain is not implemented by the env.
| domain | env | start state |
|---|---|---|
in_domain |
all | the training layouts |
out_of_domain |
all | layouts on a wider grid |
close |
StackCubeBridge-v1 |
the two cubes 4.5 cm apart centre to centre (1.5 cm between faces when aligned), 8 directions |
stacked |
StackCubeBridge-v1 |
in-domain layout, then the task's target cube placed on its source — the reverse of the goal, so the policy must unstack first |
# StackCubeBridge-v1 checkpoint, independent-task eval on all four domains
bash scripts/eval.sh /path/to/glob/episode_0064 - 0 4 --eval-mode single --eval-rounds 0-3 \
--eval-domains in_domain,out_of_domain,stacked,closeResume / shards. After a crash, rerun the same command with
--eval-resume <glob>: finished rounds are skipped, a half-finished round is
rerun. Rounds can also be split across GPUs (--eval-rounds 0-2 / 3-5) and
merged with tools/rebuild_eval_outputs.py --out <dir> <glob_a> <glob_b>.
eval_success.csv is written only when the eval is complete and covers every
round of every pose set; eval_status.json always says what is done and missing.
Settings live in the eval: block of the training config (training ignores
it); command-line flags override it:
eval:
mode: sequential # sequential | single
pose_sets: 1 # sets of start poses; 6 rounds each (4 tasks)
rounds: all # all | 3 | 3-5 | 3- | 0,6-11
sequence_seed: -1 # cycle order; -1 = --seed
layout_seed: -1 # start poses; -1 = --seed
policy_seed: -1 # per-round action-sampling reseed; -1 = --seed
layout_slots: -1 # start poses per block; -1 = one per env of the block, 1 = one pose
scene_schedule: parallel # parallel: all scenes in one batch | serial: one scene x all envs
domains: [in_domain, out_of_domain]
record_video: true
video_envs_per_block: 1 # first K envs of each block; -1 = all
record_pose: true # eval_segment_pose.csv (training segment_pose.csv columns)
pose_phase: bothCoverage (four_group_sequential_2x2, one pose set, per domain, per scene):
training round 64 trials (16 per task), random rounds 320 trials (80 per task),
4 start poses; 245,760 env steps for all scenes and both domains. serial gives
4× the trials and 16 poses at 4× the steps. Printed before rollout, checked after.
Outputs (under a new wandb/offline-run-<timestamp>-<id>/glob/):
| File | Contents |
|---|---|
eval_plan.json |
resolved settings and their sources, config provenance, every round's orders per block, RNG keys, planned coverage |
eval_status.json |
complete?, done / partial / missing units |
eval_per_trial.csv |
one row per (domain, round, task slot, env): success, success_chained, grasp, seq_kind, group, order, pose_set |
eval_layouts.csv |
per reset and env: layout slot, stream key, applied pose ids |
eval_segment_pose.csv |
poses at every task start / end (the segment_pose.csv columns + eval keys) |
eval_sequence_summary.csv, eval_coverage.csv, eval_report.txt |
derived, rebuilt whole |
eval_success.csv |
derived, complete evals only |
eval_videos/<domain>/<seq_kind>/round<N>/task<M>/… |
videos |
A sequential eval records both ways of scoring a task: success judges it on
its own; success_chained counts it only if every earlier task of the round
succeeded too. They coincide at the first task of a round.
Eval flags (the bracketed name is the eval: key):
| Flag | Default | Description |
|---|---|---|
--vla-load-path |
required | checkpoint dir (episode_XXXX/) |
--config-path |
the checkpoint's training config | must define the same scenes as training |
--allow-config-mismatch |
false | evaluate on a config whose scenes differ from training |
--eval-resume |
— | glob dir of an interrupted eval |
--eval-mode [mode] |
sequential |
sequential or single |
--eval-pose-sets [pose_sets] |
1 | sets of start poses |
--eval-rounds [rounds] |
all |
global round selection |
--eval-sequence-seed / --eval-layout-seed / --eval-policy-seed |
-1 | streams; -1 = --seed |
--eval-layout-slots [layout_slots] |
-1 | start poses per block |
--eval-scene-schedule [scene_schedule] |
parallel |
parallel or serial |
--eval-domains [domains] |
in_domain,out_of_domain |
comma-separated; --no-eval-ood = in_domain |
--record-video / --video-envs-per-block |
true / -1 | videos, first K envs of each block |
--record-eval-pose / --eval-pose-phase |
true / both |
pose CSV |
--segment-len |
80 | steps per task |
--env-id / --policy / --vla-path / --vla-unnorm-key / --vla-temperature-eval / --vla-lora-rank |
from the checkpoint | override the training settings |
--action-chunk |
1 | SpatialVLA open-loop chunk length |
main.py --eval-single / --eval-sequential run the same evaluator on a
checkpoint loaded by main.py.
Inside training, every --eval-interval episodes (and before training with
--eval-at-start), each env rotates through its scene's eval tasks so that every
task is scored at every eval point, in domain and out of domain:
task_for_env_i_at_episode_e = eval_tasks[(i % n_eval_tasks + e) % n_eval_tasks]
Samples per task = num_eval_episode × group_envs / n_eval_tasks. In
non-episodic mode (--reset-mode none) the training scene is saved before each
eval and restored after it.
main.py refreshes a dashboard in the run's glob/ after every eval point
(tools/plot_run_trends.py; a failure is not fatal), and writes a dated copy to
<repo>/reports/figures/. It can also be run by hand:
python tools/plot_run_trends.py \
--run-dir /path/to/wandb/run-<ts>-<id>/glob \
--max-episodes 32 \
--out trends.png| Panel | Metric | What to watch |
|---|---|---|
| Task performance | rollout success / grasp (5-episode moving average) + eval in-domain / out-of-domain | the learning curve |
| Policy drift | per-episode mean approx_kl |
spikes mean an unstable ratio |
| Trust region | per-episode mean clip_fraction |
share of ratios outside the PPO clip band |
| Value head | per-episode mean explained_var |
flat 0 means the value head is not learning |
It reads the per-episode training scalars from the wandb history and the eval
points from the local eval_success.csv, and writes a per-task breakdown next to
--out. For a resumed run, pass each earlier run with --prior-run-id <id> --prior-eval-csv <its eval_success.csv>.
The offline tools in plotting/ compare runs from
their CSVs alone and draw the paper's figures, all through one command line and
in one visual style:
python plotting/plot.py <figure> --config <config.json> [--out-dir DIR] [--name NAME] [options]
python plotting/plot.py <figure> --run-dir <glob dir> [--out-dir DIR] [--name NAME] [options]<figure> |
Draws | Reads |
|---|---|---|
eval-success |
eval success-rate curves across runs | eval_success.csv |
rollout-success |
rollout success rate during training | rollout_success.csv |
positions |
object position distribution | segment_pose.csv |
sequence |
sequential eval: success by position in the sequence, and by task | eval_per_trial.csv |
domains |
success per evaluation domain | eval_per_trial.csv |
A config lists groups of runs (one curve or bar colour each); see
plotting/README.md and the examples in
plotting/configs/.
Configs live in configs/. One YAML file describes an experiment.
| Field | Type | Default | Description |
|---|---|---|---|
cronos_version |
string | — | annotation only; the code version is stamped into each run's run_config.json from version.py |
task_order |
string | sequential |
sequential, pure_random, or sequence_random |
fan_out |
bool | true |
all tasks of a group run at the same time, on equal shares of its envs |
eval |
mapping | — | standalone eval settings (see Evaluation) |
unsuitable_detector |
mapping | — | HSR detector, e.g. name: workspace_aabb with workspace: {x: [..], y: [..], z: [..]} |
policy, vla_path, vla_unnorm_key, vla_lr, vla_vhlr |
— | — | policy settings; a command-line flag wins |
Each entry of groups: is one scene:
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | yes | group identifier (logs and CSVs) |
num_envs |
int | yes | parallel envs of this group |
obj |
list[int] | yes | 1-based object indices |
recep |
list[int] | yes | 1-based receptacle indices |
background |
int / string | no | background index, or "default" |
task_sequence |
list[str] | no | training tasks, with symbolic refs (obj1, recep2); every object × receptacle combination if omitted |
eval_tasks |
list[str] | no | eval tasks; the unique tasks of task_sequence if omitted |
A task is put obj{N} on recep{M}, N / M being 1-based positions in the group's
obj / recep lists; it is resolved at load time to the object names (e.g.
put ketchup bottle on yellow_plate).
| Index | Name | Index | Name | Index | Name |
|---|---|---|---|---|---|
| 1 | carrot | 10 | toy bear | 19 | nonstop can |
| 2 | kitchen shovel | 11 | fast food cup | 20 | potato |
| 3 | bread | 12 | plant | 21 | baguette |
| 4 | plastic bottle | 13 | banana | 22 | champagne glass |
| 5 | 7up can | 14 | hamburger | 23 | kitchen spoon |
| 6 | zuchinni | 15 | golf ball | 24 | onion |
| 7 | ketchup bottle | 16 | BBQ sauce | 25 | cup |
| 8 | watering can | 17 | travel cup | ||
| 9 | pipe | 18 | pepper |
| Index | Name | Index | Name | Index | Name |
|---|---|---|---|---|---|
| 1 | yellow plate | 7 | tomato slice | 13 | cutting board |
| 2 | cloth | 8 | pizza | 14 | chess board |
| 3 | carpet | 9 | flat bowl | 15 | manhole cover |
| 4 | newspaper | 10 | gramophone disk | 16 | envelope |
| 5 | sheet metal | 11 | frying pan | 17 | notepad |
| 6 | drawing tablet | 12 | mouse pad |
| Rule | Constraint | Purpose |
|---|---|---|
| V22 | group_envs >= n_unique_train_tasks |
enough envs for fan-out |
| V23 | group_envs % n_unique_train_tasks == 0 |
even split for training |
| V24 | group_envs % n_eval_tasks == 0 |
even split for the training-time eval |
| V25 | n_eval_tasks % n_unique_train_tasks == 0 |
eval tasks align with the training shares |
| Config | Description |
|---|---|
four_group_sequential_2x2.yaml |
the paper's setting: 4 scenes × 16 envs, 2 objects × 2 receptacles each |
two_group_sequential_2x2.yaml |
the first two of those scenes, 32 envs each |
one_group_seq_random_2x2.yaml, one_group_pure_random_2x2.yaml |
one scene, random task orders |
one_group_sequential_3x3.yaml |
one scene, 3 objects × 3 receptacles (9 tasks) |
one_group_half_train_2x2.yaml |
one scene, trained on 2 of its 4 tasks, evaluated on all 4 |
spatialvla_2x2_train.yaml, spatialvla_2x2_smoke.yaml |
one scene with the SpatialVLA settings in the file; the smoke config uses 8 envs |
stack_cube_1x1.yaml, stack_cube_1x1_red_blue.yaml |
StackCubeBridge-v1, both stacking directions (needs ENV_ID=StackCubeBridge-v1) |
cronos_version: V1.0
task_order: sequential
groups:
- name: "group_A"
num_envs: 32
obj: [7, 2] # ketchup bottle, kitchen shovel
recep: [1, 2] # yellow plate, cloth
background: 0
# task_sequence and eval_tasks omitted: all 4 object × receptacle combinations
- name: "group_B"
num_envs: 32
obj: [3, 5] # bread, 7up can
recep: [4, 3] # newspaper, carpet
background: 1
task_sequence:
- "put obj1 on recep1"
- "put obj1 on recep2"
- "put obj2 on recep1"
- "put obj2 on recep2"| Tool | Purpose |
|---|---|
tools/plot_run_trends.py |
per-run live dashboard (see Monitoring and plotting) |
tools/rebuild_eval_outputs.py |
rebuild a standalone eval's derived files from its per-trial rows; merge round shards of one eval |
tools/resume_watchdog.py |
relaunch training runs that stop before their target episode (see Resuming an interrupted run) |
tools/check_ckpt_compat.py |
can a checkpoint tree be loaded by the other LM stack? No GPU or model load needed |
tools/bench_rollout.py |
rollout throughput and GPU peak memory, by phase (inference / env step / buffer / policy update) |
python tools/bench_rollout.py \
--config-path configs/one_group_seq_random_2x2.yaml \
--policy openvla --vla-path openvla/openvla-7b --vla-unnorm-key bridge_orig \
--segment-len 80 --episode-len 80 --task-len 80 --ppo-update-len 80 \
--bench-episodes 2 --bench-warmup-episodes 1 \
--bench-out bench_openvla.jsonTests (no GPU needed): python -m unittest discover -s tests, or
python -m pytest tests/ -q where pytest is installed.
This is CRONOS V1.0. The version is defined in
CRONOS/version.py and stamped into every run's
run_config.json; compare runs only within one version.
- First public release of the benchmark code: training and evaluation of
OpenVLA and SpatialVLA with PPO under scene reset intervals
T= 80 / 320 / 1280 / 2560, with periodic, heuristic and learned scene reset, perturbation, end-effector reset and curriculum. - New environment
StackCubeBridge-v1(stack one cube on another), with two extra evaluation domains,stackedandclose. Standalone eval takes the environment from the checkpoint. - Resumable runs:
RESUME/MAX_EPISODEScontinue an interrupted run with its counters and task schedule;RESUME_SCENE=1also restores the scene of a non-episodic run;tools/resume_watchdog.pyrelaunches stopped runs. A run always checkpoints its last episode. - Plotting tools released: five figures behind one command line
(
plotting/plot.py <figure>) and one visual style, with a group's colour set in the config (color, orfamilyfor shades of one hue). Besides the eval and rollout success curves, the position distribution and the sequential eval: success per evaluation domain (domains), and the by-position sequential figure with the groups on the x axis (--cluster-by group). - Documentation: the paper's terminology throughout, and a table from the
paper's settings to
train.sharguments.
Known issues:
- GRPO is experimental.
--alg-name grpodegrades the pre-trained policy instead of improving it. Use PPO, the default. - Action sampling and the PPO minibatch shuffle use the global generators. They do not affect scenes or the task order, but two runs are not bit-identical across GPUs or package stacks.
@article{wu2026cronos,
title = {{CRONOS}: Benchmarking Non-Episodic Reinforcement Learning
for Robotic Manipulation},
author = {Wu, Po-Yi and Fang, Djengo Cyun-Jyun and
Cheng, Dian and Ke, Tsung-Wei},
journal = {arXiv preprint},
year = {2026}
}