Run this model with HF Jobs

Run OpenRAL/rskill-molmoact2-multi-so101 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/OpenRAL/rskill-molmoact2-multi-so101. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/OpenRAL/rskill-molmoact2-multi-so101 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
File size: 11,933 Bytes
e01c114
946a7db
 
 
 
e01c114
946a7db
 
 
 
 
 
b420451
 
 
 
 
2f33d99
 
85bfeb1
 
 
 
 
946a7db
b420451
2f33d99
 
 
 
 
b420451
2f33d99
b420451
 
2f33d99
 
 
 
e01c114
 
2f33d99
946a7db
2f33d99
5b059b6
946a7db
 
 
 
 
 
 
 
2f33d99
946a7db
 
85bfeb1
946a7db
 
85bfeb1
 
 
 
 
946a7db
515b342
 
 
 
 
 
 
 
 
 
946a7db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85bfeb1
 
 
 
 
 
2f33d99
 
 
85bfeb1
946a7db
 
 
 
 
 
 
 
 
 
85bfeb1
 
946a7db
85bfeb1
 
946a7db
 
 
85bfeb1
 
 
 
 
946a7db
 
 
 
 
 
 
 
 
85bfeb1
e01c114
946a7db
e01c114
946a7db
 
 
 
e01c114
946a7db
e01c114
946a7db
 
 
 
 
e01c114
946a7db
e01c114
946a7db
e01c114
2f33d99
946a7db
 
 
 
2f33d99
 
85bfeb1
946a7db
85bfeb1
946a7db
85bfeb1
946a7db
 
 
 
e01c114
 
946a7db
e01c114
946a7db
 
e01c114
 
946a7db
 
2f33d99
946a7db
e01c114
 
946a7db
e01c114
946a7db
 
 
 
 
85bfeb1
946a7db
 
e01c114
946a7db
85bfeb1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
946a7db
 
e01c114
946a7db
85bfeb1
e01c114
946a7db
 
85bfeb1
946a7db
e01c114
946a7db
 
e01c114
946a7db
85bfeb1
 
946a7db
2f33d99
946a7db
 
e01c114
946a7db
e01c114
85bfeb1
 
 
e01c114
946a7db
e01c114
946a7db
 
2f33d99
85bfeb1
 
e01c114
946a7db
e01c114
946a7db
 
 
 
85bfeb1
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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
---
language:
- en
license: apache-2.0
pipeline_tag: robotics
tags:
- OpenRAL
- rskill
- molmoact2
- vision-language-action
- so100_follower
- so101_follower
- rskill-kind:vla
- rskill-role:s1
- embodiment:so100_follower
- embodiment:so101_follower
- rskill-license:apache-2.0
- nf4
- 4-bit
- transformers
- vla
- so101
- so100
- manipulation
inference: false
openral:
  description: 'MolmoAct2 (Ai2) finetuned on the SO-100/SO-101 teleop mixture: bf16
    by default, plus an NF4 int4 variant for 8 GB GPUs (OpenRAL Pro). Emits 6-DoF
    absolute joint-position chunks (size 10) for the SO-100/SO-101 follower arm. Flow-matching
    action expert on Molmo2-ER VLM. Apache-2.0. norm_tag="so100_so101_molmoact2" travels
    in the manifest''s image_preprocessing block (overridable via vla.extra.norm_tag).'
  model_family: molmoact2
  min_vram_gb: 11.0
  latency_ms: 1000.0
  runtime: pytorch
  dtype: bf16
base_model:
- allenai/MolmoAct2-SO100_101
base_model_relation: quantized
---

# rskill-molmoact2-multi-so101

> **Runs open at bf16; the `int4` (NF4) variant needs OpenRAL Pro.** The default loads the pinned upstream checkpoint (`weights_uri`) at bf16. With the OpenRAL Pro quantization package installed, the `int4` variant (`pro_default`, ADR-0139) loads its pre-quantized NF4 pack from `quantization.variants.int4.weights_uri`. Under ADR-0123, open-source OpenRAL loads only fp32, fp16 and bf16 weights; quantized formats (int8, fp8, int4/NF4, nvfp4) need OpenRAL Pro.

