PyTorch’s cult following

The data from Papers With Code suggests PyTorch is the most favourite library among researchers.
Why PyTorch is Love

The popularity of PyTorch exploded just three years into its launch: The open-source ML library logged a user growth of 194% in the first half of 2019. PyTorch hasn’t looked back since.

According to a Stackoverflow survey by, while TensorFlow is the most in demand library, PyTorch is loved more. The data from Papers With Code suggests PyTorch is the most favourite library among researchers. When it comes to frameworks (repositories are classified by framework by inspecting the contents of every GitHub repository and checking for imports in the code), a search from January 2020 to December 2021, shows PyTorch accounts for 75% of implementations– a lot higher than Tensorflow (below 25%), JAX, MXNeT, PaddlePaddle, Torch, Caffe2, and MindSpore. 

PyTorch’s soaring popularity

University of Geneva professor Francois Fleuret held a poll on Twitter earlier this month and asked developers to vote for their main framework and 72% voted for PyTorch.

Subscribe to our Newsletter

Join our editors every weekday evening as they steer you through the most significant news of the day, introduce you to fresh perspectives, and provide unexpected moments of joy
Your newsletter subscriptions are subject to AIM Privacy Policy and Terms and Conditions.

Back in 2020, Elon Musk replied to a Pune-based engineer Pranay Pothole in a tweet thread about the AI capabilities at Tesla: Musk said ‘PyTorch is the most frequently used external tool set/library’ to Pranay’s question PyTorch for building NN?. The response set off a debate on the micro blogging site and Pranay was later seen defending PyTorch saying, “Pytorch is as fast and sometimes faster than Tensorflow because the execution in pytorch is by default, asynchronous.”

PyTorch’s API has become a runaway hit among developers. While some users stick to JAX and NumPy, they are open to PyTorch for DL.

Many PyTorch users have actually switched from TensorFlow and find it much user friendly.

https://twitter.com/Vedant__Trains/status/1480986973443551232

Tony Petrov, Co-Founder and AI Engineer at Netlyt, wrote, “Personally for NLP tasks I use PyTorch. The reason for this is not that Keras or Tensorflow are inferior in terms of performance, it’s rather their lack of supporting libraries.”

Mukhtab Mayank, co-founder of Parallel Dots, said: “PyTorch is the most productive and easy-to-use framework according to me. It is very easy to deploy in production for medium sized deployments in form of the pytorch library we know.”

PyTorch is an open-source machine learning library based on the Torch library. The system was primarily developed by Facebook’s AI Research lab (FAIR): Adam Paszke, Soumith Chintala, Sam Gross, and Gregory Chanan worked on building the system and now has core maintainers, and a broader set of developers that directly merge pull requests and own various parts of the core code base.

Many researchers and users who don’t focus a lot on production-level code, love PyTorch as coding on it is straightforward. With Torch Script they get high flexibility in transitioning between eager mode and graph mode to use both the processes.

PyTorch community

PyTorch also has the backing of a thriving community. PyTorch has its own Forum, but the developers using the codes expand to Reddit, Quora, Twitter, and Github. From tutorials, discussions to opinions and advice, the PyTorch community is flourishing at a rapid pace. “PyTorch adopts a governance structure with a small set of maintainers driving the overall project direction with a strong bias towards PyTorch’s design philosophy where design and code contributions are valued,” according to the official website.

A Google trend report showed PyTorch is attracting a lot of interest in the last 12 months compared to TensorFlow.

Wrapping up

Important chunks of Deep Learning software built on top of PyTorch including Tesla Autopilot, HuggingFace’s Transformers and even Uber’s Pyro. The future of Pytorch looks bright. 

Meeta Ramnani
Meeta’s interest lies in finding out real practical applications of technology. At AIM, she writes stories that question the new inventions and the need to develop them. She believes that technology has and will continue to change the world very fast and that it is no more ‘cool’ to be ‘old-school’. If people don’t update themselves with the technology, they will surely be left behind.

Download our Mobile App

MachineHack | AI Hackathons, Coding & Learning

Host Hackathons & Recruit Great Data Talent!

AIMResearch Pioneering advanced AI market research

With a decade of experience under our belt, we are transforming how businesses use AI & data-driven insights to succeed.

The Gold Standard for Recognizing Excellence in Data Science and Tech Workplaces

With Best Firm Certification, you can effortlessly delve into the minds of your employees, unveil invaluable perspectives, and gain distinguished acclaim for fostering an exceptional company culture.

AIM Leaders Council

World’s Biggest Community Exclusively For Senior Executives In Data Science And Analytics.

3 Ways to Join our Community

Telegram group

Discover special offers, top stories, upcoming events, and more.

Discord Server

Stay Connected with a larger ecosystem of data science and ML Professionals

Subscribe to our Daily newsletter

Get our daily awesome stories & videos in your inbox
MOST POPULAR