JAX – NumPy on the CPU, GPU, and TPU
jax.readthedocs.io
JAX – NumPy on the CPU, GPU, and TPU
1–10 of 147 posts
Re: JAX – NumPy on the CPU, GPU, and TPU
#2Re: JAX – NumPy on the CPU, GPU, and TPU
#3What happened to Jax? Is it still alive?
Don’t know about usage and uptake though.
Re: JAX – NumPy on the CPU, GPU, and TPU
#4edit: Made comparison more fair.
Re: JAX – NumPy on the CPU, GPU, and TPU
#5What happened to Jax? Is it still alive?
Re: JAX – NumPy on the CPU, GPU, and TPU
#6Anybody using it in production? Is it, or its derivatives like Flax, worth using over pyTorch for anything? edit: Made comparison more fair.
Re: JAX – NumPy on the CPU, GPU, and TPU
#7Re: JAX – NumPy on the CPU, GPU, and TPU
#8When I was in astronomy (about a decade ago) I did large scale simulations of gravitational interactions. But at the time all these simulations were done on CPU. Some of the really big efforts used more specialized chips, but it was a huge effort to write the code for it.
But today with Jax, if you want to write an N-body simulation of a globular cluster, you can just code it up in numpy and it'll run on a GPU for free and be about 1000x faster. From what I can tell though, very few people in the sciences have caught on yet.
Re: JAX – NumPy on the CPU, GPU, and TPU
#9Anybody using it in production? Is it, or its derivatives like Flax, worth using over pyTorch for anything? edit: Made comparison more fair.
In terms of is it worth using it - that depends on what you're doing. If you just want to start with ML training probably not. If you have something already and you want to take it to next level (e.g. influence how training and inference work) than it's a good choice. You might be interested in looking into flax or haiku instead of using vanilla Jax. These are closer to pytorch.
Re: JAX – NumPy on the CPU, GPU, and TPU
#10Anybody using it in production? Is it, or its derivatives like Flax, worth using over pyTorch for anything? edit: Made comparison more fair.
I’m a researcher, not using anything in production, but I find jax more usable as a general GPU-accelerated tensor math library. PyTorch is more specifically targeted at the neural network use case. It can be shoehorned into other use cases, but is clearly designed & documented for NN training & inference.