simulusion
simulusion copied to clipboard
A modular PyTorch library designed for learning, training, and deploying world models across various environments.
Papers worth implementing someday but not planned for upcoming releases. The original issues are closed and linked here so the notes survive. If you want to take one on, comment...
In `simulusion play diamond`, pressing **S** in DREAM mode should save the last N dreamed frames (default 50) as `dream_.mp4`, with the actions and predicted rewards next to it as...
Closed PR #197 added a script measuring vectorized-env throughput against a single env, but it targets `world_models/`. Port it to `simulusion/benchmarks/` and `scripts/`. **Done when** - `python scripts/benchmark_vector_env_speed.py --env CartPole-v1...
Closed PR #198 added error propagation and restarts for crashed `SimWorker` processes, but it targets the old `world_models/envs/vector_env.py`. Port it to `simulusion/envs/vector_env.py`. **Done when** - An exception inside a worker...
Genie's dynamics model masks tokens with a cosine schedule (`simulusion/models/dynamics_model.py`, around line 32). Add the Halton scheduler (Besnier et al., ICLR 2025, arXiv:2503.17076), which picks the tokens to unmask from...
Training uses hardcoded Adam/AdamW. As a first step, let the DiT task pick its optimizer: `adamw` (default) or `muon`. Muon ships in PyTorch as `torch.optim.Muon` (PyTorch 2.9+); it applies to...
`MetricsLogger` (`simulusion/utils/logging_utils.py`) can log to JSONL, TensorBoard and W&B. Add MLflow as an optional backend, mirroring how W&B is wired (`enable_wandb`, lazy import, no hard dependency). **Done when** - `enable_mlflow=True`...
`simulusion play` supports `diamond` and `dreamer` (`PLAY_MODULES` in `simulusion/cli.py`). Add `iris`, with REAL mode (env stepping, human or policy control) and DREAM mode (the world model's imagination). **Where to look**...
Add a headless way to run N real-environment episodes with a trained DIAMOND agent and report per-episode and mean return, for CI and machines without a display. `simulusion.inference.eval_diamond` already exists,...
## Description Currently, torchwm supports Atari, DMC, Mujoco, ImageNet, and CIFAR-10 datasets. This issue proposes adding support for more video game datasets: - **Terraria**: Side-scrolling sandbox game with rich environment...