Why Grid9
Training a world model on a consumer GPU has been hard: the usual datasets take hours to days on large GPUs before you see a single number. And one success rate does not tell you whether a model can handle different kinds of problems.
So we are releasing Grid9, a dataset built to be as easy to train on as possible while still being a real challenge. It has six 9×9 grid worlds, each adding one problem a world model has to solve. A level trains on an RTX 3060, and every model is scored by planning in the real environment, whose dynamics are known exactly, so you can check an idea in minutes and a failure points to one cause.
| Level | Dataset | What it tests |
|---|---|---|
| L0 | grid9-l0-empty | Plain movement on an empty board |
| L1 | grid9-l1-maze | Walls that force detours |
| L2 | grid9-l2-distractor | Ignoring motion the actions do not cause |
| L3 | grid9-l3-push | Pushing a block: sparse contact |
| L4 | grid9-l4-stochastic | Moves that slip half the time |
| L5 | grid9-l5-wind | A hidden wind the frame does not show |
Using it
Grid9 ships with CleanJepa, our open-source library of JEPA world models in plain PyTorch. From install to a planning score takes four commands:
git clone https://github.com/HappyFox001/CleanJepa.git && cd CleanJepa
pip install -e ".[wm]"
python recipes/train_wm.py --preset lewm --frameskip 1 --amp bf16 \
--data CleanJepa/grid9-l1-maze/grid_l1.h5 --save-dir runs/grid9_l1
python recipes/eval_grid9.py --ckpt runs/grid9_l1/epoch_10.pt --level l1
--data downloads the level from the Hugging Face Hub on first use. eval_grid9.py plans towards
goal frames in the real world and reports the success rate next to random actions on the same tasks.
Change --level and the dataset to take another level, or --preset to try another method.
Citation
If you find this work useful, please cite it as:
@misc{zhang2026first,
title = {{The First Exam For World Models}},
author = {Zhang, Qian},
year = {2026},
url = {https://happyfox.dev/blog/the-first-exam-for-world-models/},
note = {Blog post}
}