Practical overview
When it fits
Use it when your work involves particle-state prediction and you can supply the model's documented tensor inputs through Python and PyTorch.
Who it is for
- Researchers exploring transformer-based physical or world simulation.
- Developers building Python experiments that need predicted particle states or multi-step particle trajectories.
Documented uses
- Predict updated particle positions and velocities from a supplied particle state and force inputs.
- Generate a sequence of particle states through the model's rollout interface.
- Prototype a transformer-based approach to Lagrangian particle simulation.
Requirements & limits
The implementation is in a public GitHub repository identified as MIT-licensed. Its README documents installation as a Python package with pip.
- The documented inputs include particle and boundary data, so users need to prepare tensors for those fields.
- The README provides interface examples with random tensors but does not describe training data, model evaluation or a deployment workflow.
- The example's ten-step rollout returns eleven states when the initial state is requested.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run the documented particle-state example
Configure the model and call its forward interface for one particle-state update.
Before you start
- Python environment with PyTorch and the worldparticle package installed.
- Particle positions, velocities, forces, masses and attributes, plus boundary positions, in tensors matching the model inputs.
Steps
Install the package with the command below.
pip install worldparticleImport
WorldParticleandParticleTokenizerfromworldparticle.Create a tokenizer and model using the configuration shown in the repository README.
Call the model with position, velocity, mass, force, attribute and boundary-position tensors; read the returned position and velocity states.
Expected outcome
A single-step call returns updated particle positions and velocities.
Guide limitations
- The README example uses randomly generated tensors and does not demonstrate model training or validate physical accuracy.
- The example does not document dataset preparation or a deployment process.
Request a multi-step particle trajectory
Use the documented rollout interface to request multiple particle states.
Before you start
- The installed worldparticle package and a configured model as shown in the repository README.
- Input tensors for particle positions, velocities, forces, masses and attributes, and boundary positions.
Steps
Prepare the model and particle inputs as in the README example.
Call the model with
num_stepsset to the desired rollout length andreturn_initial_state=True.Read the returned position and velocity trajectories.
Expected outcome
The documented ten-step example returns eleven states, including the initial state, for both positions and velocities.
Guide limitations
- The README illustrates the interface with generated tensors; it does not provide a dataset or report rollout quality.
- No training or deployment steps are included in the documented example.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 October 2026
- Original website title
- lucidrains/worldparticle · Official homepage title · retained in its source language

