Robotics
Transformers
English
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 precision
vla
so101
so100
manipulation
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.
Instructions to use OpenRAL/rskill-molmoact2-multi-so101 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenRAL/rskill-molmoact2-multi-so101 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenRAL/rskill-molmoact2-multi-so101", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Sync rSkill files from OpenRAL/openral@466e89dae (2 file(s))
Browse filesFiles changed (2)
- README.md+59-59
- rskill.yaml+46-52
11 unmodified lines12131415161718191516171819202122232425262725 unmodified lines535455565657585960616263596061626364656614 unmodified lines8182838485868788899091848586878889909192939495969697989798991001011021051061031041051081091061071081091101131141151161171111121131141151161171183 unmodified lines12212312412712512612712821 unmodified lines15015115215515315415715515615915715815916019 unmodified lines1801811821851831841851861871901911921931941951961971981992002012021881891901911921931941951961971981992002012022032042052062072072082092102112122112122132142152162172182192192202212221 unmodified line2242252262272282292272282292302312322332342352362372362372382392401 unmodified line24224324424524511 unmodified lines- 4-bit- so100_follower- so101_follower- transformers- vla- so101- so100- manipulation- rskill-kind:vla- rskill-role:s1- embodiment:so100_follower- embodiment:so101_follower- rskill-license:apache-2.0- transformers- vla- so101- so100- manipulationbase_model:- allenai/MolmoAct2-SO100_101base_model_relation: quantized25 unmodified linesThis package wraps `hf://OpenRAL/rskill-molmoact2-multi-so101-nf4` (anNF4-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 β theyand local registry integration. It does **not** copy model weights; theylive on the Hub.
> **Required sim config knob:** this checkpoint uses normalization statistics> tagged `"so100_so101_molmoact2"`. Any `SimEnvironment` config that drives> this rSkill must set `vla.extra.norm_tag: "so100_so101_molmoact2"` β> omitting it silently applies the adapter's default `"libero"` norm stats and> produces garbage actions.> **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.
## What this skill does
14 unmodified lines
MolmoAct2 grafts a modern DiT-style flow-matching continuous-action expertonto the Molmo2-ER discrete-token VLM via per-layer KV-cache conditioning(arXiv:2605.02881). It ships as a transformers **custom-code** model(`trust_remote_code`, `auto_map` β `MolmoAct2ForConditionalGeneration`), not alerobot policy. The OpenRAL `molmoact2` adapter(`python/sim/src/openral_sim/policies/molmoact2.py`) loads it via`AutoModelForImageTextToText.from_pretrained` + `AutoProcessor` from themanifest's `source_repo`, NF4-quantizes every Linear with β₯4M weight elementsvia bitsandbytes, overlays the prequantized pack from `weights_uri`, then drivesit through the checkpoint's own `predict_action(...)` continuous-action API. Two(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 fromlerobot 0.6.0's vendored in-tree `MolmoAct2ForConditionalGeneration` and`MolmoAct2Processor` (config, processor and `norm_stats.json` from themanifest's `source_repo`), so no remote code executes and`OPENRAL_ALLOW_REMOTE_CODE` is not needed. It NF4-quantizes the model viabitsandbytes, overlays the prequantized pack from `weights_uri`, then drives itthrough the checkpoint's own `predict_action(...)` continuous-action API. TwoRGB camera streams plus a 6-D proprio state go in; a `(chunk_size, 6)` absolutejoint-position chunk comes out, replayed one step at a time and re-inferredwhen the queue empties.
The adapter reads `norm_tag` from `vla.extra.norm_tag`; this rSkill requires`"so100_so101_molmoact2"` β set it explicitly in every `SimEnvironment` config.
### 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 (rad) || out | action chunk | `(10, 6)` float32 | absolute joint-position targets || 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 (for `so101_box` scene):** `oak_top β top`, `wrist β side`.Override per-scene via `vla.extra` if your scene uses different camera names.**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 wrapped weights come from Ai2's `allenai/MolmoAct2-SO100_101` checkpoint βthe base `allenai/MolmoAct2` foundation model finetuned on the SO-100/SO-101teleop dataset mixture with absolute joint-pose control and annotated languageinstructions. This rSkill repackages an NF4-quantized mirror of those weights;it does **not** retrain or copy the full-precision weights.The weights come from Ai2's `allenai/MolmoAct2-SO100_101`: the base`allenai/MolmoAct2` foundation model finetuned on the SO-100/SO-101 teleopmixture with absolute joint-pose control and annotated language instructions.This rSkill repackages an NF4-quantized mirror; it does **not** retrain or copythe full-precision weights.
| Field | Value || --- | --- |3 unmodified lines| 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"` β **required** in `vla.extra.norm_tag` || norm_tag | `"so100_so101_molmoact2"` β set in the manifest's `image_preprocessing` |
## Supported robots
21 unmodified lines| `embodiment_tags` | `["so100_follower", "so101_follower"]` || `runtime` / `quantization.dtype` | `pytorch` / `int4` (NF4) || `weights_uri` | `hf://OpenRAL/rskill-molmoact2-multi-so101-nf4` || `chunk_size` / `n_action_steps` | 10 / 10 (full chunk replay) || `chunk_size` / `n_action_steps` | 10 / unset (the adapter replays the full predicted chunk) || `latency_budget.per_chunk_ms` | 1000 ms || `commercial_use_allowed` | `true` (Apache-2.0) || `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) || **`norm_tag` (vla.extra)** | **`"so100_so101_molmoact2"` β required** || `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).
19 unmodified lines id: molmoact2 weights_uri: rskills/molmoact2-so101-nf4 extra: norm_tag: "so100_so101_molmoact2" # REQUIRED β default "libero" is wrong for this checkpoint # 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 (the bf16 vocab embeddings + vision tower> dominate; the nf4 Linears are ~3.5 GiB) and it peaks **~7.63 GiB** during a> chunk β right at the edge of an 8 GiB card (which exposes only ~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 molmoact2 adapter turns this on automatically> (`PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`, via> `_enable_expandable_segments`) before its first CUDA allocation; export it> yourself if other GPU work in the process allocates before the policy loads.> `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 on these> checkpoints, 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.> 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
```bashjust bootstrap && uv sync --all-packagesjust 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 \ --vla.extra.norm_tag so100_so101_molmoact2 --rskill rskills/molmoact2-so101-nf4```
Producing / refreshing the NF4 weights on the Hub (one-shot, needs a CUDAhost):
```bash# allenai is not a trusted remote-code org, so --trust-remote-code needs the ack:HF_TOKEN=<write-token> uv run python tools/quantize_rskill.py \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-nf4 \ --loader transformers --trust-remote-code1 unmodified line
## Evaluation
`eval/so101.json::status` is **pending** β no locally-reproduced benchmarknumbers are available yet. Run the reproduction command in`eval/so101.json::source.reproduction_cli` to populate.`eval/so101.json::status` is **pending**: no locally-reproduced numbers yet,and no SO-101 benchmark suite is registered under `benchmarks/`, so itsrecorded `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` (NF4 mirror of`allenai/MolmoAct2-SO100_101`) are also released under **Apache-2.0** by Ai2 βcommercial use is permitted; review the upstream LICENSE before deployment.`allenai/MolmoAct2-SO100_101`) are also **Apache-2.0** (Ai2); commercial useis permitted. Review the upstream LICENSE before deployment.
## See also
1 unmodified line- [`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 Β§6.4](../../CLAUDE.md) β rSkill packaging contract.- [CLAUDE.md Β§3](../../CLAUDE.md) β rSkill packaging contract.11234565678910111213141589101112171819201314151617222324252618192021222829303132333435363738232425262728293031404142323334353617 unmodified lines5455566667575859606137 unmodified lines9910010111111211310210310410510610710811711811912012112212312412512610911011111211311411511611711812913011912012112212340 unmodified lines164165166177167168169170171172# rSkill manifest β OpenRAL packaging format V1 (CLAUDE.md Β§6.4)# rSkill manifest β OpenRAL packaging format V1 (CLAUDE.md Β§3 rSkill packaging)## Wraps: OpenRAL/rskill-molmoact2-multi-so101-nf4 (NF4-quantized from# allenai/MolmoAct2-SO100_101 via tools/quantize_rskill.py)# Base: allenai/MolmoAct2 (Ai2 action reasoning model, Molmo2-ER VLM +# flow-matching action expert) β arXiv:2605.02881# Base: allenai/MolmoAct2 (Ai2, Molmo2-ER VLM + flow-matching action expert) β# arXiv:2605.02881## Why NF4: bf16 MolmoAct2 (~5.5 B params, ~11 GiB) OOMs an 8 GiB consumer# GPU. NF4 quantization of every Linear with >=4M weight elements brings# the working set to ~3.5 GiB, comfortably under the 8 GiB ceiling while# preserving paper-faithful behaviour (Molmo2-ER backbone + DiT-style# action expert). The OpenRAL molmoact2 adapter detects the upstream# repo's quantization_metadata.json sentinel and loads the pre-quantized# weights via load_prequantized_state_for_rskill (no on-the-fly# quantization cost at startup).# Why NF4: bf16 (~5.5B params, ~11 GiB) OOMs an 8 GiB GPU. NF4 on every Linear# >=4M elements brings it to ~3.5 GiB. Adapter detects the upstream# `quantization_metadata.json` sentinel and loads pre-quantized weights via# `load_prequantized_state_for_rskill` (no on-the-fly quant cost at startup).## Provenance (lerobot 0.6.0): the model graph is built from lerobot's in-tree# MolmoAct2ForConditionalGeneration class (this NF4 pack loads into it# key-for-key) β NOT via a trust_remote_code AutoModel. source_repo below# supplies only the config + processor + norm_stats.json.# Provenance (lerobot 0.6.0): model graph built from lerobot's in-tree# `MolmoAct2ForConditionalGeneration` (loads key-for-key) β NOT# trust_remote_code. `source_repo` supplies only config + processor +# norm_stats.json.## norm_tag: this checkpoint requires norm_tag="so100_so101_molmoact2" (the# adapter's bare default is "libero", which this checkpoint rejects). It is# declared below under image_preprocessing.norm_tag and propagated to the# adapter by resolve_image_preprocessing, so SimEnvironment configs need NOT# set it β a SimEnvironment YAML may still override it via vla.extra.norm_tag.# norm_tag="so100_so101_molmoact2" is REQUIRED (adapter default "libero" is# rejected by this checkpoint); declared under image_preprocessing.norm_tag,# propagated via resolve_image_preprocessing β overridable via# vla.extra.norm_tag.## UNITS β degrees: this checkpoint was trained on LeRobot SO-100/101 teleop# recorded in joint DEGREES (norm_stats.json spans Β±270, control_mode# "absolute joint pose"). MuJoCo scenes are radian-native, so a sim config# driving this rSkill MUST select the degree convention, e.g. the so101_box# scene's `scene.backend_options.joint_units: degrees`. The env then converts# its proprio state (radβdeg) and the returned action (degβrad) at the policy# boundary. NOTE: the LeRobot SO-101 servo-degree calibration does not share a# zero with the MuJoCo `so101_new_calib` URDF (e.g. trained shoulder_lift sits# ~45β186Β°, the MJCF joint maxes at 100Β°), so a units conversion alone aligns# magnitudes but not the per-joint zero reference; full task fidelity needs the# dataset's calibration offsets. See scenes/sim/so101_tube_insertion.yaml.# UNITS β degrees: trained on LeRobot SO-100/101 teleop in joint DEGREES# (norm_stats.json spans Β±270, "absolute joint pose"). MuJoCo is radian-native,# so a sim config MUST select `joint_units: degrees` (e.g. so101_box scene);# env converts rad<->deg at the boundary. The LeRobot SO-101 servo-degree# calibration does NOT share a zero with the MuJoCo `so101_new_calib` URDF# (trained shoulder_lift ~45-186 deg vs MJCF max 100 deg) β a units conversion# alone doesn't fix the zero reference; full fidelity needs the dataset's# calibration offsets. See scenes/sim/so101_tube_insertion.yaml.## LICENSE (CLAUDE.md Β§7.4): Apache-2.0 (code + weights). MolmoAct2 is a# fully open release from Ai2 β weights, training code, and data are all# Apache-2.0. Commercial use is permitted.# LICENSE (CLAUDE.md Β§3 VLA license matrix): Apache-2.0, code + weights, fully open Ai2# release. Commercial use permitted.
# ββ Identity βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββschema_version: "0.1"17 unmodified lines
# MolmoAct2-SO100_101 consumes two RGB camera streams. The training data# used overhead ("top") and side-mounted ("side") Realsense views; the# aliases below map from the canonical SO101 scene camera names to the# model's expected feature keys.# aliases below map the VLA slots (camera1 = SO101 `top`, camera2 = `wrist`)# to the model's view names.sensors_required: - modality: "rgb" vla_feature_key: "observation.images.camera1"37 unmodified lines preprocessor_uri: "hf://OpenRAL/rskill-molmoact2-multi-so101-nf4/policy_preprocessor.json" postprocessor_uri: "hf://OpenRAL/rskill-molmoact2-multi-so101-nf4/policy_postprocessor.json"# SO-100/101 teleop data is recorded upright β no rotation applied.# Aliases map from canonical SO101 scene camera keys (so101_box scene emits# ``oak_top`` + ``wrist``) to the model's training feature keys (``top`` /# ``side``). Adjust per-scene in vla.extra if your camera names differ.# Aliases map the VLA slots (camera1 / camera2) to the model's training view# names (``top`` / ``side``); override per rollout via vla.extra.camera_aliases.# The checkpoint's norm_stats.json records no camera order for this norm tag,# so the adapter keeps slot order (camera1, camera2).image_preprocessing: flip_180: false norm_tag: "so100_so101_molmoact2" # Secondary activation lever: caps the image processor's tile count (each extra # 378px crop adds ~182 pooled image tokens with quadratic attention cost). # MEASURED on an 8 GiB RTX 4070 (transformers 5.x): this does NOT by itself # decide the 8 GiB fit β the inference peak (~7.63 GiB) is set by the LM token # embedding, not the vision crops, and transformers 5.x's fast image processor # does not honour max_crops the way the slow one did. The actual 8 GiB enabler # is the CUDA expandable-segments allocator, which the molmoact2 adapter turns # on automatically (see policies/molmoact2.py::_enable_expandable_segments). # The pin is kept conservative for the slow-processor path / larger frames; # raise it via vla.extra.image_max_crops if you have VRAM headroom. # Caps image-processor tile count (each extra 378px crop adds ~182 pooled # tokens, quadratic attention cost). NOT what decides the 8 GiB fit though β # measured (RTX 4070, transformers 5.x) inference peak (~7.63 GiB) is set by # the LM token embedding, and the fast image processor ignores max_crops # anyway; the actual 8 GiB enabler is the CUDA expandable-segments allocator # the adapter defaults on non-Jetson hosts when unset (default_expandable_segments). Kept # conservative for the slow-processor path; raise via vla.extra.image_max_crops. image_max_crops: 4 # Slot-keyed; see the note above image_preprocessing. aliases: top: "top" wrist: "side" camera1: "top" camera2: "side"state_contract: dim: 6
40 unmodified lines # DEGREES (verified from norm_stats.json metadata_by_tag/so100_so101_molmoact2: # state_stats span β270β¦+250, q99β185 β far outside radians). The runner # converts degβrad at the policy boundary; see the header UNITS note. Same # convention as the smolvla-so101-pen reference. # convention as the rskill-smolvla-so101-eraser_place-bf16 reference. joint_units: "degrees" # Gripper is the LeRobot SO-ARM [0, 100] motor range, not an angle (norm_stats # so100_so101_molmoact2 gripper: q01=0.94, q99=44.1, max=118), while the HAL # contract is a normalized [0, 1] jaw fraction. Same as the SmolVLA SO-101 ref. gripper_scale: 100.0README.md+59-59
rskill.yaml+46-52