Gymnax

Latest version: v0.0.8

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.0.3

Fixed

- Fix import structure.

0.0.2

Added

- Fully functional API using flax-style `EnvState` and `EnvParams` for calling `env.step`.
- MinAtar environments are not operational yet.
- Release to ensure that `evosax` 0.0.9 release can work with `GymFitness` backend in `gymnax`.

Changed

- Basically everything :)

0.0.1

Added
- Adds main `gym`-like infrastructure that is `jit`, `vmap` & `pmap` compatible:
- Jittable environment base class: `environment.py`
- Spaces: `Discrete`, `Continuous`, `Box`
- Translation of numpy state to state dictionary for JAX `step`.
- Adds base set of environments:
- OpenAI's `classic_control`: `Pendulum-v0`, `CartPole-v0`, `MountainCar-v0`, `ContinuousMountainCar-v0`, `Acrobot-v0`
- DeepMind's `bsuite`: `Catch-bsuite`, `DeepSea-bsuite`, `DiscountingChain-bsuite`, `MemoryChain-bsuite`, `UmbrellaChain-bsuite`, `MNISTBandit-bsuite`, `SimpleBandit-bsuite`
- `MinAtar`: `Asterix-MinAtar`, `Breakout-MinAtar`, `Freeway-MinAtar`, `Seaquest-MinAtar`, `SpaceInvaders-MinAtar`
- Adds `tests` for comparing `gym`/`numpy` `reset` + `step` with JAX version.
- `tests/classic_control/test_gym_env.py`
- `tests/bsuite/test_bsuite_env.py`
- Adds set of `notebooks` walking through the individual environments.
- Adds set of `examples` incorporating `gymnax` into JAX-based RL experiments.
- Anakin agent - port DM Colab for gymnax
- CMA-ES policy evolution - port blogpost with experimental minimal agent

Todo

- Adds benchmark infrastructure and numbers on different devices (CPU/GPU/TPU):
- Transitions/Second & Specific rollout types vs Torch setup
- CPU: Intel Xeon 2.4 GHz
- GPU: V100, A100, RTX 2080Ti
- TPU: V2, V3 - `vmap` + `pmap`
- Adds set of `experimental` utilities:
- `dojos`: Multi-transition rollout wrapper via `lax.scan` + `jit` for sequential `step`.
- `agents`: Minimal and evaluation agent wrappers.
- Adds miscellaneous environments: `Bandit-misc`, `Rooms-misc`

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.