Hacker GitHub

← All repos

jax-ml/jax

View on GitHub ↗ ★ 36,567 Python

Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more

82 mentions on Hacker News by 61 people: 11 stories, 71 comments · first 2018-11-21 · latest 2026-04-05

Mentions per year 82 mentions · busiest year 2021 (17)
20082026
  1. …models. And as a point of advice: you want stuff to work on TPUs? Do what Googlers do: use Jax ( https://github.com/jax-ml/jax ), oh, and look at the commit logs of that repository to get your mind blown btw. In other words, Google rents…
    comment by spwa4 · 2025-12-09 · in After the Bubble
  2. …got batch variance explained to me before: https://github.com/google-deepmind/penzai/issues/82 and https://github.com/jax-ml/jax/issues/20047#issuecomment-1975...
    comment by daralthus · 2025-09-10 · in Defeating Nondeterminism in LLM Inference
  3. There's a JAX for AI/LM too https://github.com/jax-ml/jax but yeah no idea which the OP meant
  4. …use? Is it less fixed-size-array-oriented? Is it worth locking yourself into one brand of GPU? [1] https://github.com/jax-ml/jax
    comment by crazygringo · 2025-04-04 · in Nvidia adds native Python support to CUDA
  5. …of semantic restrictions. [0]: https://www.scattered-thoughts.net/writing/unexplanations-sq... [1]: https://github.com/jax-ml/jax
  6. https://github.com/jax-ml/jax
    comment by vgatherps · 2025-03-22 · in I want a good parallel computer
  7. …at JAX. It's very suitable for general numeric computing (not just ML) and a very mature ecosystem. https://github.com/jax-ml/jax
  8. …some specialized kernel in that case. 1. https://jax.readthedocs.io/en/latest/pallas/index.html 2. https://github.com/jax-ml/jax/blob/main/jax/experimental/pal...
    comment by jdeaton · 2024-09-24 · in We fine-tuned Llama 405B on AMD GPUs
  9. Nope, changing graph shape requires recompilation: https://github.com/google/jax/discussions/17191
    comment by logicchains · 2024-08-17 · in The future of Deep Learning frameworks
  10. …difficult to take a numerical computing framework seriously if one cannot invert a matrix. [1]: https://github.com/google/jax/issues/16321 [2]: https://github.com/google/jax/issues/17490
    comment by mvanaltvorst · 2024-06-03 · in cuDF – GPU DataFrame Library
  11. …JAX implements them and uses them exactly as stated in this thread. https://github.com/google/jax/discussions/10157#discussionco... Many other frameworks use them also, for many reasons. As you so eloquently stated, "you shoul
    comment by SideQuark · 2024-03-23 · in The Elements of Differentiable Programming
  12. …matter whether or not you have inner jitted functions. The end result should be the same. Source: https://github.com/google/jax/discussions/5199#discussioncom...
  13. …mean fixed point 4bit integer types? Looks like that has had at least some work done in Jax: https://github.com/google/jax/issues/8566
  14. …compare MatX running on same CPU like NumPy and for GPU comparison focus to compare vs CuPy. [1] https://github.com/google/jax
  15. …The README has always had an example of differentiating through native Python control flow: https://github.com/google/jax/commit/948a8db0adf233f333f3e5f... The constraints on control flow expressions come from jax.jit (because Python…
    comment by mattjjatgoogle · 2023-10-02 · in JAX – NumPy on the CPU, GPU, and TPU
  16. You're right! Maybe we should revise that... I made https://github.com/google/jax/pull/17851 , comments welcome!
    comment by mattjjatgoogle · 2023-09-29 · in JAX – NumPy on the CPU, GPU, and TPU
  17. Development seems not to have dropped at all from the contributions page: https://github.com/google/jax/graphs/contributors Don’t know about usage and uptake though.
    comment by maegul · 2023-09-29 · in JAX – NumPy on the CPU, GPU, and TPU
  18. For a similar "benchmark" (also Mandelbrot) but took place in Jax repo discussion: https://github.com/google/jax/discussions/11078#discussionco...
    comment by moelf · 2023-09-09 · in Julia and Mojo Mandelbrot Benchmark
  19. …https://jax.readthedocs.io/en/latest/jax.tree_util.html and also their curry implementation is funny: https://github.com/google/jax/blob/4ac2bdc2b1d71ec0010412a32... Anyway don’t put FP on a pedestal, main thing is to focus on the core…
    comment by bionhoward · 2023-08-16 · in Functional Programming 1
  20. …be excited by your enthusiasm, it feels like Jax could be the ultimate programming language. [1] https://github.com/google/jax#transformations
  21. …been a bit, but I think the most frustrating errors were around mapping pytrees (like this issue https://github.com/google/jax/issues/9928 ). We've improved some of these pytree error messages but it seems that vmap one is still not great.…
    comment by mattjjatgoogle · 2023-02-24 · in Training Deep Networks with Data Parallelism in Jax
  22. …been a bit, but I think the most frustrating errors were around mapping pytrees (like this issue https://github.com/google/jax/issues/9928 ). I'm not sure the exact solution, but the axis juggling and specifications were where I remember a…
  23. …updated to show how to do this with sharding and the new jax.Array type introduced not too long ago https://github.com/google/jax/pull/11233/files
  24. If you have any particular examples in mind, and time to share them on https://github.com/google/jax/issues , we'd love to try to improve them. Improving error messages is a priority. About introspection tools, at least for runtime value…
    comment by mattjjatgoogle · 2023-02-24 · in Training Deep Networks with Data Parallelism in Jax
  25. …support for JAX which makes Python have automatic differentiation which is a key feature of Julia. https://github.com/google/jax
    comment by zitterbewegung · 2023-02-14 · in The C++ Killers (Not You, Rust)
  26. > I love their JAX For those out of loop: https://github.com/google/jax See also: https://news.ycombinator.com/item?id=29682507
  27. …on the JAX framework, you're frequently working with both the JAX and TensorFlow code repositories: https://github.com/google/jax/blob/main/WORKSPACE#L17
    comment by grepLeigh · 2023-01-16 · in TensorFlow for Python is dying?
  28. …popular these days. Not PyTorch-popular, but the progress and investment seem promissing. [1] https://github.com/google/jax
    comment by flakiness · 2023-01-16 · in TensorFlow for Python is dying?
  29. You should give JAX a go. https://github.com/google/jax
    comment by nerpderp82 · 2022-10-26 · in Python 3.11 is faster than 3.8
  30. The thread now has a fix. As for the GPU, it's possible to get it working with some extra steps https://github.com/google/jax/issues/8074 Macbook Pro M1 Pro numbers (CPU): python3 image_from_text.py --text='court sketch of godzilla on…
  31. …(which is likely far more accessible), but then I found out that Colabs simply don't support pjit ( https://github.com/google/jax/issues/8300 ). Other than that, really like TRC!
    comment by jasonphang · 2022-05-10 · in Cloud TPU VMs are generally available
  32. …Google Jax is another option, jitting and vectorizing code for TPU, GPU or CPU. https://github.com/google/jax
    comment by erwincoumans · 2022-04-04 · in Cython is 20
  33. The approach JAX takes regarding PRNG for numerical computing is worth a look: https://github.com/google/jax/blob/main/docs/design_notes/pr...
  34. …it depends what kind of stuff you're working on. I do a lot of work with jax for my research ( https://github.com/google/jax ) and use functools.partial a lot.
  35. …used in the [autograd library]( https://github.com/HIPS/autograd ), which is a precursor to [Jax]( https://github.com/google/jax ), a competitor to Tensorflow and pytorch that's starting to gain traction.
    comment by slewis · 2022-02-10 · in Tracing Functions in Python
  36. …& GPU computations without getting into the details, check out JAX by our corporate overlords™ ( https://github.com/google/jax ), it has a NumPy like syntax and super fast to get started
  37. …with AMD GPUs. Here is the relevant issue for JAX (support seem to be in alpha but viable): https://github.com/google/jax/issues/2012
    comment by nestorD · 2021-12-14 · in PyTorch vs. TensorFlow in 2022
  38. …researcher in RL & ML in a big industry lab, I would say most of my colleagues are moving to JAX [ https://github.com/google/jax ], which this article kind of ignores. JAX is XLA-accelerated NumPy, it's cool beyond just machine learning,…
    comment by tehf0x · 2021-12-14 · in PyTorch vs. TensorFlow in 2022
  39. …the most experience with. [0] http://coconut-lang.org/ [1] https://docs.hylang.org/en/alpha/ [2] https://github.com/google/jax [3] https://github.com/pytorch/functorch
  40. …of jax works. Delightfully, I found a secret branch where autodidax also implements host callbacks: https://github.com/google/jax/blob/effect-types/docs/autodid... If you scroll to the very bottom of that file, you'll see an example of…
  41. …of this paradigm. look up pyro ( http://pyro.ai/examples/intro_part_i.html ) for ppl and jax ( https://github.com/google/jax ) for differential programming
    comment by medo-bear · 2021-10-22 · in An Introduction to Probabilistic Programming
  42. …opportunity to be a developer advocate for high-performance computing in such an interesting way? https://github.com/google/jax/issues/2108#issuecomment-86623... Definitely looking for more examples of "Github Larping," if you know of…
    comment by sillysaurusx · 2021-06-24 · in Alias-Free GAN
  43. …either. So how about this: you seem like a capable XLA TPU hacker. I’d like to pretend I submitted https://github.com/google/jax/issues/2108#issuecomment-86623... solely for an audience of you. What do you think of it? Critical feedback…
  44. …submitting my announcement tweet. I think that’s lame; just submit the story, which in this case is https://github.com/google/jax/issues/2108#issuecomment-86623... . But I couldn’t figure out any possible way to submit that url to HN…
  45. …https://news.ycombinator.com/item?id=27601986 ) Oh. Right. Umm, so the goal here is for me to submit https://github.com/google/jax/issues/2108#issuecomment-86623... to HN. But there is no possible way to submit that url to HN, because HN…
  46. …hashtag anchors. The goal is to submit to HN one of the replies in that thread, not the main page: https://github.com/google/jax/issues/2108#issuecomment-86623... Without that anchor, I see no possible way to submit it to HN, because the…
  47. …). Then the gradient calculations don't mix well with GPUs, at least for ODEs ( https://github.com/google/jax/issues/5006 ). That lack of composability compared to Julia is the main issue that then creeps up in the bigger problems.
    comment by ChrisRackauckas · 2021-06-21 · in Julia: Faster than Fortran, cleaner than Numpy
  48. …Or this person just happened to pick it up for some reason (for, say, better TPU support)? [1] https://github.com/google/jax
    comment by flakiness · 2021-06-09 · in GPT-J-6B: 6B JAX-Based Transformer
  49. …shoyer on Oct 26, 2019 [–] The practical counterpoint to Dex is Jax, by many of the same authors: https://github.com/google/jax I’m optimistic that we’ll eventually be able to figure out how to build practical tools [..] The biggest…
  50. …do well) Currently Jax has an in-progress stiff ODE solver that's about 200x slower than SciPy https://github.com/google/jax/issues/3686#issuecomment-65709... and SciPy (with JIT) is about 50x-100x slower than the pure Julia methods…