Purpose: OpenWorldLib is a unified codebase for "world models", centrally managing models and frameworks related to perception, interaction, and long-term memory capabilities, making the invocation of existing world model code more consistent and its structure clearer, and systematically organizing related papers and open-source projects for researchers' reference.
Main capabilities: Covers world model subtasks such as multimodal understanding, visual action prediction, and visual generation; integrates open-source world model research results; commonly used inference frameworks include diffusers, DiffSynth, and LightX2V; provides classes such as pipeline, operator, synthesis, reasoning, representation, and memory, used for weight loading, environment initialization, generation, and maintenance of multi-turn interaction context.
Usage: First create a conda environment, then install using the provided scripts. Some methods have special installation requirements. The scripts are located in ./scripts/setup, and the complete installation guide is in docs/installation.md. After installing the basic environment, you can use commands to test matrix-game-2 generation and multi-turn interaction. Scripts for other methods are under scripts/test_inference and scripts/test_stream.
Applicable scenarios: World model-related research, code integration, and paper organization; you are welcome to discuss via Issues, submit methods via Pull Request, or submit materials to the awesome_world_models documentation.
Limitations: Currently mainly tested on GPUs with 80GB and 141GB of VRAM. More model testing and updates will be recorded in docs/installation.md; specific installation commands and complete code examples are not provided in the materials.