--- title: RigidFormer emoji: 🎲 colorFrom: yellow colorTo: gray sdk: gradio sdk_version: 6.31.0 app_file: app.py short_description: Learned mesh-free rigid-body dynamics with Transformers python_version: "3.12" startup_duration_timeout: 30m license: mit models: - frankzydou/RigidFormer datasets: - frankzydou/RigidFormer-MOVi --- # RigidFormer: Learning Rigid Dynamics using Transformers Demo of [RigidFormer](https://huggingface.co/papers/2605.09196) (NeurIPS 2026), an object-centric Transformer that learns multi-object rigid-body dynamics from point sets. The app rolls out the released [pretrained models](https://huggingface.co/frankzydou/RigidFormer) (MOVi-Sphere / MOVi-A / MOVi-B) on held-out MOVi test scenes next to the simulator ground truth, or on randomly generated new scenes, at step sizes 1, 5 and 10. Code: [Frank-ZY-Dou/Dynamics-Modeling](https://github.com/Frank-ZY-Dou/Dynamics-Modeling/tree/main/RigidFormer) (MIT; `src/` is vendored from it unchanged, and `flash_attn/` is a small PyTorch-SDPA stand-in for `flash_attn_func`). Attribution: scenes from the [RigidFormer-MOVi](https://huggingface.co/datasets/frankzydou/RigidFormer-MOVi) test split (CC BY 4.0, derived from HopNet's MOVi datasets by Amaury Wei and Olga Fink); object meshes are Kubric's KuBasic assets (CC BY-SA 4.0). Both are downloaded from the Hub at startup.