Downloads · 30 days
177
18% of all-time downloads
x-square-robot/wall-oss-0.5
wall-oss-0.5 is a machine learning model from x-square-robot. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
177
18% of all-time downloads
All-time downloads
982
Public
Parameters
4.2B
8.3 GB on disk
Likes
9
Public
Click a slice to open those files.
.safetensors8.3 GB · 100%
How the weights are stored.
BF164.2B · 100%
From the Hugging Face model README
We introduce Wall-OSS-0.5, an open-source 4B Vision-Language-Action (VLA) foundation model built upon a 3B VLM backbone augmented with dedicated action-generation components. While traditional VLAs are treated merely as optimization initializations, Wall-OSS-0.5 is designed so that pretrained robotic capability is directly executable and measurable on physical hardware without any downstream fine-tuning.
The model is pretrained across more than 20 distinct robot embodiments, processing over one million trajectories per epoch alongside a grounded multimodal corpus. We adopt a novel gradient-bridged co-training recipe optimizing three complementary objectives:
Wall-OSS-0.5 supports a wide variety of robot embodiments ranging from commercial platforms to open-source benchmarks, each requiring a specific norm_key configuration.:
ex_normalx2_normalnorm_keyDobbERH20TUMI-biarmagibotworld_alphaaustin_budsaustin_siriusbc_zberkeley_autolab_ur5berkeley_cable_routingberkeley_fanuc_manipulationbridge_data_v2droidfmbfractalfurniture_benchgalaxea_lerobot_v21jaco_playnyu_rotrealomin_umistanford_hydrastanford_kuka_multimodaltaco_playutaustin_mutexviolanorm_keyrobochallenge_Frankarobochallenge_UR5robochallenge_aloharobochallenge_arx5norm_keyrobocoin_aitbot_mmk2robocoin_aloharobocoin_alpha_botrobocoin_cobotrobocoin_galaxea_r1_literobocoin_lejurobocoin_realman_rmcrobocoin_ruantong_a2dnorm_keyrobomind_agilex_mobilerobomind_frankarobomind_simulationrobomind_tienkung_gellorobomind_tienkung_xsensrobomind_urrobomind_v2_0_agilexrobomind_v2_0_agilex_mobilerobomind_v2_0_arkrobomind_v2_0_ark_mobilerobomind_v2_0_frankarobomind_v2_0_franka_simrobomind_v2_0_tianyirobomind_v2_0_tianyi_mobilerobomind_v2_0_tienkungrobomind_v2_0_tienkung_simrobomind_v2_0_ur5robomind_v2_0_ur5_dex# Create conda environment
conda create --name wallx python=3.12
conda activate wallx
# Install base requirements
pip install torch torchvision transformers
pip install huggingface_hub
# Install Wall-X from GitHub
git clone https://github.com/X-Square-Robot/wall-x.git
cd wall-x
pip install -e .
For training Wall-X on your robotics datasets, please refer to our comprehensive training guide:
The training process includes:
For detailed inference examples and model evaluation:
"""Load checkpoint and run one inference with fake inputs."""
from __future__ import annotations
import sys
from pathlib import Path
import numpy as np
import torch
CHECKPOINT = "x-square-robot/wall-oss-0.5"
repo_root = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(repo_root))
import wall_x._vendor.harrix.adapters # noqa: F401
from wall_x._vendor.harrix.adapters.registry import build_adapter
from wall_x._vendor.harrix.envs.libero_common import encode_proprio
from wall_x._vendor.harrix.eval_config import EvalConfig, autofill_from_checkpoint
# 1) load model
cfg = EvalConfig()
cfg.model.checkpoint_path = CHECKPOINT
cfg.model.norm_key = "x2_normal"
cfg.model.cam_names = ["face_view", "right_wrist_view"]
cfg = autofill_from_checkpoint(cfg)
model = build_adapter(cfg)
# 2) fake input
rng = np.random.default_rng(0)
obs = {
"eef_pos": rng.normal(size=3).astype(np.float32),
"eef_axisangle": rng.normal(size=3).astype(np.float32),
"gripper": rng.normal(size=1).astype(np.float32),
"face_view": rng.integers(0, 256, (448, 448, 3), dtype=np.uint8),
"wrist_view": rng.integers(0, 256, (448, 448, 3), dtype=np.uint8),
}
instruction = "pick up the cup"
# 3) infer (return raw action chunk, shape: [horizon, action_dim])
encoded = encode_proprio(obs, model._train_config, model._action_horizon)
prefix, postfix = model._get_flow_prompt(instruction)
batch_inputs = model._construct_model_input([encoded], [prefix], [postfix])
padding = (
torch.zeros_like(model._normalizer_action.delta[batch_inputs["dataset_names"][0]])
.unsqueeze(0)
.to("cpu")
)
padding = model._normalizer_action.normalize_data(
padding, batch_inputs["dataset_names"]
).to(batch_inputs["input_ids"].device)
out = model._model.generate_flow_action(
action_horizon=model._action_horizon,
action_dim=model._action_dim,
num_inference_timesteps=model._num_inference_timesteps,
padding_action=padding,
**batch_inputs,
)
result = out["predict_action"].detach().cpu().numpy()
print("result shape:", result.shape)
print("result:", result)
For production-ready inference and evaluation scripts:
# Basic inference test
python ./scripts/fake_inference.py
# Generate open-loop comparison plots
python ./scripts/draw_openloop_plot.py
For comprehensive setup, training, and inference instructions:
The repository contains:
If you find WALL-OSS models useful, please cite:
@misc{walloss_paper_2025,
title = {WALL-OSS: Igniting VLMs toward the Embodied Space},
author = {X Square Robot},
year = {2025},
howpublished = {\url{https://x2robot.cn-wlcb.ufileos.com/wall_oss.pdf}},
note = {White paper}
}