Theano VS Pytorch

Compare Theano vs Pytorch and see what are their differences.

Theano

Theano was a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It is being continued as PyTensor: www.github.com/pymc-devs/pytensor (by Theano)

Pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration (by pytorch)
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Theano Pytorch
- 392
9,933 90,111
0.2% 2.1%
5.0 10.0
over 1 year ago 4 days ago
Python Python
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
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.

Theano

Posts with mentions or reviews of Theano. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Theano yet.
Tracking mentions began in Dec 2020.

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-05-15.
  • I Don't Like NumPy
    15 projects | news.ycombinator.com | 15 May 2025
    I tried to do something similar with 'first-class' dimension objects in PyTorch https://github.com/pytorch/pytorch/blob/main/functorch/dim/R... .
  • Grasping Computer Vision Fundamentals Using Python
    2 projects | dev.to | 12 May 2025
    To aspiring innovators: Dive into open-source frameworks like OpenCV or PyTorch, experiment with custom object detection models, or contribute to projects tackling bias mitigation in training datasets. Computer vision isn’t just a tool, it’s a bridge between the physical and digital worlds, inviting collaborative solutions to global challenges. The next frontier? Systems that don’t just interpret visuals, but contextualise them with human-like reasoning. Start building, and you’ll shape how tomorrow’s machines perceive reality.
  • Will Supercapacitors Come to AI's Rescue?
    1 project | news.ycombinator.com | 6 May 2025
    Paraphrasing this[1]?

    [1] https://github.com/pytorch/pytorch/pull/132936/files#diff-98...

  • Top Programming Languages for AI Development in 2025
    9 projects | dev.to | 29 Apr 2025
    With the quick emergence of new frameworks, libraries, and tools, the area of artificial intelligence is always changing. Programming language selection. We're not only discussing current trends; we're also anticipating what AI will require in 2025 and beyond.
  • How to Get Started with Scikit-Learn: A Beginner-Friendly Guide to Machine Learning in Python
    7 projects | dev.to | 24 Apr 2025
    PyTorch
  • 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.

What are some alternatives?

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

CNTK - Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit

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

neptune-client - 📘 The experiment tracker for foundation model training

tensorflow - An Open Source Machine Learning Framework for Everyone

Caffe2

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

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