by kanaffa12345 · 4y ago · 0 comments
no you miss my point
>making slow Python code run faster
there is not a single org anywhere in the world that uses pure python to do numerics. kids do that during their first linear algebra or ml class. that's it.
>For example replacing IF conditions by np.where etc
i've already addressed this - this is not jit compilation.
Many orgs use Python+Numpy, and that can be made faster using Jax
>> this is not jit compilation.
I disagree. Jax jit uses XLA, and XLA is a JIT compiler. An XLA graph is created during the runtime of the host program, and JIT-compiled to native code for the CPU, GPU or TPU.