Robotics
Transformers
English
OpenRAL
rskill
molmoact2
vision-language-action
franka_panda
rskill-kind:vla
rskill-role:s1
embodiment:franka_panda
rskill-license:apache-2.0
nf4
4-bit precision
vla
libero
manipulation
Run this model with HF Jobs
Run OpenRAL/rskill-molmoact2-franka_panda-libero_spatial 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-franka_panda-libero_spatial. 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-franka_panda-libero_spatial 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-franka_panda-libero_spatial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenRAL/rskill-molmoact2-franka_panda-libero_spatial with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenRAL/rskill-molmoact2-franka_panda-libero_spatial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Sync rSkill files from OpenRAL/openral@466e89dae (3 file(s))
Browse filesFiles changed (3)
- README.md+32-32
- eval/libero.json+1-1
- rskill.yaml+28-24
10 unmodified lines11121314151617141516171819202122232426 unmodified lines515253545455565715 unmodified lines73747576777879808182837677787980818283848586878889899091929310 unmodified lines10410510610610710810911010710810911011111211311431 unmodified lines14614714814814915015115215 unmodified lines1681691701701711721731731741741751761771781791801811811821831841851 unmodified line1871881891891901911921931901911921931941951964 unmodified lines2012022032042052042052062072081 unmodified line21021121221321310 unmodified lines- nf4- 4-bit- franka_panda- transformers- vla- libero- manipulation- rskill-kind:vla- rskill-role:s1- embodiment:franka_panda- rskill-license:apache-2.0- transformers- vla- libero- manipulationbase_model:- allenai/MolmoAct2-LIBERObase_model_relation: quantized26 unmodified linesThis package wraps `hf://OpenRAL/rskill-molmoact2-franka_panda-libero_spatial-nf4` (anNF4-quantized mirror of `allenai/MolmoAct2-LIBERO`) 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.
## What this skill does15 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 (ordered `[agentview, wrist]`) plus an 8-D proprio state goin; an `(n_action_steps, 7)` end-effector action chunk comes out — sliced fromthe checkpoint's padded 32-D action down to the embodiment's 7-D — replayed onestep at a time and re-inferred when the queue empties. The chunk length is thecheckpoint's `action_horizon` (LIBERO = 10). Images are rotated 180° and the`camera1`/`camera2` scene keys are aliased to the model's `image`/`image2``camera1`/`camera2` scene keys are aliased to the model's `image`/`wrist_image`input features.
Verified end-to-end on a single 8 GB RTX 4070 (LIBERO-Spatial task 0, NF4):10 unmodified lines
## Upstream model / training
The wrapped weights come from Ai2's `allenai/MolmoAct2-LIBERO` checkpoint —the base `allenai/MolmoAct2` foundation model finetuned on the full LIBEROtraining mixture (Spatial + Object + Goal + Long). This rSkill repackages anNF4-quantized mirror of those weights; it does **not** retrain or copy thefull-precision weights.The weights come from Ai2's `allenai/MolmoAct2-LIBERO`: the base`allenai/MolmoAct2` foundation model finetuned on the full LIBERO trainingmixture (Spatial + Object + Goal + Long). This rSkill repackages anNF4-quantized mirror; it does **not** retrain or copy the full-precisionweights.
| Field | Value || --- | --- |31 unmodified lines| `weights_uri` | `hf://OpenRAL/rskill-molmoact2-franka_panda-libero_spatial-nf4` || `chunk_size` / `n_action_steps` | 10 / 10 (= checkpoint `action_horizon`) || `latency_budget.per_chunk_ms` | 1000 ms (flow-matching sampling; measured ~80–90 ms/step NF4) || `commercial_use_allowed` | `true` (Apache-2.0) || `is_commercial_use_allowed` (derived from `license`) | `true` (Apache-2.0) |
Full schema: [`openral_core.schemas.RSkillManifest`](../../python/core/src/openral_core/schemas.py).
15 unmodified lines## Reproduction
```bashjust bootstrap && uv sync --all-packages --group liberojust bootstrap && just sync --group libero
# LIBERO-Spatial closed-loop rollout (NF4 weights fit an 8 GB GPU):openral sim run --config scenes/benchmark/libero_spatial.yaml --rskill rskills/molmoact2-libero-nf4 \ --rskill rskills/molmoact2-libero-nf4openral sim run --config scenes/sim/libero_spatial.yaml --rskill rskills/molmoact2-libero-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-LIBERO \ --target OpenRAL/rskill-molmoact2-franka_panda-libero_spatial-nf4 \ --loader transformers --trust-remote-code1 unmodified line
## Evaluation
`eval/libero.json::status` is **pending** — the success rates carried thereare the paper-cited numbers (`reproduced_locally: false`), not a localreproduction. The reproduction command is recorded in`eval/libero.json::source.reproduction_cli`. A full local rerun needs a GPUand is documented but not yet run.`eval/libero.json::status` is **pending**: its success rates are paper-cited(`reproduced_locally: false`). Reproduce with`openral benchmark run --suite libero_spatial --rskill molmoact2-libero-nf4`; afull local rerun needs a GPU and has not been run yet.
| Benchmark | Score | `reproduced_locally` | Config || --- | --- | --- | --- |4 unmodified linesThis rSkill package (`rskill.yaml`, `README.md`, `eval/libero.json`) is**Apache-2.0**. The wrapped weights at`hf://OpenRAL/rskill-molmoact2-franka_panda-libero_spatial-nf4` (NF4 mirror of`allenai/MolmoAct2-LIBERO`) are also released under **Apache-2.0** by Ai2 —commercial use is permitted; review the upstream LICENSE before deployment.`allenai/MolmoAct2-LIBERO`) are also **Apache-2.0** (Ai2); commercial useis permitted. Review the upstream LICENSE before deployment.
## See also
1 unmodified line- [`scenes/benchmark/libero_spatial.yaml`](../../scenes/benchmark/libero_spatial.yaml) — canonical LIBERO-Spatial BenchmarkScene (pass `--rskill rskills/molmoact2-libero-nf4`).- [`rskills/pi05-libero-int8/README.md`](../pi05-libero-int8/README.md) — π0.5 LIBERO alternative (the model MolmoAct2 outperforms).- [`rskills/smolvla-libero/README.md`](../smolvla-libero/README.md) — Apache-2.0 LIBERO alternative.- [CLAUDE.md §6.4](../../CLAUDE.md) — rSkill packaging contract.- [CLAUDE.md §3](../../CLAUDE.md) — rSkill packaging contract.10 unmodified lines111213141415161710 unmodified lines "reproduction_planned": "Requires a CUDA host; ~hours per LIBERO suite. Paper numbers stay until a full repro run lands.", "reproduction_cli": { "description": "Re-run this benchmark inside the OpenRAL repo. openral benchmark run is the canonical producer of RSkillEvalResult JSONs with reproduced_locally=true.", "command": "openral benchmark run --suite libero_spatial --rskill molmoact2-libero", "command": "openral benchmark run --suite libero_spatial --rskill molmoact2-libero-nf4", "status": "in-tree (libero_spatial); MolmoAct2 is ~5.5B params so a full LIBERO sweep needs a GPU host", "notes": [ "The 'results' block is the paper snapshot (reproduced_locally=false); re-running the command above and overwriting the file with its output flips that flag.",1123456345678910111213141589101112171819201314151617222324181920212231 unmodified lines5455565758596061626318 unmodified lines82838486878586878889909192939192949596979844 unmodified lines143144145146147148149# 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-franka_panda-libero_spatial-nf4 (NF4-quantized from# allenai/MolmoAct2-LIBERO via tools/quantize_rskill.py)# Base: allenai/MolmoAct2 (Ai2 action reasoning model, Molmo2-ER VLM +# flow-matching action expert) — arXiv:2605.02881# Wraps: OpenRAL/rskill-molmoact2-franka_panda-libero_spatial-nf4# (NF4-quantized from allenai/MolmoAct2-LIBERO via tools/quantize_rskill.py)# 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, verified bit-exact) — 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, verified bit-exact) —# NOT trust_remote_code. `source_repo` supplies only config + processor +# norm_stats.json.## 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"31 unmodified lines - kind: "joint_position" control_mode_semantics: mode: "absolute" - kind: "gripper_position" control_mode_semantics: mode: "absolute" gripper_convention: "normalized_close_symmetric"
# ── Runtime / weights ──────────────────────────────────────────────────────runtime: "pytorch"18 unmodified linesprocessors: preprocessor_uri: "hf://OpenRAL/rskill-molmoact2-franka_panda-libero_spatial-nf4/policy_preprocessor.json" postprocessor_uri: "hf://OpenRAL/rskill-molmoact2-franka_panda-libero_spatial-nf4/policy_postprocessor.json"# Default LIBERO image preprocessing (180° rotation + camera1/2 alias remap# to image/image2) and the canonical LIBERO 8-D proprio state.# Default LIBERO image preprocessing (180° rotation) and the canonical LIBERO# 8-D proprio state.image_preprocessing: flip_180: true # Slot -> checkpoint camera key. predict_action takes images positionally; # the adapter orders the slots by the checkpoint's norm_stats.json # `camera_keys` for the norm tag (libero: observation.images.image, # observation.images.wrist_image). aliases: top: "image" wrist: "image2" camera1: "image" camera2: "wrist_image"state_contract: dim: 8
44 unmodified lines# bind the LeRobot v3 `action` feature shape). LIBERO Franka uses a 7-D# end-effector action (6-DoF delta pose + gripper).action_contract: cartesian_delta_scale: [0.05, 0.05, 0.05, 0.5, 0.5, 0.5] dim: 7 # LIBERO action space is 6-D OSC end-effector delta + gripper. representation: "delta_ee_6d_plus_gripper"README.md+32-32
eval/libero.json+1-1
rskill.yaml+28-24