google-deepmind / dm-haiku

JAX-based neural network library
https://dm-haiku.readthedocs.io
Apache License 2.0
2.86k stars 232 forks source link

I'm curious about the reason why you use JAX. #34

Closed chris-chris closed 4 years ago

chris-chris commented 4 years ago

After you open-sourced haiku, rlax recently, I started to learn about JAX and I love these projects. However, whenever I share these open sources to deep learning communities and my friends, they don't seem to be convinced to use them. I believe you must have solid reasons for choosing JAX for the RL research framework, which I've tried to guess. So far, these are the advantages that I could think of.

But I'm still not fully aware of the logic behind it. Would it be possible for you to briefly explain the motivation behind using JAX for your research?

trevorcai commented 4 years ago

Hey! DeepMind is a big place, so the reasons different researchers use JAX will depend on their individual use cases; the key features for metalearning aren't necessarily the same as for generative models.

I started working on Haiku with Tom to unblock my own projects. For my personal work:

Again, I want to emphasize that DeepMind has a large portfolio of research and that the researchers who do use JAX use it for a variety of reasons.