- UW raiden_five_garments (30 Hz YAM): checkpoints + serving handoff
- 0. Ten-minute checklist
- 1. What was trained
- 1.1 The 30 Hz recipe = our 60 Hz recipe in wall-clock
- 1.2 Data axes and configs
- 1.3 What the model learned, in the data's own terms (this is the contract)
- 1.4 The two
_h60k120_stall2s_10epcheckpoints (added 2026-09-24): 2 s chunks, 4 s history - 1.5 The two
solfcheckpoints (added 2026-09-25): single-out + lay-flat data, rounds 1-10 - 1.6 The two
flfcheckpoints (added 2026-09-25): filtered lay-flat data, rounds 1-10, every sub-task
- 2. Checkpoint layout and the path check
- 3. The server
- 4. Wire protocol
- 5. Client: the two brokers you should reuse
- 6. Porting from our robot stack: the parameters that change
- 7. Verification ladder
- 8. Reproducing training and norm stats
- 9. FAQ
- Provenance
- 0. Ten-minute checklist
UW raiden_five_garments (30 Hz YAM): checkpoints + serving handoff
Audience: the UW collaborators who collected raiden_five_garments and the coding agents helping them deploy.
Goal: run our pi0.5 action-history policies on UW's 30 Hz YAM with a client whose contract matches our
training + serving code exactly. Everything below is verifiable against the code in this repo (branch
yam/budget-prep); file paths are given so an agent can read the source of truth instead of trusting prose.
Checkpoints (public): https://huggingface.co/huzheyuan/pi05_yam_raiden5g_histnow
Code: https://github.com/Leo428/openpi_exploration, branch yam/budget-prep (mirror of the working fork; private,
ask Zheyuan for access). Client-only machines need just packages/openpi-client (pure Python: numpy, msgpack, websockets).
0. Ten-minute checklist
- Code. Clone, then
conda deactivate && GIT_LFS_SKIP_SMUDGE=1 uv sync(seeREADME.md). A CUDA GPU with >= 24 GB is enough to serve (the model is ~3.3 B params in bf16 at inference). - Checkpoint. Download one step directory from the HF repo keeping the directory layout
<config_name>/<exp_name>/<step>/{params,assets}(section 2). Nothing else is needed: the norm stats travel insideassets/. - Serve (section 3):
uv run scripts/serve_policy.py --port 8000 policy:checkpoint \ --policy.config pi05_yam_raiden5g_adv_history_loravlm_fullae_lr1e4_histnow_cmd_rtc \ --policy.dir <root>/pi05_yam_raiden5g_adv_history_loravlm_fullae_lr1e4_histnow_cmd_rtc/raiden5g_adv_histnow_cmd_rtc/11999 \ --policy.num-steps 5 - Self-test without a robot (section 7):
uv run examples/yam/eval/raiden_selftest.py --config <config> --dir <step dir>must printSELFTEST_OK. Then warm the running server:uv run examples/yam/online/warmup_policy.py --port 8000 --history-horizon 60 --rtc(drop--rtcfor non-RTC configs). - Client (sections 4-6): a 30 Hz loop that wraps
WebsocketClientPolicyinRTCHistoryActionChunkBroker( history_horizon=60, history_action_dim=14, state_dim=14, replan_interval=15, rtc_max_delay=8)(RTC configs) orHistoryActionChunkBroker(action_horizon=30, execute_horizon=15, history_horizon=60, ...)(non-RTC), sends the sub-task string asprompt, and callsbroker.reset()at every episode start and sub-task switch. The_h60k120_stall2s_10epcheckpoints (incl. thesolfandflfones) take different sizes (120 history rows, 60-row chunks): sections 1.4-1.6.
1. What was trained
All models are Pi0History / Pi0HistoryRTC (pi0.5 flow-matching policy + an action-history conditioning module),
LoRA on the 2B VLM, full fine-tune of the 300M action expert, initialised from pi05_base. Configs:
src/openpi/training/configs/yam_raiden.py (read its module docstring: it is the design record).
1.1 The 30 Hz recipe = our 60 Hz recipe in wall-clock
| quantity | our YAM (60 Hz) | UW YAM (30 Hz, these models) | wall clock |
|---|---|---|---|
action_horizon (chunk returned per query) |
60 | 30 | 1.0 s |
action_history_horizon K (past actions the model reads) |
120 | 60 | 2.0 s |
action_history_pool_window |
30 | 15 | 0.5 s per history token (4 tokens) |
rtc_max_delay (RTC configs; committed prefix must be < this) |
16 | 8 | < 267 ms |
| control loop | 60 Hz | 30 Hz |
1.2 Data axes and configs
config name (--policy.config) |
data | RTC | steps | HF folder |
|---|---|---|---|---|
pi05_yam_raiden5g_adv_history_loravlm_fullae_lr1e4_histnow_cmd |
5 adversarial-round repos | no | 12k (5 ep) | <config>/raiden5g_adv_histnow_cmd/11999 |
pi05_yam_raiden5g_adv_history_loravlm_fullae_lr1e4_histnow_cmd_rtc |
same | yes | 12k | <config>/raiden5g_adv_histnow_cmd_rtc/11999 |
pi05_yam_raiden5g_baseline_history_loravlm_fullae_lr1e4_histnow_cmd |
8 baseline-round repos | no | 12k | <config>/raiden5g_base_histnow_cmd/11999 |
pi05_yam_raiden5g_baseline_history_loravlm_fullae_lr1e4_histnow_cmd_rtc |
same | yes | 12k | <config>/raiden5g_base_histnow_cmd_rtc/11999 |
..._histnow_cmd_10ep / ..._histnow_cmd_rtc_10ep (4 twins) |
same | 24k (10 ep) | <config>_10ep/<exp>_10ep/23999 (uploaded as they finish) |
|
pi05_yam_raiden5g_adv_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep |
5 adversarial-round repos | no | 24k (10 ep) | <config>/raiden5g_adv_histnow_cmd_h60k120_stall2s_10ep/23999 -- different sizes, section 1.4 |
pi05_yam_raiden5g_baseline_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep |
8 baseline-round repos | no | 24k (10 ep) | <config>/raiden5g_baseline_histnow_cmd_h60k120_stall2s_10ep_cam/23999 -- different sizes, section 1.4 |
pi05_yam_raiden5g_solf_adv_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep |
VattanaryT/..._adverserial_rounds1to10_singleout_layflat |
no | 10.2k (10 ep) | <config>/raiden5g_solf_adv_histnow_cmd_h60k120_stall2s_10ep/10199 -- section 1.5 |
pi05_yam_raiden5g_solf_baseline_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep |
VattanaryT/..._baseline_rounds1to10_singleout_layflat |
no | 8.6k (10 ep) | <config>/raiden5g_solf_baseline_histnow_cmd_h60k120_stall2s_10ep/8599 -- section 1.5 |
pi05_yam_raiden5g_flf_adv_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep |
VattanaryT/..._adverserial_rounds1to10_filtered_lay_flat |
no | 25.4k (10 ep) | <config>/raiden5g_flf_adv_histnow_cmd_h60k120_stall2s_10ep/25399 -- section 1.6 |
pi05_yam_raiden5g_flf_baseline_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep |
VattanaryT/..._baseline_rounds1to10_filtered_lay_flat |
no | 23.2k (10 ep) | <config>/raiden5g_flf_baseline_histnow_cmd_h60k120_stall2s_10ep/23199 -- section 1.6 |
Data = the 13 huzheyuan/raiden_five_garments_* LeRobot repos exactly as converted at UW (fps 30, three 224x224
cameras observation.images.{top,left_wrist,right_wrist}, 14-dim observation.state / action). We verified
30 Hz independently (timestamps, video fps, converter report, physical lag) before choosing the horizons.
1.3 What the model learned, in the data's own terms (this is the contract)
- Action (target) = the recorded
actionfield of your dataset: 14 floats,[left joints x6, left gripper, right joints x6, right gripper], grippers in the 0..1 range your converter wrote. The policy predicts the next 30 of them (a[t] .. a[t+29]). Internally joints are trained relative to the current states[t]and grippers absolute (DeltaActions(mask 6,-1,6,-1)), but the server converts back: the client receives absolute robot-space actions in your dataset's convention and never sees deltas. - State = the recorded
observation.stateat query time (14 floats, same order). - History = the 60 most recent commanded actions
a[t-60] .. a[t-1], oldest first. At training time these are the dataset's previousactionrows; at deployment they must be the actions your controller actually executed (what the broker emitted), which is what makes the two match. The server encodes them relative to the current state (HistoryRelativeToNow(source="action"): row k =a[t-k] - s[t]for joints, gripper absolute). Rows that do not exist yet (first 2 s of an episode) are sent as zeros withis_pad=True; the model was trained with exactly that padding convention. - Images = your three cameras at 224x224 RGB uint8 as your dataset stored them. Reproduce the same resize path you used when converting (the model saw those pixels); do not crop, do not letterbox differently.
- Prompt = the per-episode LeRobot task string (your sub-task language:
"single out the gray long pants","fold in half"...). The exact strings are in each repo'smeta/tasks.jsonl; use them verbatim at deployment. Training usedprompt_from_task=True, so a request withoutpromptfalls back to"perform the task", which the model never saw.
1.4 The two _h60k120_stall2s_10ep checkpoints (added 2026-09-24): 2 s chunks, 4 s history
pi05_yam_raiden5g_adv_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep (adversarial data) and pi05_yam_raiden5g_baseline_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep (baseline data; its experiment folder's _cam suffix only names the cluster it
trained on) are non-RTC, 10 ep = 24k steps, step 23999. Each changes two things vs the ..._histnow_cmd_10ep
config of its data axis:
Our 60 Hz step counts, not our wall-clock spans. At 30 Hz that doubles every horizon in seconds:
quantity the other checkpoints here these two wall clock (these two) action_horizon(chunk returned per query)30 60 2.0 s action_history_horizonK60 120 4.0 s action_history_pool_window15 30 1 s per history token (still 4 tokens) They have their own norm stats (assets
raiden5g_{adv,baseline}_r1-8_h60k120, insideassets/): the delta-chunk and history quantiles depend on both horizons.Stall filter in training. A frame inside a freeze of >= 2 s (60 frames; joint-space hysteresis OR end-effector motion,
examples/yam/analysis/stall_union.py, the detector our online learner uses) is never a training anchor; the chunk / history around a kept anchor may still reach into one. That removes 42 runs = 0.73 % of frames (adversarial) and 45 runs = 0.71 % (baseline), mostly operator pauses at a sub-task's start or end.
Client changes for these two checkpoints only (sections 2-7 otherwise hold):
actions_history/state_historyare(120, 14), the*_is_padmasks(120,); an episode's first 4 s are padded. A 60-row history is refused.- The response
actionsis(60, 14)= the next 2 s. HistoryActionChunkBroker(policy, action_horizon=60, execute_horizon=15, history_horizon=120, history_action_dim=14, state_dim=14): re-query every 15 steps (0.5 s, the same wall-clock period as the other checkpoints; any value up to 60 is legal).- Warm-up:
warmup_policy.py --port 8000 --history-horizon 120(no--rtc). - Server metadata:
{"control_hz": 30, "action_horizon": 60, "action_history_horizon": 120}.
Self-test at upload (RTX PRO 6000, 5 denoising steps): SELFTEST_OK on both, 54-55 ms/query steady state (first call
12 s), both refuse a 60-row history and an RTC prefix. We have not run either on a robot. Serving them needs a code checkout that
has the 2026-09-24 _h60k120 configs in src/openpi/training/configs/yam_raiden.py; serve_policy.py does not
know the config name otherwise.
1.5 The two solf checkpoints (added 2026-09-25): single-out + lay-flat data, rounds 1-10
pi05_yam_raiden5g_solf_adv_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep and
pi05_yam_raiden5g_solf_baseline_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep = the section 1.4 recipe,
unchanged (non-RTC, 60-row chunk, 120-row history, the >= 2 s stall filter, LoRA VLM + full action expert, bs 256,
cosine 1e-4 -> 1e-5, EMA 0.99, 10 epochs), trained on your re-cut datasets instead of the 13 per-round repos:
| arm | HF dataset (revision trained on) | episodes / frames | steps (10 ep) | stall-filtered anchors |
|---|---|---|---|---|
solf_adv |
VattanaryT/raiden_five_garments_adverserial_rounds1to10_singleout_layflat (887b29ca) |
586 / 261,821 | 10,200 -> step 10199 | 1.32 % |
solf_baseline |
VattanaryT/raiden_five_garments_baseline_rounds1to10_singleout_layflat (46ce9e4d) |
589 / 219,393 | 8,600 -> step 8599 | 1.46 % |
Only the "single out the " and "lay it flat" sub-tasks are in this data, so these two models have never seen
the folding prompts. The step count is per arm (10 passes over that arm's frames at bs 256, rounded to 100). Each has
its own exact norm stats, asset ids raiden5g_solf_{adv,baseline}_r1-10_h60k120, inside assets/. The client contract
is section 1.4's, word for word: 120-row history, 60-row chunk, the same broker, the same warm-up, the same metadata.
Prompts: use the strings in the two repos' meta/tasks.jsonl verbatim. Each repo also has one episode with a one-off
variant string ("single out hte black long pants" in baseline, "single out the midnight blue shorts" in adv); the
model saw those once, so use the majority strings.
1.6 The two flf checkpoints (added 2026-09-25): filtered lay-flat data, rounds 1-10, every sub-task
pi05_yam_raiden5g_flf_adv_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep and
pi05_yam_raiden5g_flf_baseline_history_loravlm_fullae_lr1e4_histnow_cmd_h60k120_stall2s_10ep = the section 1.5 recipe
on your filtered lay-flat datasets, which keep every sub-task (folding, stacking, moving, single out, lay flat):
| arm | HF dataset (revision trained on) | episodes / frames | steps (10 ep) | stall-filtered anchors |
|---|---|---|---|---|
flf_adv |
VattanaryT/raiden_five_garments_adverserial_rounds1to10_filtered_lay_flat (36ea0644) |
1,866 / 651,084 | 25,400 -> step 25399 | 0.84 % |
flf_baseline |
VattanaryT/raiden_five_garments_baseline_rounds1to10_filtered_lay_flat (4888bb10) |
1,952 / 593,298 | 23,200 -> step 23199 | 0.73 % |
The "lay it flat" episodes are the same 211 (adv) / 205 (baseline) as in the solf repos; the other 12 / 13 task
strings in meta/tasks.jsonl are the per-round sub-tasks, so unlike solf these models know the folding prompts. Own
exact norm stats, asset ids raiden5g_flf_{adv,baseline}_r1-10_h60k120, inside assets/. Client contract: section 1.4,
unchanged. The ~5-epoch checkpoints (steps 13000 / 12000) are kept as well; they are not on HF, ask if you want them.
Self-test at upload (RTX PRO 6000, 5 denoising steps): SELFTEST_OK on both, 54-55 ms/query steady state (first
call 12 s), both refuse a 60-row history and an RTC prefix. We have not run either on a robot.
2. Checkpoint layout and the path check
pi05_yam_raiden5g_adv_history_loravlm_fullae_lr1e4_histnow_cmd_rtc/ <- config name
raiden5g_adv_histnow_cmd_rtc/ <- experiment name
11999/ <- step
params/ orbax (ocdbt) checkpoint of the full model, ~6.5 GB
assets/ norm_stats.json (+ raiden5g_<axis>_r1-8/norm_stats.json): quantile stats for
state / actions / actions_history, computed exactly over the training repos
_CHECKPOINT_METADATA
Download with the layout intact, e.g.
hf download huzheyuan/pi05_yam_raiden5g_histnow \
--include "pi05_yam_raiden5g_adv_history_loravlm_fullae_lr1e4_histnow_cmd_rtc/*" --local-dir ./raiden_ckpts
(hf is the huggingface_hub CLI; older versions call it huggingface-cli.)
scripts/serve_policy.py reads the config name from the path (two levels above <step>) and refuses to
serve if it contradicts --policy.config: sibling configs load the same weights but apply different transforms,
so a wrong pairing would run silently mis-conditioned. Keep the layout; do not rename the directories.
No optimizer state is published (train_state/ is omitted); these checkpoints are for inference and
for initialising further fine-tuning via --weight-loader.params-path <step>/params.
3. The server
scripts/serve_policy.py -> openpi.serving.websocket_policy_server -> openpi.policies.policy.Policy.
What it does to each request, in order (printed at start-up as Input transforms : ...):
InjectDefaultPrompt -> SplitActionHistory -> YamInputs -> HistoryRelativeToNow(source='action') -> DeltaActions
-> Normalize(use_quantiles=True) -> tokenize prompt -> pad -> model.sample_actions(num_steps)
-> Unnormalize(use_quantiles=True) -> AbsoluteActions -> YamOutputs (first 14 dims)
Source: src/openpi/policies/yam_policy.py (YamInputs/YamOutputs), src/openpi/transforms_ext/history.py
(SplitActionHistory, HistoryRelativeToNow), src/openpi/transforms.py (DeltaActions/AbsoluteActions/Normalize),
src/openpi/policies/policy.py (RTC prefix handling + guards).
Guards you will hit if the client is wrong (all raise a clear error back over the websocket):
- history rows != 60 ->
HistoryRelativeToNow/embedder refuse (a 60 Hz client sends 120); for the_h60k120checkpoints the required count is 120 (section 1.4); prefix_attention_horizon> 7 on an RTC model ->Policy._check_rtc_prefix_horizonrefuses (training drew the delay fromU[0, 8), so at most 7 clean rows were ever fed);- any
prefix_attention_horizonon a non-RTC model -> refused ("no RTC sampler").
Flags that matter: --policy.num-steps 5 (denoising steps; 10 is the model default, 5 is what we deploy on our
robot, ~2x faster with no measurable loss in our sweep), --port. Metadata sent to every client on connect
(client.get_server_metadata()): {"control_hz": 30, "action_horizon": 30, "action_history_horizon": 60, "rtc_max_delay": 8 (RTC only)} -- assert on these in your client.
4. Wire protocol
Transport: one websocket (ws://host:8000), messages are msgpack with the numpy extension
(packages/openpi-client/src/openpi_client/msgpack_numpy.py; use WebsocketClientPolicy and you never touch it).
Server sends the metadata dict once on connect, then each request dict gets one response dict.
Request (one query = one 30-row chunk):
| key | shape / type | meaning |
|---|---|---|
images.top, images.left_wrist, images.right_wrist |
uint8 (224,224,3) or (3,224,224) |
RGB frames at query time (both layouts accepted, see _parse_image) |
state |
float32 (14,) |
current observation.state |
prompt |
str |
sub-task string (verbatim from training tasks) |
actions_history |
float32 (60,14) |
executed commands a[t-60..t-1], oldest first, ABSOLUTE robot space |
state_history |
float32 (60,14) |
observed states at those steps (sent for completeness; the histnow models read only current state) |
actions_history_is_pad, state_history_is_pad |
bool (60,) |
True = slot not yet populated (episode start) |
prefix (RTC only) |
float32 (30,14) |
ABSOLUTE actions the robot will execute during this inference; rows [0, n) are frozen, the rest is ignored |
prefix_attention_horizon (RTC only) |
int, 0..7 |
n, the number of frozen rows (send 0 and no prefix on the very first query) |
Response:
| key | shape | meaning |
|---|---|---|
actions |
float32 (30,14) |
absolute robot-space commands for steps t .. t+29 (joints + grippers in your dataset's units) |
state |
(14,) |
echo of the (normalized) input state; ignore |
policy_timing.infer_ms |
float | server-side model time |
5. Client: the two brokers you should reuse
Both live in packages/openpi-client/src/openpi_client/ and are what our robot actor uses; they implement the
buffering rules above so you do not have to.
Non-RTC (*_histnow_cmd configs), synchronous: HistoryActionChunkBroker(policy, action_horizon=30, execute_horizon=15, history_horizon=60, history_action_dim=14, state_dim=14). Call broker.infer(obs) once per
30 Hz step with obs = {"images": ..., "state": ..., "prompt": ...}; it returns {"actions": (14,)} for this
step, re-queries the server every execute_horizon steps (15 = 0.5 s; 30 = run the whole chunk), and pushes the
emitted action + observed state into the history AFTER emitting (so the next request sees steps < t).
Images are only needed on steps where broker.needs_query is True.
RTC (*_histnow_cmd_rtc configs), asynchronous, no pause at chunk boundaries:
RTCHistoryActionChunkBroker(policy, history_horizon=60, history_action_dim=14, state_dim=14, replan_interval=15, rtc_max_delay=8, initial_prefix_horizon=2). Same infer(obs) per step; inference runs on a
background thread, the next chunk is requested replan_interval steps into the current one with the committed
prefix = the actions that will run during the inference delay, and the adaptive prefix length is clamped to
[0, 7]. replan_interval must be < 30; 15 (0.5 s) mirrors our 60 Hz setting of 30. If you use
auto_poll=False, call broker.poll() once per step before reading needs_query (see the docstrings).
Rules that are easy to get wrong:
broker.reset()at every episode start and at every sub-task (prompt) switch. The history must not carry across a prompt change (that is how the training episodes are cut: one episode per sub-task).- Buffer the action you sent to the robot, not the state you observed afterwards, and buffer it after sending it (the brokers do this).
- Run the loop at 30 Hz. The model's notion of time is "one row = 1/30 s"; a 60 Hz loop halves every horizon.
- Do not smooth, clip or re-time the returned chunk before buffering it as history: the history must be what was commanded.
- Send the prompt on every request (the brokers pass
obsthrough), verbatim frommeta/tasks.jsonl.
Our own actor for reference (60 Hz, but the structure transfers 1:1): examples/yam/eval/collect_online_fbc.py
(--rtc --rtc-replan-interval --rtc-max-delay --history-horizon --execute-horizon), and
examples/yam/eval/env.py:format_observation for how we build the obs dict (state assembly, BGR->RGB, resize, CHW).
6. Porting from our robot stack: the parameters that change
| where | our 60 Hz value | UW 30 Hz value |
|---|---|---|
| control loop | 60 Hz | 30 Hz |
--history-horizon / history_horizon |
120 | 60 |
--action-horizon (what the server returns) |
60 | 30 |
--execute-horizon (non-RTC re-query period) |
30 | 15 |
--rtc-replan-interval |
30 | 15 |
--rtc-max-delay |
16 | 8 |
warmup_policy.py --history-horizon |
120 | 60 |
| gripper units | our YAM 0..1 | your dataset's action gripper units (0..1) |
Everything else (websocket protocol, broker semantics, prompt handling, transform chain) is identical.
7. Verification ladder
uv run examples/yam/eval/raiden_selftest.py --config <config> --dir <step dir>-- loads the checkpoint the way the server does and runs the exact request dicts from section 4 (plain, mid-episode, RTC prefix), plus the negative cases (a history of the wrong length, 8-row prefix). Prints latencies;SELFTEST_OKat the end.- Start the server;
uv run examples/yam/online/warmup_policy.py --port 8000 --history-horizon 60 [--rtc]-- the same shapes over the websocket, first call pays the JIT compile (~10-15 s), the rest is steady state. - First robot run: log
policy_timing.infer_msand the broker's observed delay; with RTC the prefix length should settle at 2-3 rows (delay ~60-100 ms at 30 Hz). If it hits 7, inference is too slow for the loop: lower--policy.num-steps, or raisereplan_intervaltoward 20. - Compare against your own baseline under the same protocol; our 60 Hz result with the same recipe on our 3-lego task was 10/10 on the hardest arrangement (RTC, 5 denoising steps, replan every 0.5 s).
Measured on our serving GPU (RTX 5090, 5 denoising steps, 60-row chunk): 55-60 ms per query, first call 14 s
(compile); the RTC prefix path adds a second compile (6 s) on its first use, which the warm-up absorbs.
8. Reproducing training and norm stats
- Configs:
src/openpi/training/configs/yam_raiden.py(+yam_raiden_test.pypins the wall-clock contract). - Exact quantile stats including the dedicated
actions_historykey:uv run scripts/compute_norm_stats_exact.py --config-name <config>with the repos under$HF_LEROBOT_HOME/local/. - Training:
uv run scripts/train.py <config> --exp-name <exp>; cluster launchers inexamples/yam/launch/sagemaker/(AWS) andexamples/yam/launch/{train_orchard_raiden5g_histnow.sh, flame_raiden5g_chain.sh}(Slurm/GCP;ARM=solf_adv|solf_baseline VARIANT=h60k120_stall2s EPOCHS=10 TASK_NAME=yam_raiden5g_solffor the section 1.5 models,ARM=flf_adv|flf_baseline ... TASK_NAME=yam_raiden5g_flffor section 1.6). Recipe: bs 256, cosine 1e-4 -> 1e-5 over the whole run, EMA 0.99, 5 ep = 12k steps, 10 ep = 24k (the per-round repos; the solf corpora: 10.2k / 8.6k; the flf corpora: 25.4k / 23.2k). - Stall sidecars for the
_stall2sconfigs (they must exist before the loader, and before--validateof the stats script):uv run examples/yam/analysis/build_stall_sidecars.py --detector union --xml <yam.xml> --min-run-sec 2 --repo-ids local/<repo> --out-dir assets/<config>/<asset_id>/stall_union_2s. - Deploy notes for our own robot (60 Hz) live in
examples/yam/EVAL.md("30 Hz checkpoints" subsection).
9. FAQ
- Can I serve the 60 Hz configs on the 30 Hz robot? No -- every horizon would be 2x too long in wall clock.
- Can I send 224x224 JPEG-decoded frames from a different camera driver? Yes if the pixels statistically match
your dataset's frames (same lens, same resize). Our robot's
format_observationuses a PIL/bicubic 1080p->224 squash to match its own training frames; do the analogous thing for your converter. - Grippers look saturated/inverted? Check your
actiongripper convention at conversion time; the model reproduces exactly that field (we train grippers absolute, no delta). - Which checkpoint first? The adversarial-data RTC one (
..._adv_..._histnow_cmd_rtc), 5 denoising steps, replan 15. Then the 10-epoch twin once uploaded.
Provenance
- Code: branch
yam/budget-prep(see the top of this card). The first five checkpoints match commit301fd72; the two_h60k120_stall2s_10epcheckpoints need commit2875097or later (their configs, section 1.4); the twosolfcheckpoints need commit4192121or later (section 1.5); the twoflfcheckpoints need commit18d884bor later (section 1.6). This README is a copy ofexamples/yam/RAIDEN_UW_HANDOFF.md; the repo copy is authoritative. - Checkpoints in this repo are the final steps of the runs in the table above;
params/is an orbax (ocdbt) checkpoint written byscripts/train.py,assets/holds the quantile norm stats used at training. No optimizer state is included. - Self-test results at upload time (RTX PRO 6000, 5 denoising steps): 55 ms/query steady state for both the plain
and the RTC-prefix paths; all guard cases refused as documented.
solf_baseline8599 (uploaded 2026-09-25):SELFTEST_OK, 55-56 ms/query (first call 15 s), refuses a 60-row history and an RTC prefix.solf_adv10199 (uploaded 2026-09-25):SELFTEST_OK, 55.6-55.9 ms/query (first call 14 s), same refusals. flf_adv25399 andflf_baseline23199 (uploaded 2026-09-25):SELFTEST_OK, 53.9-54.0 / 54.2-54.6 ms/query (first call 11.5 / 12.4 s), same refusals.