Views
No views yet
chunk_length=32 variant: it resumed from the
chunk_length=16 checkpoint (iter 4000)
and continued training with 32-step action windows (33 frames at 30 fps,
~1.07 s per chunk).chunk_length 16 → 32 — training previously never showed the model a
window longer than 17 frames, yet a rollout asks for 64. Roughly
memory-neutral: the token-packing budget is fixed, so longer windows just
mean fewer per pack (~1500 → ~2700 tokens each, ~16 → ~9 windows).cond_noise_std > 0 (conditioning-frame noise) — deliberately still 0.0
here, to be added only after the chunk-length effect is measured.| Base model | nvidia/Cosmos3-Super (64B, MoT) |
| Resumed from | chunk16 variant @ iter 4000 (same run directory) |
| Adaptation | LoRA rank 16 / alpha 32 on q/k/v/o_proj_moe_gen + unfrozen action pathway (21.1M params) |
| Mode | forward_dynamics, action-conditioned video generation |
| Action space | 10-D Cartesian EE (dx, dy, dz, 6-D rotation, gripper), quantile-normalized |
| Chunk length | 32 action steps (33 frames @ 30 fps) |
cond_noise_std | 0.0 (intentionally — single-variable experiment) |
| Camera | single top view, ego_view, 480p |
| Training iteration | 4500 (iters 4000–4500 at chunk_length=32) |
| Dataset | geonmin-kim/so101_merged_v2 — 1444 episodes / 486k frames / 33 tasks |
| Parallelism | FSDP 4-way shard, bf16 (fp32 master), 4× A100 80GB |
| Effective batch | grad_accum 4, max 24000 tokens after packing |
model/ __0_0.distcp ... __3_0.distcp (~120 GB total, full model + LoRA)
optim/ optimizer state (LoRA + action pathway only, ~250 MB)
scheduler/ LR scheduler state
trainer/ trainer bookkeeping (iteration counter, RNG)5e67049) with the SO-101 overlay from
nota-github/xpu-cosmos3-simulator
(branch feat/so101-a100-port-and-action-pathway).1export COSMOS3_SIM_ROOT=/path/to/working/root
2
3# 1. environment (see the simulator repo README for full setup)
4git clone -b feat/so101-a100-port-and-action-pathway \
5 https://github.com/nota-github/xpu-cosmos3-simulator.git
6cd xpu-cosmos3-simulator
7git clone https://github.com/NVIDIA/cosmos-framework.git "$COSMOS3_SIM_ROOT/packages/cosmos-framework"
8git -C "$COSMOS3_SIM_ROOT/packages/cosmos-framework" checkout 5e67049
9./overlay/apply_overlay.sh "$COSMOS3_SIM_ROOT/packages/cosmos-framework"
10./scripts/setup_venv313.sh
11
12# 2. this checkpoint
13hf download geonmin-kim/cosmos3-super-so101-fd-chunk32 \
14 --local-dir "$COSMOS3_SIM_ROOT/ckpt/chunk32_iter4500"
15
16# 3. action normalization stats (REQUIRED — see warning below)
17export SO101_ACTION_STATS="$COSMOS3_SIM_ROOT/ckpt/chunk32_iter4500/so101_stats_stride1_v2.json"
18
19# 4. build conditioning inputs from a LeRobot episode, then roll out
20source ./env.sh
21python scripts/make_inputs.py --episodes 0 63 119
22./scripts/run_rollout.sh 0,1 "$COSMOS3_SIM_ROOT/ckpt/chunk32_iter4500" \
23 "$COSMOS3_SIM_ROOT/out/rollouts" \
24 --input-dirs "$COSMOS3_SIM_ROOT"/out/inputs/ep*_droid_lerobot_s1_* \
25 --modes autoregressive teacher_forced
26
27# 5. score against the recorded episode
28python scripts/evaluate.py --rollout-dir "$COSMOS3_SIM_ROOT/out/rollouts"
29python scripts/make_comparison.py --rollout-dir "$COSMOS3_SIM_ROOT/out/rollouts"checkpoint.load_path at it and launch the super_horizon variant
(train/run_train.sh super_horizon <gpus>), which sets
SO101_TRAIN_ACTION_PATHWAY=1 and the 32-step TOML.⚠️ Normalization stats are part of the model contract. This checkpoint was trained withso101_stats_stride1_v2.json(bundled in this repo). Using the pre-megamix v1 stats silently mis-scales actions by up to 19%. Do not mix.
num_steps=30, guidance=1.0,
shift=10.0, sigma_max=80.0, resolution 480, 16:9, fps 30.| Metric | Value |
|---|---|
| PSNR / SSIM (autoregressive) | 18.8 dB / 0.844 |
| Motion ratio (1.0 = matches reality) | 0.87 |
| Motion correlation | 0.50 |
| Axis separation (90° ≈ ceiling) | 86° (base model: 32°) |
| Usable horizon | ~0.5 s |
scripts/evaluate.py / scripts/analyze_probes.py from the
simulator repo and compare against the chunk16 card before drawing
conclusions about the horizon intervention.train/run_train.sh super_horizon (TOML sets AC selective
and compile.enabled=True directly; the TOML deliberately reuses
[job].name = action_fd_so101_super_action so it resumes the same run
directory and checkpoints)SO101_TRAIN_ACTION_PATHWAY=1 (required — without it the LoRA injector
freezes the action pathway and training silently degenerates into
first-frame video prediction)cosmos_framework.scripts.convert_model_to_dcp