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. ▲ 3
    jax
    story by tosh · 2026-04-05 · 0 comments
  2. …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
  3. …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
  4. There's a JAX for AI/LM too https://github.com/jax-ml/jax but yeah no idea which the OP meant
  5. …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
  6. …of semantic restrictions. [0]: https://www.scattered-thoughts.net/writing/unexplanations-sq... [1]: https://github.com/jax-ml/jax
  7. https://github.com/jax-ml/jax
    comment by vgatherps · 2025-03-22 · in I want a good parallel computer
  8. ▲ 67
    Show HN: Localscope–Limit scope of Python functions for reproducible execution
    story by tillahoffmann · 2025-03-17 · 31 comments
  9. …at JAX. It's very suitable for general numeric computing (not just ML) and a very mature ecosystem. https://github.com/jax-ml/jax
  10. …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
  11. 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
  12. …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
  13. …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
  14. …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...
  15. …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
  16. …compare MatX running on same CPU like NumPy and for GPU comparison focus to compare vs CuPy. [1] https://github.com/google/jax
  17. …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
  18. 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
  19. 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
  20. 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
  21. …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
  22. …be excited by your enthusiasm, it feels like Jax could be the ultimate programming language. [1] https://github.com/google/jax#transformations
  23. …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
  24. …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…
  25. …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
  26. 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
  27. …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)
  28. > I love their JAX For those out of loop: https://github.com/google/jax See also: https://news.ycombinator.com/item?id=29682507
  29. …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?
  30. …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?
  31. 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
  32. 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…
  33. …(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
  34. …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
  35. ▲ 4
    Jax – Composable transformations: differentiate, vectorize, JIT to TPU
    story by graderjs · 2022-03-21 · 0 comments
  36. The approach JAX takes regarding PRNG for numerical computing is worth a look: https://github.com/google/jax/blob/main/docs/design_notes/pr...
  37. …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.
  38. …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
  39. …& 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
  40. …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
  41. …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
  42. …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
  43. …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…
  44. …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
  45. ▲ 3
    JAX and Haskell
    story by unignorant · 2021-08-27 · 0 comments
  46. ▲ 9
    Jax
    story by tosh · 2021-07-04 · 0 comments
  47. …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
  48. …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…
  49. …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…
  50. …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…