Instructions to use Efficient-Large-Model/SANA-Robot-AR-RoboTwin2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Sana
How to use Efficient-Large-Model/SANA-Robot-AR-RoboTwin2.0 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-RoboTwin2.0") 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 RoboTwin 2.0
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. Chunks attend causally to earlier chunks: the softmax attention layers read the first frame and a sliding window of recent chunks, and the Gated DeltaNet layers compress every past chunk into a state of constant size, so the cost of a request does not grow with the length of the episode.
This repository holds SANA-Robot-AR post-trained on the clean demonstrations of RoboTwin 2.0.
Model details
| Property | Value |
|---|---|
| Policy | SANA-Robot-AR (policy_type: ar), 4.5B parameters |
| Robot | ALOHA-AgileX, two arms; end-effector control |
| Cameras | head 384 ร 480, two wrist cameras 192 ร 256, T-shaped layout (spatial_layout: t_shape) |
| Action chunk | 32 control steps; the video of a chunk is encoded at a frame stride of 4 |
| Memory | first frame, a sliding window of 1 chunk, and the Gated DeltaNet state over all past chunks |
| Training data | RoboTwin 2.0, 50 tasks, the 2,500 demonstrations collected in clean scenes |
| Weights | post-training step 15,000 |
| Text encoder | Gemma 2 2B (not included) |
| Video VAE | LTX-2.3 VAE, diffusers layout (not included) |
| License | Apache 2.0 |
Files
| File | Content |
|---|---|
sana_robot_ar_robotwin.pth |
policy weights: one state dict under the key state_dict; no optimizer or training state |
meta.json |
description of the training data (control frequency, cameras, robot fields) |
normalization.json |
normalization of the robot rows |
SHA256SUMS |
checksums of the three files above |
The model was trained with this normalization.json. Use it, together with meta.json, whenever you run these
weights, rather than a normalization recomputed from the data.
Results
Clean2Random protocol: the same checkpoint, trained on clean scenes only, is evaluated in clean and in
randomized scenes with the benchmark's own script/eval_policy.py, 50 tasks with 100 episodes per task and
setting. Success rate (%):
demo_clean |
demo_randomized |
Average |
|---|---|---|
| 91.84 | 73.28 | 82.56 |
Inference settings: 20 denoising steps, video guidance 6, seed 0, and a new chunk every 16 control steps
(eval/robotwin/deploy.yaml).
Usage
hf download Efficient-Large-Model/SANA-Robot-AR-RoboTwin2.0 --local-dir checkpoints/sana_robot_ar_robotwin
The policy server, the RoboTwin policy file and the evaluation commands are in eval/robotwin of the
SANA-Robot code; the fine-tuning recipe is configs/robotwin_ar.yaml.
Related models
- SANA-Robot-AR-Pretrain: the pretrained model for fine-tuning
- SANA-Robot-AR-RoboDojo
- SANA-Robot-AR-LIBERO
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
- 50
Model tree for Efficient-Large-Model/SANA-Robot-AR-RoboTwin2.0
Base model
Efficient-Large-Model/SANA-Robot-AR-Pretrain