Sahin Boydas
Random theme
Select theme
Deep Learning with PyTorch, 2nd ed. cover

Deep Learning with PyTorch, Second Edition: learning the framework from tensors to deployment

by Howard Huang, Eli Stevens, Luca Antiga & Thomas Viehmann · Manning, 2020

By Sahin Boydas✓ Updated December 2026On 1 book list

The first edition of Deep Learning with PyTorch, by Eli Stevens, Luca Antiga and Thomas Viehmann, came out from Manning in 2020 and became a standard way to learn the framework in depth. It was written by people close to the project, and it spent much of its length on one long applied problem: finding possible tumors in CT scans of lungs.

The second edition, published in 2026, is led by Howard Huang, a PyTorch core developer. It keeps the book's bottom-up approach, starting with tensors and how PyTorch stores and moves them, then data loading, training loops, monitoring and convolutional networks. It adds what changed in six years: transformers, large language models and diffusion models, along with fine-tuning and deployment.

What sets it apart from shorter tutorials is the attention to the framework itself. Readers learn why a tensor operation is slow, how autograd tracks gradients and how to move a trained model into a service. That is the knowledge that matters once a project leaves a notebook.

How Tech People Read It

Carl Osipov

Osipov, at the consultancy Cognizant, described it on Manning's page as an approachable introduction that builds up step by step. For a reader coming from software engineering, that incremental approach is the point: each chapter depends only on what came before.

Ted Kyi

Kyi, at the home security company Deep Sentinel, wrote on Manning's page that it runs from beginner material to advanced models. At a company shipping computer vision, the useful span is from the basics a new hire needs to the deployment details a production team depends on.

Machine learning practitioners

The deep learning list on this site recommends it to readers with some machine learning behind them who now want to be fluent in PyTorch. Someone who learned with Keras or high-level libraries, and now has to debug a custom model, gets the understanding of tensors and autograd they skipped.

The Main Ideas

  • Tensors, and how they are stored and indexed in memory, are the foundation of everything PyTorch does.
  • Autograd records operations as they run, so gradients can be computed for any model you can write in Python.
  • A training loop is a small piece of code, and owning it makes debugging and monitoring easier.
  • A long, realistic project teaches more about data problems than many toy examples.
  • Training a model is half the work; packaging and serving it is the other half.

Who Should Read It

Read it if you will write and maintain PyTorch models at work, or if you want to understand the framework well beyond tutorials. Some machine learning background helps. Skip it if you are new to deep learning and want concepts first; Deep Learning for Coders or Deep Learning with Python on the same list are gentler starts.

The Book

Cover of Deep Learning with PyTorch, 2nd ed. by Howard Huang, Eli Stevens, Luca Antiga & Thomas Viehmann

Book 01 Intermediate

Deep Learning with PyTorch, 2nd ed.

by Howard Huang, Eli Stevens, Luca Antiga & Thomas Viehmann

Publisher
Manning, 2026 (first published 2020)
Free online
No

Why read it

PyTorch core developer Howard Huang updates the 2020 book with transformers, large language models and diffusion. It covers the tensor API, loading data, training and monitoring, convolutional networks, fine-tuning and deployment, and ends with a full medical imaging project. Read it if you already know some machine learning and want to work in PyTorch with confidence.

What people said

  • “An approachable and incremental introduction to deep learning.”

    Carl Osipov, Cognizant. Reader endorsement printed on Manning's page manning.com ↗

  • “Covers everything from beginner to advanced deep learning models using PyTorch.”

    Ted Kyi, Deep Sentinel. Reader endorsement printed on Manning's page manning.com ↗

Watch

Introducing Deep Learning and the PyTorch LibraryManning PublicationsManning's walk-through of the second edition's first chapter.
Deep Learning with PyTorch Author Interview with Eli Stevens, Luca Antiga, and Thomas ViehmannSophia YangA book club interview with the three authors of the first edition.

On These Book Lists

Frequently Asked Questions

What is new in the second edition of Deep Learning with PyTorch?

Transformers, large language models and diffusion models, plus updated material on fine-tuning and deployment. Howard Huang, a PyTorch core developer, led the update.

Is Deep Learning with PyTorch good for beginners?

It works for programmers new to PyTorch, but it moves faster for readers who already know basic machine learning concepts.

Who wrote Deep Learning with PyTorch?

The first edition was by Eli Stevens, Luca Antiga and Thomas Viehmann. The second edition adds Howard Huang as lead author.

Does the book include a full project?

Yes. It works through a medical imaging project from raw scans to a trained, evaluated model.