Skip to content

Search guides, algorithms and the platform.

PlatformTrain a world model

Train a world model

About 1 minute to read

A world model learns how an environment behaves from its recordings: what it sees next, given what it saw and what was done. Train one from sessions you recorded on the platform, on one of your own GPU machines. The checkpoints stay on that machine.

You need:

  • Finished recordings of one environment (one action space). Record a session with Record on the session page, or --record from an agent run (see Compare agents).
  • A connected machine (see Connect a machine) with Python 3.10 or later and pip.

Start a run

Open Training (under World models) and click New training run.

A new training run: Dreamer, with a CartPole recording selected

  1. Model family. What kind of world model to learn:

    Family What it is Default steps Needs actions
    dreamer-wm (recommended) Latent imagination for control: a recurrent state-space model. 100,000 Yes
    iris-wm Discrete tokens and a Transformer: sample-efficient. 50,000 Yes
    diamond-wm Diffusion: sharp frames, slower to train. 50,000 Yes
    genie Playable worlds from video: learns its own actions. 20,000 No
    vae Compresses frames into a small latent code. 20,000 No
  2. Training data. Pick finished recordings. Once you pick one, only recordings of the same environment can be added. The page counts the frames and warns when episodes are shorter than the stretch the family learns from at a time: those episodes are skipped, and if none is long enough the run stops at the start.

  3. Where and how long. The machine, how many of its GPUs, and the step budget (the family's default is filled in).

Start training starts an experiment on that machine and opens its page, with the live log, Stop and Run again.

What runs on the machine

The run is an ordinary experiment. Its command:

  1. installs the Simulusion library (pip install "simulusion==1.1.0");
  2. downloads the recordings' episodes into data/, with a meta.json that describes the action space, using the experiment's PLATFORM_URL and PLATFORM_TOKEN;
  3. runs simulusion train --config <family> data.path=data trainer.max_steps=<steps> trainer.out_dir=runs.

Checkpoints are saved as it goes, under runs/ in the run's folder on the machine. Nothing is uploaded back to the platform.

Follow it

Training lists every training run with its model family, machine, status and when it started. Open one for its experiment page: the log, how long it ran, and Stop or Run again.

To train the same way from your own code instead, see the library's training guide; the platform's recordings load with EpisodeFolder once downloaded.

Was this page helpful?

Updated Nov 20, 2026