PyTorch

Open-source Python deep learning framework providing tensors, automatic differentiation, and GPU acceleration.

Commenters use it daily for ML work123 and like its level of abstraction,45 and it is seen as the default framework for sharing and reproducing ML results.67 The main caveat raised is that a hard PyTorch requirement shuts out developers working in other languages, such as C++.8
The HN verdict, written from 8 cited comments
5recommend
1warn against
Nov 7, 2025first mention
Sep 21, 2026latest mention
Nov 25 – Oct 26
Used forfor deep learningfor ML researchfor Python developersfor GPU trainingkl losstraining pitch outcome model

Why people recommend it

Daily workhorse · 3

Commenters use it every day and credit it with making ambitious ideas feasible.

“I use pytorch daily, it has made it possible for me to play with ideas that I would have only dreamed of.”

“have built many projects with PyTorch and use it daily for all my work”

Show 1 more

“I use the normal stacks you'd expect. Python, Pytorch, Spark/ray, Jupyter/Merimo, AWS, Postgres, Mathematica”

data scientist with 20+ years experienceon “Ask HN: Who wants to be hired? (December 2025)”

Ecosystem default · 3

Seen as the standard ML framework, recommended for sharing research and listed in job requirements.

“Python has won for me: fastapi, pytorch, langchain, streamlit, and so on and on.”

Ruby developer for over a decade, wrote a book on Rubyon “Ruby 4.0.0 Released”
Show 1 more

“a range of ML frameworks such as TensorFlow, PyTorch, or HuggingFace Transformers”

Reference implementation · 3

Used as the baseline when validating or reimplementing models and losses.

“The loss is mathematically equivalent to the standard KL-divergence loss available in PyTorch.”

Show 1 more

“implementing a transformer in PyTorch just to refresh my memory”

Clean abstraction · 2

Praised for the right level of abstraction compared to TensorFlow, and for matrix notation compared to NumPy.

“the more it developed, the better it was, with (at least to my mind) the perfect level of abstraction.”

deep learning practitioner, co-wrote 2018 PyTorch vs TensorFlow postswitched from Kerason “Leaving Meta and PyTorch”

“When it comes to matrix notation, I prefer PyTorch over NumPy”

Performance · 1

A from-scratch trainer using the same cuBLAS backend ran 1.5-2.5x slower than PyTorch.

“Compared to PyTorch, it's a bit slower (probably 1.5-2.5x)”

Caveats and dissent

Python lock-in · 1

A hard PyTorch requirement can exclude projects built in native languages like C++ or Go.

Memory use · 1

One commenter built a lower-VRAM alternative to PyTorch's standard KL-divergence loss for long contexts.

“The loss is mathematically equivalent to the standard KL-divergence loss available in PyTorch.”

Often compared with

Who recommends it in their own words

All comments 17

“The loss is mathematically equivalent to the standard KL-divergence loss available in PyTorch.”

“it builds a PyTorch model targeting the exact pitch result”

“have built many projects with PyTorch and use it daily for all my work”

“a range of ML frameworks such as TensorFlow, PyTorch, or HuggingFace Transformers”

“Compared to PyTorch, it's a bit slower (probably 1.5-2.5x)”

“built a theoretical hardware framework and PyTorch simulation”

“Python has won for me: fastapi, pytorch, langchain, streamlit, and so on and on.”

Ruby developer for over a decade, wrote a book on Rubyon “Ruby 4.0.0 Released”

“implementing a transformer in PyTorch just to refresh my memory”

“When it comes to matrix notation, I prefer PyTorch over NumPy”

“a range of ML frameworks such as TensorFlow, PyTorch, or HuggingFace Transformers”

“I use the normal stacks you'd expect. Python, Pytorch, Spark/ray, Jupyter/Merimo, AWS, Postgres, Mathematica”

data scientist with 20+ years experienceon “Ask HN: Who wants to be hired? (December 2025)”

“how jax compares to this autotuning machinery in pytorch”

“I use pytorch daily, it has made it possible for me to play with ideas that I would have only dreamed of.”

“the more it developed, the better it was, with (at least to my mind) the perfect level of abstraction.”

deep learning practitioner, co-wrote 2018 PyTorch vs TensorFlow postswitched from Kerason “Leaving Meta and PyTorch”

Threads where it came up

Data: pytorch.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.

Keyboard shortcuts
j / kNext / previous item
o or EnterOpen selected item
/Search
g hHome
g tTop
g rRising
g cCategories
tToggle dark mode
?This help