Gaia2 - Pytorch (wip)
Implementation of the world model architecture proposed for the domain of self driving out of Wayve
Install
$ pip install gaia2-pytorch
Usage
import torch
from gaia2_pytorch import VideoTokenizer, Gaia2
video = torch.randn(1, 3, 10, 16, 16)
tokenizer = VideoTokenizer()
loss = tokenizer(video)
loss.backward()
gaia2 = Gaia2(tokenizer)
loss = gaia2(video)
loss.backward()
generated = gaia2.generate((10, 16, 16))
assert generated.shape == video.shape
Contributing
$ pip install '.[test]'
Then add a test to tests and run the following
$ pytest tests
That's it
Citations
@article{Russell2025GAIA2AC,
title = {GAIA-2: A Controllable Multi-View Generative World Model for Autonomous Driving},
author = {Lloyd Russell and Anthony Hu and Lorenzo Bertoni and George Fedoseev and Jamie Shotton and Elahe Arani and Gianluca Corrado},
journal = {ArXiv},
year = {2025},
volume = {abs/2503.20523},
url = {https://api.semanticscholar.org/CorpusID:277321454}
}
@article{Rombach2021HighResolutionIS,
title = {High-Resolution Image Synthesis with Latent Diffusion Models},
author = {Robin Rombach and A. Blattmann and Dominik Lorenz and Patrick Esser and Bj{\"o}rn Ommer},
journal = {2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2021},
pages = {10674-10685},
url = {https://api.semanticscholar.org/CorpusID:245335280}
}
@article{Zhu2025FracConnectionsFE,
title = {Frac-Connections: Fractional Extension of Hyper-Connections},
author = {Defa Zhu and Hongzhi Huang and Jundong Zhou and Zihao Huang and Yutao Zeng and Banggu Wu and Qiyang Min and Xun Zhou},
journal = {ArXiv},
year = {2025},
volume = {abs/2503.14125},
url = {https://api.semanticscholar.org/CorpusID:277104144}
}
@inproceedings{Huang2025TheGI,
title = {The GAN is dead; long live the GAN! A Modern GAN Baseline},
author = {Yiwen Huang and Aaron Gokaslan and Volodymyr Kuleshov and James Tompkin},
year = {2025},
url = {https://api.semanticscholar.org/CorpusID:275405495}
}
@inproceedings{Darcet2023VisionTN,
title = {Vision Transformers Need Registers},
author = {Timoth'ee Darcet and Maxime Oquab and Julien Mairal and Piotr Bojanowski},
year = {2023},
url = {https://api.semanticscholar.org/CorpusID:263134283}
}
@misc{chen2025deepcompressionautoencoderefficient,
title = {Deep Compression Autoencoder for Efficient High-Resolution Diffusion Models},
author = {Junyu Chen and Han Cai and Junsong Chen and Enze Xie and Shang Yang and Haotian Tang and Muyang Li and Yao Lu and Song Han},
year = {2025},
eprint = {2410.10733},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
url = {https://arxiv.org/abs/2410.10733},
}
Metadata
Release files for gaia2-pytorch 0.0.33
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gaia2_pytorch-0.0.33.tar.gz | 462.4 kB | Without provenance | Details for gaia2_pytorch-0.0.33.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gaia2_pytorch-0.0.33-py3-none-any.whl | Python 3 | none | any | Details for gaia2_pytorch-0.0.33-py3-none-any.whl |
Total release size: 475.4 kB
Release files / gaia2_pytorch-0.0.33.tar.gz
| Download URL | gaia2_pytorch-0.0.33.tar.gz |
|---|---|
| Size | 462.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eebb0d2cd07f1454ef9412d4d290b8a16f422ac2b8c836dce6c7ac6b39044255
|
|
BLAKE2b-256 checksum How to use checksums |
b5ceb9998ee9729e875d8f72d3173f16ad4a17f51b42541b18bc06639b87beb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / gaia2_pytorch-0.0.33-py3-none-any.whl
| Download URL | gaia2_pytorch-0.0.33-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b349fccaf282fd2fd6db2449710b8ac9748278b408a5478ef238cc9d8e2849f1
|
|
BLAKE2b-256 checksum How to use checksums |
78688523b33977ed48ffcec3463929a0d048f8e67feda899994d909d09831eac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for gaia2-pytorch 0.0.33
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.