Show HN: PyTorch-World – Modular Library to Build and Train World Models https://ift.tt/t60RLDf

Show HN: PyTorch-World – Modular Library to Build and Train World Models Hello everyone! I’ve built PyTorch-World, a modular library for learning, training, and experimenting with world models. While studying world models, I noticed that each new paper introduces a mix of new components and architectures—but the core structure stays surprisingly consistent. Yet there wasn’t an easy way to swap these components in and out, experiment with them independently, or understand how they interact to form a complete world model. PyTorch-World aims to solve that: it provides a clean, modular framework where you can plug in different components, compare approaches, and learn how world models work from the inside out. New updates rolling out soon, this is v0.0.3! You can also install the library from pip https://ift.tt/gUdJK7l Currently this library supports PlaNet world model by Google, Here's the code to train the model in a CartPole-v1 environment: from world_models.models.planet import Planet p = Planet(env="CartPole-v1", bit_depth=5, headless=True, max_episode_steps=100, action_repeats=1, results_dir="my_experiment") p.train(epochs=1) https://ift.tt/gb2Mpsk November 27, 2025 at 12:38AM

No comments:

Show HN: DAC – open-source dashboard as code tool for agents and humans https://ift.tt/5Jz8Ul3

Show HN: DAC – open-source dashboard as code tool for agents and humans Hi all, this is Burak. When agents became a reality one of the first...