Skip to content

Installation ​

torch_world needs Python 3.10 or newer and PyTorch 2.1 or newer. PyTorch is its only required dependency.

bash
uv add torch_world
bash
pip install torch-world
bash
git clone <repository-url> pytorch-world
cd pytorch-world
uv sync

Optional extras ​

extrainstallsfor
examplesmatplotlibtorch_world.plots and the notebooks
actionmujocothe RobotCube and PushT environments
ogbenchogbench, on Python 3.12 or earlierOGBench tasks and datasets
dmcontroldm_control, on Python 3.12 or earlierDeepMind Control Suite tasks
metaworldmetaworldMeta-World tasks
maniskillmani_skill; on Linux, x86_64 with Python 3.12 or earlierManiSkill tasks; needs a Vulkan driver
myosuitemyosuite, MuJoCo 3.7 or laterMyoSuite tasks; not with the benchmark extra
robocasapyarrow, avreading RoboCasa demonstrations; RoboCasa itself installs from source
robodojoh5pyreading RoboDojo episodes
wamdiffusers, acceleratethe pre-trained Wan 2.1 VideoVAE of DreamZero
tensorboardtensorboardlive training curves with TensorBoardMonitor
rerunrerun-sdklive curves and rollout videos with RerunMonitor
testpytestrunning the test suite
bash
pip install "torch-world[examples]"

Check the install ​

python
import torch_world

print(torch_world.__version__)

GPU

Every module and environment is plain PyTorch and runs on whatever device you move it to. Environments take a device argument and render batches directly on it.