Instructions to use Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Sana
How to use Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot with Sana:
# Load the model and infer image from text import torch from app.sana_pipeline import SanaPipeline from torchvision.utils import save_image sana = SanaPipeline("configs/sana_config/1024ms/Sana_1600M_img1024.yaml") sana.from_pretrained("hf://Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot") image = sana( prompt='a cyberpunk cat with a neon sign that says "Sana"', height=1024, width=1024, guidance_scale=5.0, pag_guidance_scale=2.0, num_inference_steps=18, ) - Notebooks
- Google Colab
- Kaggle
SANA-Robot-AR LIBERO (LeRobot format)
SANA-Robot-AR-LIBERO in the
LeRobot format, for the sana_robot policy. The weights are those of
the original repository, unchanged; see its model card for the model, the training data and the results of the
original evaluation.
SANA-Robot is an efficient world action model: from the current multi-view observation, the proprioception and a language instruction it predicts a chunk of 32 actions together with the future video. SANA-Robot-AR adds a hybrid memory over the visual history of the episode.
Project page · Paper · Code
Files
| File | Content |
|---|---|
config.json |
the sana_robot policy config: the cameras, the robot slots, the prompt fields, the control frequency and the sampling settings of this checkpoint |
model.safetensors |
policy weights (EMA), FP32 |
policy_preprocessor*, policy_postprocessor* |
the processors, with the normalization of the state and of the actions the model was trained with |
The text encoder (Gemma 2 2B, gated) and the video VAE (LTX-2.3 VAE) are not included; LeRobot downloads them at the revisions the config names.
Usage
The sana_robot policy is proposed in huggingface/lerobot#5488.
pip install -e ".[sana_robot,libero]"
lerobot-eval --policy.path=Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot \
--policy.device=cuda \
--env.type=libero --env.task=libero_spatial \
--env.obs_type=pixels_agent_pos_joints --env.control_mode=absolute \
--env.observation_height=256 --env.observation_width=256 \
--eval.batch_size=1 --eval.n_episodes=50
from lerobot.policies import make_pre_post_processors
from lerobot.policies.sana_robot.modeling_sana_robot import SanaRobotPolicy
checkpoint = "Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot"
policy = SanaRobotPolicy.from_pretrained(checkpoint)
preprocess, postprocess = make_pre_post_processors(policy.config, pretrained_path=checkpoint)
Normalization
The processors hold the normalization this checkpoint was trained with: the Franka statistics of the pretraining
data on the joints and the flange position; the rotation and the gripper are not normalized. It is not the
normalization LeRobot computes from the LIBERO data. To reproduce this checkpoint from the pretrained weights
with lerobot-train, train with these processors:
hf download Efficient-Large-Model/SANA-Robot-AR-Pretrain-LeRobot --local-dir sana_robot_start
hf download Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot --include "policy_*processor*" \
--local-dir sana_robot_start
lerobot-train --policy.path=sana_robot_start --policy.keep_checkpoint_statistics=true ...
A fine-tune on your own data computes its normalization from your dataset by default.
Results with lerobot-eval
LIBERO-Plus, all 10,030 task variants once, with LeRobot's step limits (280 / 280 / 300 / 520), 2 denoising steps, no guidance and a new chunk every 16 control steps:
| Spatial | Object | Goal | Long | Total |
|---|---|---|---|---|
| 94.84 | 97.02 | 87.19 | 93.65 | 93.11 |
Intended use and limitations
The model is intended for research on robot manipulation policies. It was post-trained on simulated demonstrations of one benchmark and one robot; other robots, cameras, tasks or scenes need fine-tuning. A learned policy can fail without warning: on a physical robot, run it only with workspace limits, speed limits and a person at the stop button.
Citation
@article{zhao2026sanarobot,
title={SANA-Robot: Efficient World Action Model with Hybrid Memory},
author={Zhao, Yuyang and Li, Zekai and Pan, Yicheng and Tang, Jiaming and Zhang, Zhuoyang and Xing, Jiaxu and Reuss, Moritz and Peng, Quanquan and Chen, Junsong and Xie, Enze and Liu, Zhijian and Han, Song},
year={2026}
}
- Downloads last month
- -
Model tree for Efficient-Large-Model/SANA-Robot-AR-LIBERO-LeRobot
Base model
Efficient-Large-Model/SANA-Robot-AR-LIBERO