What is NAVIX?
mainNAVIX is a high-throughput reimplementation of the MiniGrid environment suite using JAX. It is designed as a drop-in replacement for the original MiniGrid, optimized for speed and massive parallelization by leveraging JAX's intermediate language representation to run on CPUs, GPUs, or TPUs.
Key benefits include:
- High Throughput: Up to 200,000x speedup in batch mode or 20x in unbatched mode.
- Massive Parallelization: Capable of running thousands of agents (e.g., 2048 PPO agents / 32,768 environments) on a single Nvidia A100 80Gb.
- JAX Compatibility: Supports
jax.vmap,jax.jit,jax.grad, and other JAX transformations. - Automatic Differentiation: Enables computing gradients of the environment with respect to the agent's actions.