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.
AdrianLlopart's picture
chore: publish rSkill OpenRAL/rskill-molmoact2-multi-so101 v0.1.0
aea08e5 verified
Raw History Blame Contribute Delete
9.14 kB
# rSkill manifest β€” OpenRAL packaging format V1 (CLAUDE.md Β§3 rSkill packaging)
#
# Wraps: allenai/MolmoAct2-SO100_101 (bf16 default) + its int4 variant, the NF4
# pack at OpenRAL/rskill-molmoact2-multi-so101@85bfeb1 (tools/quantize_rskill.py)
# Base: allenai/MolmoAct2 (Ai2, Molmo2-ER VLM + flow-matching action expert) β€”
# arXiv:2605.02881
#
# Why an NF4 variant: bf16 (~5.5B params, ~11 GiB) OOMs an 8 GiB GPU. NF4 on every
# Linear >=4M elements brings it to ~3.5 GiB. Under OpenRAL Pro the adapter loads the
# variant's pre-quantized pack via `load_prequantized_state_for_rskill` (no
# on-the-fly quant cost at startup); open loads the bf16 default.
#
# 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="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: 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 Β§3 VLA license matrix): Apache-2.0, code + weights, fully open Ai2
# release. Commercial use permitted.
# ── Identity ───────────────────────────────────────────────────────────────
schema_version: "0.1"
name: "OpenRAL/rskill-molmoact2-multi-so101"
version: "0.1.0"
license: "apache-2.0"
role: "s1"
kind: "vla" # rSkill kind discriminator. "vla" = learnable Vision-Language-Action policy.
# ── Policy identity ────────────────────────────────────────────────────────
model_family: "molmoact2"
# ── Compatibility contract ─────────────────────────────────────────────────
# MolmoAct2-SO100_101 was finetuned on a mixture of SO-100 and SO-101
# teleop data with identical 6-DoF kinematics (Feetech STS3215 servo chain).
# Both embodiment tags are claimed because the training distribution covers
# both and the 6-DoF absolute joint-position contract is identical.
embodiment_tags:
- "so100_follower"
- "so101_follower"
# MolmoAct2-SO100_101 consumes two RGB camera streams. The training data
# used overhead ("top") and side-mounted ("side") Realsense views; the
# 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"
min_width: 224
min_height: 224
- modality: "rgb"
vla_feature_key: "observation.images.camera2"
min_width: 224
min_height: 224
# Output side. For the canonical so101_follower embodiment the
# loader auto-fills n_dof + vla_action_key from robots/so101_follower/robot.yaml.
# The checkpoint emits absolute joint-position targets.
actuators_required:
- kind: "joint_position"
control_mode_semantics:
mode: "absolute"
# ── Runtime / weights ──────────────────────────────────────────────────────
runtime: "pytorch"
quantization:
# Default: bf16, the upstream checkpoint at `weights_uri` (open, ~11 GiB: a
# >=12 GiB GPU). Variant `int4` (OpenRAL Pro's pro_default, ADR-0123/0139):
# bitsandbytes NF4 (nf4 + compute_dtype bf16, every Linear with >=4M weight
# elements), pre-quantized at its own pinned `weights_uri`. The pack's
# ``quantization_metadata.json`` sentinel is what the molmoact2 adapter probes via
# ``detect_prequantized_nf4`` and loads via ``install_prequantized_linears``.
dtype: "bf16"
backend: "pytorch"
variants:
int4:
weights_uri: "hf://OpenRAL/rskill-molmoact2-multi-so101@85bfeb1e97f198d2906e3585528bdfd8ca58cfb2"
pro_default: "int4"
# Informational VRAM ceilings, used by `openral rskill check` / `openral doctor`.
# The NF4 packed weights are ~3.5 GiB and fit comfortably under the 8 GiB
# consumer-GPU ceiling. bf16 ceiling matches the base Molmo2-ER model (~5.5B
# params Γ— 2 bytes = ~11 GiB weights only; peak inference higher).
min_vram_gb:
fp32: 22.0
bf16: 11.0
int4: 4.0
weights_uri: "hf://allenai/MolmoAct2-SO100_101@152569fe57914d97be91055800035f54e250d009"
# ── Preprocessing (all knobs needed to interpret IO) ───────────────────────
# SO-100/101 teleop data is recorded upright β€” no rotation applied.
# 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"
# 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:
camera1: "top"
camera2: "side"
state_contract:
dim: 6
# ── Execution semantics ────────────────────────────────────────────────────
chunk_size: 10
# n_action_steps omitted β€” equals chunk_size (full chunk replay, MolmoAct2 default).
latency_budget:
# MolmoAct2's adaptive-depth reasoning runs a single action call in ~180 ms
# (base) to ~790 ms (with depth reasoning); a half-chunk replan budget of
# 1000 ms leaves headroom for the flow-matching sampling (10 steps default).
per_chunk_ms: 1000.0
# ── Provenance ─────────────────────────────────────────────────────────────
paper_url: "https://arxiv.org/abs/2605.02881"
source_repo: "hf://allenai/MolmoAct2-SO100_101@152569fe57914d97be91055800035f54e250d009" # the revision its NF4 pack was built from (quantization_metadata.json); also the bf16 default
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).
# Action vocabulary surfaced to the reasoner LLM tool palette so it
# can pick this skill by what it does (action verb + object + scene), not just
# by its slug.
actions:
- "pick"
- "place"
- "pick_and_place"
- "grasp"
objects: []
scenes:
- "tabletop"
# Per-checkpoint action contract (consumed by the dataset bridge to
# bind the LeRobot v3 `action` feature shape). SO-100/101 uses a 6-D absolute
# joint-position action (5 arm joints + 1 gripper).
action_contract:
dim: 6
# SO-101 emits absolute joint positions (5 arm joints + 1 gripper).
representation: "joint_positions"
# EXPLICIT joint units β€” trained on LeRobot SO-100/101 teleop, which records in
# 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 rskill-smolvla-so101-eraser_place 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.0