An Agent-Environment interface with Jax transformation compatibility
MIT License
Bot releases are visible (Hide)
This release fixes a number of stale issues and updates the typing annotations in core.
This includes;
ExtendObservation
wrapper to nest TimeStep fields inside the observation (useful for POMDPs)jax.random.PRNGKey
to jax.random.key
.core
to make use of TypeVars. This is still incomplete and tracked in #28.chex
tests to remove ignore_nones
arguments.Published by joeryjoery over 1 year ago
This release adds a Gymnasium converter for both Environment and Spec-Space.
It also fixes a bug inside the Tree spec and unpack_spec function that was incorrectly flattening and unflattening the custom defined PyTrees.
Published by joeryjoery over 1 year ago
This release adds a StopGradient wrapper for the Environment Step function. This is a generally useful utility for online reinforcement learning algorithms.
This version also fixes not being able to use State
, Action
, or Observation
as TypeVars as they were supposed to. These are now explicility imported from _core.py
rather than defining TypeAliases.
Published by joeryjoery over 1 year ago
This release removes the render
method as an abstractmethod, and moves the rendering responsibility to an external argument dependency.
Published by joeryjoery over 1 year ago
This release allows mypy to type check this library when installed from PyPI.
Changes:
py.typed
inside jit_env
and setup.py
repr
in Environment and Wrapper and implemented more detailed repr
s in jit_env.wrappers.py
.repr
and str
work as expected.Published by joeryjoery over 1 year ago
This release 0.1.0 covers the entire library adequately with tests to ensure reliable behaviour.
Some features related to third-party library compatibility may be added later, such as gymnasium
, or maybe brax
or gymnax
. When these additional features are implemented and tested, this library version will be bumped to 1.0.0
.
From this point on, features will only be added in the form of Pull Requests to prevent very sudden API changes.
Published by joeryjoery over 1 year ago
The 0.0.1 Alpha version was just uploaded to PyPI.
The non-alpha version will be released when wrappers.py
and compat.py
are 100% covered by tests.
Then, when pytest and mypy give the OK, version 0.0.1
will be released.