Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baxtub

Single-file composable end-to-end JAX Reinforcement Learning via Flax NNX.

Copy-paste desired components into algorithm script or import — refer to baxtub/algorithms/ppo.py, cut any un-wanted components.

Derived from PureJaxRL and Craftax, Baxtub is (1) a NNX implementation and (2) algorithm scripts such as baxtub/algorithms/ppo.py are written to be read top-to-bottom with sections of the algorithm decomposed into separate functions for ease of identifying their inputs and outputs.




Run

git clone https://github.com/farazeid/baxtub
cd baxtub
uv sync
# uv run {algorithm} --config {config}
uv run baxtub/algorithms/ppo.py --config baxtub/configs/ppo.crafter.yaml

About

Single-file composable end-to-end JAX Reinforcement Learning via Flax NNX

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages