Re:Supercharged high-resolution ocean simulation with Jax
by PhilipVinc on Monday December 06, 2021 @04:35PM
(#29466019)
That's incorrect.
If you work with mid-sized neural networks and MCMC sampling, allocations start to play a significant role (And Flux.jl is bad at preallocation).
Prealloc.jl does not work properly. Zygote.jl adds even more allocations to the mix...
Jax/XLA completely solves this problem. Yes, it's annoying that you have to work with a static graph but if your problem fits the description... it's great.
Jax/XLA completely solves this problem. Yes, it's annoying that you have to work with a static graph but if your problem fits the description... it's great.