File size: 10,803 Bytes
24eeb42
 
5939541
24eeb42
 
 
 
 
 
5939541
24eeb42
 
 
 
4dbe202
 
 
 
5939541
24eeb42
5939541
 
 
4dbe202
24eeb42
5939541
 
 
 
 
24eeb42
5939541
 
 
24eeb42
83a46ee
24eeb42
5939541
 
24eeb42
4dbe202
 
 
 
5939541
83a46ee
 
 
 
4dbe202
83a46ee
4dbe202
83a46ee
5939541
 
 
 
 
 
 
 
4dbe202
5939541
 
 
 
 
 
 
 
 
4dbe202
5939541
 
81f1a48
5939541
4dbe202
81f1a48
 
24eeb42
5939541
81f1a48
 
 
5939541
24eeb42
81f1a48
 
 
 
 
5939541
81f1a48
5939541
 
 
 
83a46ee
 
 
 
 
81f1a48
5939541
 
83a46ee
5939541
 
 
 
4dbe202
5939541
 
81f1a48
 
 
5939541
 
81f1a48
 
5939541
 
81f1a48
5939541
 
 
 
 
 
 
 
4dbe202
5939541
 
d9ff4c5
 
4dbe202
187d725
 
 
4dbe202
 
 
 
a04dd36
4dbe202
 
a04dd36
d9ff4c5
81f1a48
4dbe202
81f1a48
 
d9ff4c5
 
 
 
 
 
 
4dbe202
d9ff4c5
187d725
 
 
 
dfa7701
4dbe202
dfa7701
 
 
187d725
4dbe202
187d725
 
83a46ee
 
 
 
 
 
81f1a48
83a46ee
 
 
 
 
 
 
4dbe202
d9ff4c5
4dbe202
d9ff4c5
 
 
5939541
 
 
 
 
 
 
 
 
24eeb42
5939541
 
 
 
 
 
24eeb42
5939541
24eeb42
5939541
 
 
 
 
24eeb42
5939541
 
 
 
 
 
 
 
 
80011ff
 
4dbe202
80011ff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
---
license: apache-2.0
library_name: pytorch
language:
- en
tags:
- robotics
- imitation-learning
- robodemo
- video-conditioned
---

# RoboDemo-full50

**v0.1-evaluation · November 20, 2026**

