Skip to main content

UniLab

Contract-driven infrastructure for robot learning across physics backends and hardware

Languages: English | 简体中文

CI Project Page Paper CoRL 2026 Documentation PyPI Apache-2.0 License

🎉 🎉 UniLab has been accepted to CoRL 2026! 🎉 🎉

UniLab Teaser

One task-authoring surface for locomotion, manipulation, and motion tracking.

UniLab is configurable infrastructure for robot reinforcement learning. Describe a task with Hydra, assemble it from manager terms, select a physics backend, and train or evaluate through one CLI. The same task-facing contract connects CPU, GPU, and external-worker simulation to the learner runtime.

The same framework has documented paths for Windows, Apple Silicon macOS, Linux CUDA, AMD ROCm, and Intel XPU. Backend and task maturity are evidence-graded; use the support matrix to choose a tested combination.

See policies in action on the project page, or read Why UniLab? to understand the project fit, evidence, and comparison with alternatives.

Highlights

UniLab's core idea is simple: define task semantics once as reusable configuration, then change the simulator, hardware, or learner without rewriting the task's environment lifecycle.

  • Configure, don't code. Actions, observations, rewards, terminations, events, commands, curricula, and metrics are manager terms assembled in Hydra owner YAML. Variants built from existing terms need no new environment class — often no Python code at all.
  • Change the backend, keep the workflow. Registered simulators meet the public SimBackend contract. Choose a backend with --sim; when a matching task owner exists, task authoring and train/eval stay consistent while backend-specific details remain explicit.
  • Keep solver and learner devices independent. CPU-parallel, native, or external-worker simulation can feed an accelerator learner without first becoming a CUDA-resident simulator. The learner can run on CUDA, ROCm, MPS, or XPU; the support matrix records the evidence level of each backend/task combination.
  • Accelerate replay-based off-policy training. SAC/FlashSAC lets simulation data collection overlap with learner updates. The paper reports 3–10× end-to-end gains on representative configurations; see Why UniLab for scope and measurements.

Quick start

The supported source workflow uses uv. This is the shortest path to a policy demo:

curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/unilabsim/UniLab.git
cd UniLab

make setup
# Downloads the checkpoint and assets from Hugging Face on first run.
uv run demo dance

For Windows, macOS, CUDA, ROCm, XPU, optional backends, and headless rendering, use the installation guide and quick demo guide.

Train and evaluate

# Train the g1 flat-walking task with MuJoCo and replay it.
uv run train --algo sac --task g1_walk_flat --sim mujoco
uv run eval --algo sac --task g1_walk_flat --sim mujoco --render-mode viser

# sim2sim
#   motrixsim
uv run --extra motrix eval --algo sac --task g1_walk_flat --sim motrix --render-mode interactive --load-run -1
#   newton
uv run --extra newton eval --algo sac --task g1_walk_flat --sim newton --load-run -1
#   isaacgym
bash scripts/tools/setup_isaacgym_env.sh
uv run eval --algo sac --task g1_walk_flat --sim isaacgym --load-run -1


# Train the g1 motion-tracking task with mjwarp and replay it with Genesis physics.
uv run --extra mjwarp train --algo flashsac --task g1_motion_tracking --sim mjwarp
uv run --extra genesis eval --algo flashsac --task g1_motion_tracking --sim genesis --load-run -1

The flags keep algorithm, task, and simulator choices visible. Resume, W&B, Hydra overrides, playback, backend setup, and the full command matrix belong in the training guide, backend guide, and support matrix.

Ecosystem

UniLab is designed to be a shared task and training surface for robot-specific repositories. They can ship robot recipes independently while consuming the same task, backend, and RL contracts. Current downstream examples:

Documentation

For development and contribution workflows, see the contributing guide.

Community

UniLab community QR code

Add the UniLab assistant on WeChat to join the community.

Citation

@article{jia2026unilab,
  title         = {UniLab: A Heterogeneous Architecture for Robot RL Beyond GPU-Dominant Paradigms},
  author        = {Jia, Yufei and Cao, Zhanxiang and Yu, Mingrui and Zhang, Heng and Chen, Shenyu and Jiang, Dixuan and Li, Meng and Li, Xiaofan and Liu, Yiyang and Wu, Junzhe and Li, Zheng and Fang, XiLin and Cui, Tingyu and Fu, Shengcheng and Li, Haoyang and Wang, Anqi and Wang, Zifan and Zhu, Dongjie and Cao, Chenyu and Huang, Zhenbiao and Zheng, Ziang and Lu, Jie and Ma, Xin and Wei, Zhengyang and Zhao, Xiang and Zhan, Tianyue and He, Ye and Chen, Yuxiang and Jiang, Yizhou and Li, Yue and Ge, Haizhou and Dong, Yuhang and Jia, Fan and Zhang, Ziheng and Zhang, Meng and Deng, Xiwa and Chen, Zhixing and Shao, Hanyang and Dong, Chenxin and Li, Yixuan and Chen, Yizhi and Chen, Bokui and Zhang, Kaifeng and Cui, Hanqing and Qin, Yusen and Huang, Ruqi and Han, Lei and Wang, Tiancai and Li, Xiang and Gao, Yue and Zhou, Guyue},
  journal       = {arXiv preprint arXiv:2605.30313},
  year          = {2026},
  url           = {https://arxiv.org/abs/2605.30313}
}

UniLab is released under the Apache License 2.0. See the independent UniSim repository for its own release and citation information. The RL stack (algorithms, async runtime, training logging) ships inside this repository under src/unilab/rl/; it was merged from the former unilab_rl repository, which is kept for historical reference.

Acknowledgments

UniLab would not exist without the excellent work of the Isaac Lab team and the mjlab developers and contributors. Isaac Lab's manager-based API design and abstractions, together with mjlab's clear, lightweight reference implementation, helped shape UniLab's Hydra and NumPy task authoring experience. We sincerely thank both communities for sharing their work and ideas.

Metadata

Release files for unilab 1.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unilab 1.4.0
File Size Uploaded Provenance
unilab-1.4.0.tar.gz 747.6 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for unilab 1.4.0
File Interpreter ABI Platform
unilab-1.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.6 MB

Release files / unilab-1.4.0.tar.gz

Download URL unilab-1.4.0.tar.gz
Size 747.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2e91af7cbc206ea672025d4b95a7b7494486b0a1e882cfb1cf9318c1485529a4
BLAKE2b-256 checksum
How to use checksums
255d7f13dfb45d502a05afcdea14955f15cd69f38933ab2b784a44354c2d6e1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / unilab-1.4.0-py3-none-any.whl

Download URL unilab-1.4.0-py3-none-any.whl
Size 877.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
38193a3adcfdd7c0c470f767b039d8e2fe175d555602a68400dcd716df645414
BLAKE2b-256 checksum
How to use checksums
e274ecd5acc283ba2fc99930de1bc9c36a69c26b7a366bd69a0e81939efd8747
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for unilab 1.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for unilab-1.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page