JAX is coming #4
Pinned
lowrollr
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've decided to orient the bulk of my near-term future work in this project towards re-writing TurboZero in JAX.
Why JAX?
Perhaps the biggest issue with the current PyTorch implementation is that there's no easy way to support existing third-party environments (gym, etc.) in such a way that elegantly integrates with the vectorized algorithm implementations. However, there are a lot of JAX libraries with environments that inherently support vectorization, which makes integrating with these environments much more trivial. This lets TurboZero focus more on algorithms, utilities, and other infrastructure instead of custom environments.
I'm not sure exactly what I plan to do with the existing PyTorch implementation yet. Development of both versions in parallel seems unlikely, but in a perfect (backend-agnostic) world improvements to any training/evaluation infrastructure could be utilized by both implementations. In practice I suspect this would get ugly rather quickly.
It's all going down in the
jax
branch.Coming soon!
Beta Was this translation helpful? Give feedback.
All reactions