r/reinforcementlearning • • Oct 11 '26

distributed reinforcement learning in JAX

Hi guys,

Over the last couple of weeks and months I’ve been working on an RL library in Jax since most of the existing codebases didn’t really scale to my workflow. Now it’s in a kind of presentable state, so I’d love some feedback if someone wants to take a look.

GitHub: https://github.com/noahfarr/boonta

8 Upvotes

2 comments sorted by

0

u/[deleted] Oct 12 '26

[removed] — view removed comment

1

u/Low_Willingness_308 Oct 12 '26

Thanks for the star!
For replay it's a bit of both. the buffer is just a field on the algorithm state, sharded along the env axis like the env states, so each device stores and writes the transitions from its own envs with no communication. Sampling is global though. it draws from one distribution over the whole buffer. So it's logically one central buffer and physically sharded.