jax VS Pytorch

Compare jax vs Pytorch and see what are their differences.

jax

Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more (by jax-ml)
Jax

Pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration (by pytorch)
Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
jax Pytorch
89 387
31,945 89,253
1.6% 2.3%
10.0 10.0
6 days ago about 15 hours ago
Python Python
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

jax

Posts with mentions or reviews of jax. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-21.

Pytorch

Posts with mentions or reviews of Pytorch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-08.
  • Fine-tuning LLMs locally: A step-by-step guide
    4 projects | dev.to | 8 Apr 2025
    Next, we define a training loop that uses our prepared data and optimizes the weights of the model. Here's an example using PyTorch:
  • Ask HN: Why hasn't AMD made a viable CUDA alternative?
    3 projects | news.ycombinator.com | 1 Apr 2025
    > But that does not seem to be the strategy, which implies it is not so simple?

    That is exactly what has been happening [1], and not just in pytorch. Geohot has been very dedicated in working with AMD to upgrade their station in this space. If you hang out in the tinygrad discord, you can see this happening in real time.

    > those I have talked to say they depend on a lot more than just one or two key libraries.

    Theres a ton of libraries out there yes, but if we're talking about python and the libraries in question are talking to GPUs its going to be exceedingly rare that theyre not using one of these under the hood: pytorch, tensorflow, jax, keras, et al.

    There are of course exceptions to this, particular if you're not using python for your ML work (which is actually common for many companies running inference at scale and want better runtime performance, training is a different story). But ultimately the core ecosystem does work just fine with AMD GPUs, provided you're not doing any exotic custom kernel work.

    [1] https://github.com/pytorch/pytorch/pulls?q=is%3Aopen+is%3Apr...

  • 10 Useful Tools and Libraries for Python Developers
    8 projects | dev.to | 29 Mar 2025
    4. PyTorch - A Deep Learning Powerhouse
  • torch.export()
    1 project | dev.to | 5 Mar 2025
    GraphModule compiles every instruction into low-level ATen operations.
  • 10 Must-Have AI Tools to Supercharge Your Software Development
    3 projects | dev.to | 14 Feb 2025
    8. TensorFlow and PyTorch: These frameworks support AI and machine learning integrations, allowing developers to build and deploy intelligent models and workflows. TensorFlow is widely used for deep learning applications, offering pre-trained models and extensive documentation. PyTorch provides flexibility and ease of use, making it ideal for research and experimentation. Both frameworks support neural network design, training, and deployment in production environments. Download TensorFlow here and Download PyTorch here.
  • Automating Enhanced Due Diligence in Regulated Applications
    9 projects | dev.to | 13 Feb 2025
    Frameworks like TensorFlow and PyTorch can help you build and train models for various tasks, such as risk scoring, anomaly detection, and pattern recognition.
  • Must-Know 2025 Developer’s Roadmap and Key Programming Trends
    6 projects | dev.to | 5 Feb 2025
    Python’s Growth in Data Work and AI: Python continues to lead because of its easy-to-read style and the huge number of libraries available for tasks from data work to artificial intelligence. Tools like TensorFlow and PyTorch make it a must-have. Whether you’re experienced or just starting, Python’s clear style makes it a good choice for diving into machine learning. Actionable Tip: If you’re new to Python, try projects that combine data with everyday problems. For example, build a simple recommendation system using Pandas and scikit-learn.
  • Decorator JITs: Python as a DSL
    10 projects | news.ycombinator.com | 3 Feb 2025
    Basically this style of code - https://github.com/pytorch-labs/attention-gym/pull/84/files - has issues like this - https://github.com/pytorch/pytorch/pull/137452 https://github.com/pytorch/pytorch/issues/144511 https://github.com/pytorch/pytorch/issues/145869

    For some higher level context, see https://pytorch.org/blog/flexattention/

  • Building an AI-powered Financial Data Analyzer with NodeJS, Python, SvelteKit, and TailwindCSS - Part 0
    7 projects | dev.to | 31 Jan 2025
    The AI Service will be built using aiohttp (asynchronous Python web server) and integrates PyTorch, Hugging Face Transformers, numpy, pandas, and scikit-learn for financial data analysis.
  • PyTorch 2.6.0 Release
    1 project | news.ycombinator.com | 29 Jan 2025

What are some alternatives?

When comparing jax and Pytorch you can also consider the following projects:

Numba - NumPy aware dynamic Python compiler using LLVM

Pandas - Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

dex-lang - Research language for array processing in the Haskell/ML family

tensorflow - An Open Source Machine Learning Framework for Everyone

julia - The Julia Programming Language

tinygrad - You like pytorch? You like micrograd? You love tinygrad! ❤️

Judoscale - Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com
featured
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured

Did you know that Python is
the 2nd most popular programming language
based on number of references?