For me the questions to answer for whether or not I should bother. Will it try and bind me to other technologies? Does it work out of the box on ${GPU}? Is it well supported? Will it continue to be supported?
Playing with JAX on Google Colab (Nvidia T4), everything works great. Sadly, I cannot get JAX to work with the built-in GPU on my M1 MacBook Air. In theory it's supposed to work: https://developer.apple.com/metal/jax/ But it crashes Python when I try to run a compiled function. And that's only after discovering I need an older specific version of jax-metal, because newer versions apparently don't work with M1 anymore…
Jax and Equinox: What are they and why should I bother?
11–17 of 17 posts
Re: Jax and Equinox: What are they and why should I bother?
#12I wish Jax had everything I need to experiment with DL models built in, natively - like Pytorch. Instead there are many third party libraries (flax, trax, haiku, this one, etc). I have no idea which one to use. This was the case when I first played with jax 5 years ago, and it’s still the case today (even worse it seems). This makes it a non starter for me.
Use any. I used to work with Flax, now I work with Equinox more. Choose any between Flax, Equinox, and Haiku.
Re: Jax and Equinox: What are they and why should I bother?
#13Earlier quoted context omitted.
Pretty sure it's Apple building it, and they're using JAX in-house so I imagine it will get better over time. Though they do love to drop support for old things so maybe M1 will never work again...
I think they’re likely using MLX in house now, no? (Probably not everyone, ofc - but seems likely that many will just use the native array framework designed explicitly for MX chips)
> Our foundation models are trained on Apple's AXLearn framework, an open-source project we released in 2023. It builds on top of JAX
Re: Jax and Equinox: What are they and why should I bother?
#14I wish Jax had everything I need to experiment with DL models built in, natively - like Pytorch. Instead there are many third party libraries (flax, trax, haiku, this one, etc). I have no idea which one to use. This was the case when I first played with jax 5 years ago, and it’s still the case today (even worse it seems). This makes it a non starter for me.
Why? Use any. I used to work with Flax, now I work with Equinox more. Choose any between Flax, Equinox, and Haiku.
Too much overhead when I just want to get shit done.
Re: Jax and Equinox: What are they and why should I bother?
#15Earlier quoted context omitted.
I think they’re likely using MLX in house now, no? (Probably not everyone, ofc - but seems likely that many will just use the native array framework designed explicitly for MX chips)
From https://machinelearning.apple.com/research/introducing-apple... > Our foundation models are trained on Apple's AXLearn framework, an open-source project we released in 2023. It builds on top of JAX
Re: Jax and Equinox: What are they and why should I bother?
#16Earlier quoted context omitted.
Why? Use any. I used to work with Flax, now I work with Equinox more. Choose any between Flax, Equinox, and Haiku.
Use any Too much overhead when I just want to get shit done.
Its high level API is quite similar to that of PyTorch. So, you will feel right at home.
Re: Jax and Equinox: What are they and why should I bother?
#17Earlier quoted context omitted.
Use any Too much overhead when I just want to get shit done.
Okay, I am telling you to use Flax. Its high level API is quite similar to that of PyTorch. So, you will feel right at home.