[Release notes](https://github.com/robodemo-2027/RoboDemo/releases/tag/v0.1-evaluation) | [Versioned files](https://huggingface.co/mxk1998/RoboDemo-full50/tree/v0.1-evaluation)

**Reconciling Demonstration Intent and Execution Progress for Long-Horizon Manipulation**

[Code](https://github.com/robodemo-2027/RoboDemo) |
[Project page](https://robodemo-2027.github.io/) |
[All checkpoints](https://huggingface.co/collections/mxk1998/robodemo-6afc7693656d0965ce5466bc) |
[Complete numerical results](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/results/full50/README.md)

This is the **240,000-update** checkpoint evaluated on **Imitator Game**,
conditioned on a **human demonstration**. The release includes the complete
policy state dictionary, inference configuration and normalization.
Model architecture and evaluation are available; training code is planned
for the next release. Anonymous manuscript under review.

## Reported Results

| Split | Successful episodes | Episodes | SR (%) |
| --- | ---: | ---: | ---: |
| Seen (50 tasks) | 1692 | 2000 | 84.6 |

Each task is evaluated at four scene levels, with ten trials per level and a
500-control-step horizon.

[Every task and level](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/results/full50/README.md) |
[Task-level CSV](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/results/full50/task_level.csv) |
[Episode CSV](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/results/full50/episodes.csv) |
[Episode JSONL](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/results/full50/episodes.jsonl)

## Choose Your First Run

- **Explore without a GPU:** clone the code and run `python examples/predict_actions.py --inspect-only` to inspect the included video, state and action arrays (NumPy required).
- **Evaluate this checkpoint:** follow the one-episode command below, then increase `--max-episodes`.
- **Learn the interfaces:** the [two minimal examples](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/examples/README.md) cover human-video-to-action inference (Full50 weights) and raw-media reference retrieval (CPU supported).

[Reproduction navigator and validation status](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/reproduce.md)

## Quickstart

### 1. Install The Evaluation Environment

Use Linux, Python 3.10 and an NVIDIA GPU. The recorded environment uses
PyTorch 2.6.0 / CUDA 12.4 and Transformers 4.57.6.

```bash
git clone --branch v0.1-evaluation --single-branch https://github.com/robodemo-2027/RoboDemo.git
cd RoboDemo
python3.10 -m venv .venv
source .venv/bin/activate
pip install torch==2.6.0 torchvision==0.21.0 \
  --index-url https://download.pytorch.org/whl/cu124
pip install -r environments/requirements-evaluation.txt
pip install flash-attn==2.7.4.post1 --no-build-isolation
```

See the [environment guide](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/environments/README.md)
for the simulator revision, Vulkan and OptiX setup.

### 2. Prepare The Checkpoint And Smoke Assets

The [asset preparation helper](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/data-preparation.md)
downloads this checkpoint, the required encoder files, simulator source/assets
and the reference video for one towel-folding episode:

```bash
python scripts/prepare_assets.py --root /data/robodemo-assets \
  --profile smoke --model full50 --extract-assets
source /data/robodemo-assets/robodemo-env.sh
```

The policy file is approximately **16.5 GB** and contains the complete policy
state dictionary. The temporal encoder checkpoint is downloaded separately;
the needed temporal source is bundled with the code. Benchmark media and
simulation assets come from [Imitator Game](https://imitator-game.github.io/).
Use `--dry-run` first to inspect the download plan.

### 3. Run One Complete Episode

From the repository root, select a GPU allocated to your job:

```bash
export CUDA_VISIBLE_DEVICES=0
python environments/check_environment.py --assets \
  --output outputs/full50-environment.json &&

bash scripts/evaluate/full50-single.sh \
  --checkpoint "$ROBODEMO_HOST_ASSETS/checkpoints/RoboDemo-full50/pytorch_model.pt" \
  --data-root "$ROBODEMO_DATA_ROOT" \
  --task-level L0_TwoRobotFoldTowel-v1 \
  --workers-per-gpu 1 --max-episodes 1 \
  --output outputs/full50-smoke
```

This runs one 500-control-step episode. Use a new output directory for each
run. [Recorded integration tests](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/smoke-evaluation.md)
cover all five checkpoints.

### 4. Run The Full Evaluation

Prepare all references required by this model's complete trial plan:

```bash
python scripts/prepare_assets.py --root "$ROBODEMO_HOST_ASSETS" \
  --profile evaluation --model full50 --extract-assets
CUDA_VISIBLE_DEVICES=0 python evaluation/evaluate.py \
  --model full50 \
  --checkpoint "$ROBODEMO_HOST_ASSETS/checkpoints/RoboDemo-full50/pytorch_model.pt" \
  --data-root "$ROBODEMO_DATA_ROOT" \
  --output outputs/full50-evaluation
```

This evaluates all 2,000 episodes across 50 tasks.

The output contains `summary.json`, `model_load.json`, and per-trial
`result.json`, `trajectory.npz` and `rollout.mp4` files.
The [full usage guide](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/quickstart.md)
describes all model choices and output fields.

## Container And Parallel Evaluation

The shared [Docker environment](https://github.com/robodemo-2027/RoboDemo/tree/v0.1-evaluation/environments)
provides pinned dependencies and driver/asset checks for all five models.
A built Linux amd64 image is available from
[RoboDemo-Docker](https://huggingface.co/mxk1998/RoboDemo-Docker), with streaming
download and mounted-data evaluation instructions. The release's expanded suite passed
**113 CPU tests per policy variant** inside the image. The image also passed
a complete Full50 GPU simulator episode and both minimal examples.
[November 20 release checks](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/validation/20261120-release.json). The GPU test used Apptainer on H200 and peaked
at **21.38 GiB**, including OptiX rendering.
[Image runtime and results](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/validation/20261119-container.json)
and [validation status](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/reproduce.md#validation-status)
document the tested configurations.

For managed notebook containers without Docker Engine, follow the
[Apptainer guide](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/apptainer.md).
New image builds are versioned separately and do not inherit earlier GPU results.

This checkpoint has two launchers:

- Single GPU: `scripts/evaluate/full50-single.sh`
- Eight GPUs: `scripts/evaluate/full50-8gpu.sh`

Set `CUDA_VISIBLE_DEVICES` to allocated GPUs and start with
`--workers-per-gpu 1`. Use `--max-episodes` to control the global trial count.
[Memory sizing and complete commands](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/evaluation-scaling.md)
explain the 32-GB/80-GB starting configurations, restart and result merging.
This checkpoint completed a full 500-step H200 simulator episode with
**21.38 GiB peak process memory**, including rendering.
Use **1 worker on 32 GB** or **2 workers on 80 GB**. A 24-GB card is the
minimum practical target for the measured setup; 32 GB leaves more task-dependent
rendering headroom. These capacity recommendations use H200 measurements.
[A concurrent Full50 run](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/validation/20261119-concurrency.json)
also completed four 500-step episodes on two H200s with two workers per GPU,
peaking at **42.77 GiB per GPU**. Reducing episode count does not reduce
per-worker VRAM.

[All five memory measurements](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/validation/20261119-five-model-memory.json)
and [active CPU CI](https://github.com/robodemo-2027/RoboDemo/actions/workflows/offline-tests.yml)
are available with the code.

For a small eight-GPU run on eight allocated devices:

```bash
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 \
  bash scripts/evaluate/full50-8gpu.sh \
  --checkpoint "$ROBODEMO_HOST_ASSETS/checkpoints/RoboDemo-full50/pytorch_model.pt" \
  --data-root "$ROBODEMO_DATA_ROOT" \
  --workers-per-gpu 1 --max-episodes 8 \
  --output outputs/full50-8gpu-smoke
```

This schedules eight episodes total. Omit `--max-episodes` for the complete
plan. The launcher is released; native eight-GPU execution remains to be
validated. [Measured configurations](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/reproduce.md#validation-status).

[Minimal inference examples](https://github.com/robodemo-2027/RoboDemo/tree/v0.1-evaluation/examples)
include a real human video, robot observations/states/actions, and a separate
query-conditioned retrieval workflow.

## Model Interface

The evaluator provides a 224-by-224 RGB observation, language instruction,
proprioceptive state and a task-matched reference video. The policy predicts
30-step action chunks with 16 active simulator action dimensions. Reference
memory is initialized for each episode; execution memory updates from actual
observations and previously applied actions.

## Files

| File | Contents |
| --- | --- |
| `pytorch_model.pt` | Complete policy state dictionary |
| `policy.yaml` | Inference configuration for this checkpoint |
| `normalization.json` | Observation and action normalization |
| `NOTICE.md`, `licenses/` | Upstream component attribution and licenses |

## License And Citation

This model is distributed under Apache 2.0. Component notices and their
licenses are retained in `NOTICE.md` and `licenses/`. Benchmark data and
simulator assets are provided by Imitator Game. This checkpoint is released
for research evaluation; physical-robot deployment requires a compatible
controller and separate validation.

```bibtex
@misc{anonymous2027robodemo,
  title  = {RoboDemo: Reconciling Demonstration Intent and Execution
            Progress for Long-Horizon Manipulation},
  author = {Anonymous Authors},
  year   = {2027},
  note   = {Manuscript under review}
}
```

The Full50 two-call policy example and raw-media retrieval example have both
completed end to end. See the [validation record](https://github.com/robodemo-2027/RoboDemo/blob/v0.1-evaluation/docs/validation/20261119.json)
for H200 memory-budget measurements and example outputs.