simulusion
A library for training and comparing world models through a shared PyTorch API.
What does it do?
After installing it from PyPI, use the shared API to create models, configurations, and environments and train model families such as Dreamer, PlaNet, and JEPA. If needed, combine encoders, decoders, and latent dynamics components to build a custom architecture. Runs for different algorithms use a shared Trainer and YAML configuration, with evaluation and checkpoints managed in the same way. Each run records its resolved configuration file, package versions, and other information, and an example script creates comparison graphs. Trained models can be exported in ONNX, TorchScript, or TensorRT format.
Key features
- Creates and trains world model families including Dreamer, PlaNet, and JEPA through a shared API.
- Manages evaluation, resuming, and checkpoints with a shared Trainer and YAML configuration.
- Records resolved configurations and package versions for each run and creates comparison graphs with an example script.
- Trains world models on recorded episodes and robot data converted from LeRobot.
- Uses environment adapters including Gym/Gymnasium, DeepMind Control, and MuJoCo.
- Exports models in ONNX, TorchScript, and TensorRT formats.