Stable Library for evaluate and conduct world model research
Project description
stable-worldmodel
World Models Research Made Simple
Overview
Stable World Model provides a streamlined framework for conducting world model research with reproducible data collection, flexible model training, and comprehensive evaluation tools. Built on top of Gymnasium, it offers vectorized environments, domain randomization, and integrated support for multiple planning algorithms.
Installation
Prerequisites
- Python >= 3.10
- CUDA-compatible GPU (recommended for training)
Quick Install
Using uv (recommended):
# Install uv
pip install uv
# Clone and install
git clone https://github.com/rbalestr-lab/stable-worldmodel.git
cd stable-worldmodel
uv pip install -e .
Using pip:
git clone https://github.com/rbalestr-lab/stable-worldmodel.git
cd stable-worldmodel
pip install -e .
Development Installation
For contributors and researchers developing new features:
uv pip install -e ".[dev,docs]"
This includes testing tools (pytest, coverage) and documentation generators (sphinx).
Architecture
stable_worldmodel/
├── envs/ # Gymnasium environments
│ ├── pusht.py
│ ├── simple_point_maze.py
│ ├── two_room.py
│ └── ogbench_cube.py
├── solver/ # Planning algorithms
│ ├── cem.py # Cross-Entropy Method
│ ├── mppi.py # Model Predictive Path Integral
│ ├── gd.py # Gradient Descent
│ └── nevergrad.py # Nevergrad
├── wm/ # World model architectures
│ ├── dinowm.py # DINO World Model
│ ├── dreamer.py # Dreamer
│ └── tdmpc.py # Temporal Difference MPC
├── policy.py
├── spaces.py # Extended Gymnasium spaces
├── world.py
├── data.py
└── utils.py
Testing
We maintain high test coverage to ensure reliability:
# Run all tests
pytest
# Run with coverage report
pytest --cov=stable_worldmodel --cov-report=term-missing
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stable_worldmodel-0.0.1b0.tar.gz.
File metadata
- Download URL: stable_worldmodel-0.0.1b0.tar.gz
- Upload date:
- Size: 336.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f3f71e918ab6697365b6e46549d71714234333e1e3469d6b49667fdb7212158
|
|
| MD5 |
e611bef56c765f53b0638991c50a13fa
|
|
| BLAKE2b-256 |
f00d4d4e5228dc00461df93572031bacd03e942ef694415b5264a02c4469e740
|
File details
Details for the file stable_worldmodel-0.0.1b0-py3-none-any.whl.
File metadata
- Download URL: stable_worldmodel-0.0.1b0-py3-none-any.whl
- Upload date:
- Size: 139.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9ddbe30ba5904a16285153223168d810c9f3162624396cdcad56f96597ee1f4
|
|
| MD5 |
7dd0ded5e7f65716cb5a2eb65c237656
|
|
| BLAKE2b-256 |
60b3ee23818cadf245e116bd32e7e632beb52daf928432c60c56a18a58c0c64d
|