> **OpenRAL rSkill** β€” MolmoAct2 (Ai2's open action reasoning model: a
> Molmo2-ER embodied-reasoning VLM backbone with a flow-matching
> continuous-action expert) finetuned on the
> [SO-100/SO-101](https://huggingface.co/allenai/MolmoAct2-SO100_101) teleop
> mixture and NF4-quantized so the ~5.5 B-param model fits an 8 GB GPU.
> Robots: SO-100 and SO-101 follower arms. **Apache-2.0 weights** β€” commercial
> use permitted.

This package wraps `hf://OpenRAL/rskill-molmoact2-multi-so101` (an
NF4-quantized mirror of `allenai/MolmoAct2-SO100_101`) with a `rskill.yaml`
manifest that adds capability checking, license surfacing, latency budgets,
and local registry integration. It does **not** copy model weights; they
live on the Hub.

> **Norm tag:** this checkpoint's normalization statistics are tagged
> `"so100_so101_molmoact2"`. The manifest carries it in
> `image_preprocessing.norm_tag`; the adapter resolves `vla.extra.norm_tag` β†’
> manifest β†’ default `"libero"`, and the `"libero"` stats produce garbage
> actions for this checkpoint. Only set `vla.extra.norm_tag` to override.

## Preview

SO-101 tube insertion in the MuJoCo `so101_box` scene ("insert the orange tube into the slotted block"), one episode (seed 42), NF4 on an RTX 5070 Laptop GPU (8 GB): failure, the tube is not in the block when the 500-step limit runs out (recorded OpenRAL run, `openral sim run`).

| Start | Middle | End |
| :---: | :---: | :---: |
| ![start](media/so101-tube-insertion_fail_start.jpg) | ![mid](media/so101-tube-insertion_fail_mid.jpg) | ![end](media/so101-tube-insertion_fail_end.jpg) |

Full clip: [so101-tube-insertion_fail.mp4](media/so101-tube-insertion_fail.mp4)

## What this skill does

Performs tabletop manipulation β€” picking, placing, grasping, and transporting
objects β€” on the SO-100 and SO-101 follower arms. The MolmoAct2 backbone
reasons about the scene in 3D and the flow-matching action expert emits a
continuous absolute joint-position action chunk that the adapter replays one
step at a time.

| Field | Value |
| --- | --- |
| Actions | pick, place, pick_and_place, grasp |
| Objects | diverse tabletop objects |
| Scenes  | tabletop |
| Embodiments | `so100_follower`, `so101_follower` |

## How it works

MolmoAct2 grafts a modern DiT-style flow-matching continuous-action expert
onto the Molmo2-ER discrete-token VLM via per-layer KV-cache conditioning
(arXiv:2605.02881). Upstream ships it as transformers **custom code**
(`trust_remote_code`), not a lerobot policy. The OpenRAL `molmoact2` adapter
(`python/sim/src/openral_sim/policies/molmoact2.py`) instead builds the graph from
lerobot 0.6.0's vendored in-tree `MolmoAct2ForConditionalGeneration` and
`MolmoAct2Processor` (config, processor and `norm_stats.json` from the
manifest's `source_repo`), so no remote code executes and
`OPENRAL_ALLOW_REMOTE_CODE` is not needed. Open, it loads the bf16 upstream; under
OpenRAL Pro (the `int4` variant) it NF4-quantizes the model via bitsandbytes and
overlays the prequantized pack from the variant's `weights_uri`. It then drives it
through the checkpoint's own `predict_action(...)` continuous-action API. Two
RGB camera streams plus a 6-D proprio state go in; a `(chunk_size, 6)` absolute
joint-position chunk comes out, replayed one step at a time and re-inferred
when the queue empties.

### Observation β†’ action contract

| Direction | Key | Shape | Notes |
| --- | --- | --- | --- |
| in | `observation.images.camera1` | `(1, 3, H, W) float32 [0,1]` | overhead view (β†’ model `top`) |
| in | `observation.images.camera2` | `(1, 3, H, W) float32 [0,1]` | wrist/side view (β†’ model `side`) |
| in | `observation.state`           | `(1, 6)` float32                | SO-101 6-D joint positions: 5 arm joints in **degrees** + gripper in LeRobot `[0, 100]` (the runner's `PolicyIOCodec` converts from robot radians / `[0, 1]` per `action_contract.joint_units: degrees`, `gripper_scale: 100`) |
| out | action chunk                  | `(10, 6)` float32               | absolute joint-position targets, same units as the state (converted back to radians / `[0, 1]` before the HAL) |

**Camera aliases:** the manifest maps slot `camera1 β†’ top` and
`camera2 β†’ side`; in the `so101_box` scene those slots are `oak_top` and `wrist`.

## Upstream model / training

The weights come from Ai2's `allenai/MolmoAct2-SO100_101`: the base
`allenai/MolmoAct2` foundation model finetuned on the SO-100/SO-101 teleop
mixture with absolute joint-pose control and annotated language instructions.
This rSkill repackages an NF4-quantized mirror; it does **not** retrain or copy
the full-precision weights.

| Field | Value |
| --- | --- |
| Source repo | [`allenai/MolmoAct2-SO100_101`](https://huggingface.co/allenai/MolmoAct2-SO100_101) |
| Base model  | [`allenai/MolmoAct2`](https://huggingface.co/allenai/MolmoAct2) |
| Paper       | [arxiv:2605.02881](https://arxiv.org/abs/2605.02881) β€” *MolmoAct2: Action Reasoning Models for Real-world Deployment* |
| License     | apache-2.0 (code + weights) |
| Parameters  | ~5.5 B |
| Training data | SO-100/SO-101 teleop mixture (absolute joint-pose, annotated language) |
| norm_tag    | `"so100_so101_molmoact2"` β€” set in the manifest's `image_preprocessing` |

## Supported robots

| Robot | Embodiment tag | Status | Notes |
| --- | --- | --- | --- |
| SO-101 follower | `so101_follower` | ⚑ experimental | Native training embodiment; numbers not yet locally reproduced. |
| SO-100 follower | `so100_follower` | ⚑ experimental | Shares identical 6-DoF kinematics; covered by training mixture. |

## Sensors required

| Key | Modality | Min resolution | Format |
| --- | --- | --- | --- |
| `observation.images.camera1` | RGB | 224 Γ— 224 | `float32` |
| `observation.images.camera2` | RGB | 224 Γ— 224 | `float32` |
| `observation.state`          | proprioception | (6,) | `float32` |

## Manifest summary

| Field | Value |
| --- | --- |
| `name` | `OpenRAL/rskill-molmoact2-multi-so101` |
| `version` | `0.1.0` |
| `license` | `apache-2.0` |
| `role` | `s1` |
| `embodiment_tags` | `["so100_follower", "so101_follower"]` |
| `runtime` / `quantization.dtype` | `pytorch` / `bf16` (variant `int4` = NF4, `pro_default`) |
| `weights_uri` | `hf://allenai/MolmoAct2-SO100_101@152569f` (upstream, bf16); `int4` variant: `hf://OpenRAL/rskill-molmoact2-multi-so101@85bfeb1` (NF4 pack) |
| `chunk_size` / `n_action_steps` | 10 / unset (the adapter replays the full predicted chunk) |
| `latency_budget.per_chunk_ms` | 1000 ms |
| `is_commercial_use_allowed` (derived from `license`) | `true` (Apache-2.0) |
| `image_preprocessing.image_max_crops` | `4` (secondary vision lever; processor default is 8 β€” see Memory note) |
| `image_preprocessing.norm_tag` | `"so100_so101_molmoact2"` (override via `vla.extra.norm_tag`) |

Full schema: [`openral_core.schemas.RSkillManifest`](../../python/core/src/openral_core/schemas.py).

## Quick start

```python
from openral_rskill.loader import rSkill

pkg = rSkill.from_yaml("rskills/molmoact2-so101-nf4/rskill.yaml")
print(pkg.manifest.name, pkg.manifest.version)
```

```bash
# CLI:
uv run openral rskill install OpenRAL/rskill-molmoact2-multi-so101
uv run openral rskill check                # does this host meet the requirements?
```

### Sim config snippet

```yaml
vla:
  id: molmoact2
  weights_uri: rskills/molmoact2-so101-nf4
  extra:
    # norm_tag: "so100_so101_molmoact2"  # optional; the manifest already sets it
    # image_max_crops: 6                # optional secondary lever; manifest pins 4 (see note)
```

> **Memory note (measured on an 8 GiB RTX 4070, transformers 5.x).** NF4 makes
> the model ~6.0 GiB resident (bf16 vocab embeddings + vision tower dominate;
> the nf4 Linears are ~3.5 GiB) and it peaks **~7.63 GiB** during a chunk, at
> the edge of an 8 GiB card (~7.6 GiB usable). The decisive enabler is the
> **CUDA expandable-segments allocator**: without it the first forward's
> ~1.5 GiB embedding `cat` cannot be placed contiguously and OOMs. The adapter
> defaults it to `expandable_segments:True` (via `default_expandable_segments`)
> before its first CUDA allocation, on non-Jetson hosts and only when the
> variable is unset. If other GPU work in the process allocates before the
> policy loads, export it yourself: `PYTORCH_ALLOC_CONF` on torch β‰₯2.9,
> `PYTORCH_CUDA_ALLOC_CONF` on older torch (renamed in 2.9; the old name logs a
> deprecation warning).
> `image_max_crops` (pinned to 4 here) is a *secondary* lever: it bounds the
> vision tile count but does **not** by itself decide the 8 GiB fit, and
> transformers 5.x's fast image processor largely ignores it. Leave ~0.4 GiB of
> headroom: don't run other GPU processes alongside it.

## Reproduction

```bash
just bootstrap && just sync

# Closed-loop rollout against the SO-101 box scene (NF4 weights fit an 8 GB GPU):
openral sim run --config scenes/sim/so101_tube_insertion.yaml \
                --rskill rskills/molmoact2-so101-nf4
```

Producing / refreshing the NF4 weights on the Hub (one-shot, needs a CUDA
host):

```bash
# allenai is not a trusted remote-code org, so --trust-remote-code needs the ack:
HF_TOKEN=<write-token> OPENRAL_ALLOW_REMOTE_CODE=1 uv run python tools/quantize_rskill.py \
    --source allenai/MolmoAct2-SO100_101 \
    --target OpenRAL/rskill-molmoact2-multi-so101 \
    --loader transformers --trust-remote-code
```

## Evaluation

`eval/so101.json::status` is **pending**: no locally-reproduced numbers yet,
and no SO-101 benchmark suite is registered under `benchmarks/`, so its
recorded `reproduction_cli` (`--suite so101_tabletop`) cannot run yet.

## License

This rSkill package (`rskill.yaml`, `README.md`, `eval/so101.json`) is
**Apache-2.0**. The wrapped weights at
`hf://OpenRAL/rskill-molmoact2-multi-so101` (NF4 mirror of
`allenai/MolmoAct2-SO100_101`) are also **Apache-2.0** (Ai2); commercial use
is permitted. Review the upstream LICENSE before deployment.

## See also

- [`robots/so101_follower/README.md`](../../robots/so101_follower/README.md) β€” RobotDescription manifest.
- [`robots/so100_follower/README.md`](../../robots/so100_follower/README.md) β€” SO-100 variant.
- [`scenes/sim/so101_tube_insertion.yaml`](../../scenes/sim/so101_tube_insertion.yaml) β€” SO-101 sim scene config.
- [`rskills/molmoact2-libero-nf4/README.md`](../molmoact2-libero-nf4/README.md) β€” MolmoAct2 LIBERO variant (Franka Panda).
- [CLAUDE.md Β§3](../../CLAUDE.md) β€” rSkill packaging contract.