Download Latest Version v1.2.0 source code.tar.gz (119.0 MB)
Email in envelope

Get an email when there's a new version of Gymnasium

Home / v1.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-02-26 5.3 kB
v1.1.0 source code.tar.gz 2025-02-26 119.0 MB
v1.1.0 source code.zip 2025-02-26 119.5 MB
Totals: 3 Items   238.6 MB 0

Gymnasium v1.1

In this release, we fix several bugs with Gymnasium v1.0 along with new features to improve the changes made.

With the release of Gymnasium v1.0, one of the major changes we made was to the vector environment implementation, improving how users interface with it and extend it. Some users noted that they required backward compatibility with how vector environments automatically reset sub-environments when they terminated or truncated, referred to as the autoreset mode or API. As a result, in v1.1, we have added support to the implemented vector environments (SyncVectorEnv and AsyncVectorEnv) and wrappers for all three possible modes: next-step, same-step and disabled. To know the type of autoreset mode used, it should be specified in the vector environment metadata, metadata["autoreset_mode"] as a gymnasium.vectors.AutoresetMode enum. For more information on the differences between the autoreset modes and how to use them, read https://farama.org/Vector-Autoreset-Mode.

In addition, we've added several helpful features * In Gymnasium v0.25, we added masking for spaces, space.sample(mask=...), to logically mask out possible samples from spaces. https://github.com/Farama-Foundation/Gymnasium/pull/1310 adds probability masking for each space with space.sample(probability=...) to specify the probability of each sample, which is helpful for RL policies that output a probability distribution of actions. * For MuJoCo environments, users have the option to render the robot with RGB images or depth-based images. Previously, it was only possible to access only the RGB or depth rendering. Gymnasium v1.1 adds RGBD rendering that outputs both the RGB and depth-based image as a single output. * In Gymnasium v1.0, we improve the conversion wrappers between jax, torch and numpy with JaxToTorch, JaxToNumpy, NumpyToTorch, etc. In v1.1, we've improved the wrappers to work with rendering and to be compatible with the full dlpack API.

New Features

Bug Fixes

Documentation Changes

Thanks to the 31 new contributors that contributed to this release with the Full Changelog: https://github.com/Farama-Foundation/Gymnasium/compare/v1.0.0...v1.1.0

Source: README.md, updated 2025-02-26