Deep Learning with PyTorch, Second Edition

you own this product
Training and applying deep learning and generative AI models
  • February 2026
  • ISBN 9781633438859
  • 544 pages
  • printed in black & white
free previous edition eBook included
print book available Feb 25, 2026
ePub + liveBook available Feb 25, 2026

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
Everything you need to create neural networks with PyTorch, including Large Language and diffusion models.

PyTorch core developer Howard Huang updates the bestselling original Deep Learning with PyTorch with new insights into the transformers architecture and generative AI models.

In Deep Learning with PyTorch, Second Edition you’ll find:

  • Deep learning fundamentals reinforced with hands-on projects
  • Mastering PyTorch's flexible APIs for neural network development
  • Implementing CNNs, transformers, and diffusion models
  • Optimizing models for training and deployment
  • Generative AI models to create images and text

Instantly familiar to anyone who knows PyData tools like NumPy, PyTorch simplifies deep learning without sacrificing advanced features. In Deep Learning with PyTorch, Second Edition you’ll learn how to create your own neural network and deep learning systems and take full advantage of PyTorch’s built-in tools for automatic differentiation, hardware acceleration, distributed training, and more. You’ll discover how easy PyTorch makes it to build your entire DL pipeline, including using the PyTorch Tensor API, loading data in Python, monitoring training, and visualizing results. Each new technique you learn is put into action with practical code examples in each chapter, culminating into you building your own convolution neural networks, transformers, and even a real-world medical image classifier.

about the technology

The powerful PyTorch library makes deep learning simple—without sacrificing the features you need to create efficient neural networks, LLMs, and other ML models. Pythonic by design, it’s instantly familiar to users of NumPy, Scikit-learn, and other ML frameworks. This thoroughly-revised second edition covers the latest PyTorch innovations, including how to create and refine generative AI models.

about the book

Deep Learning with PyTorch, Second Edition shows you how to build neural network models using the latest version of PyTorch. Clear explanations and practical projects help you master the fundamentals and explore advanced architectures including transformers and LLMs. Along the way you’ll learn techniques for training using augmented data, improving model architecture, and fine tuning.

what's inside

  • PyTorch APIs for neural network development
  • LLMs, transformers, and diffusion models
  • Model training and deployment

about the reader

For Python programmers with a background in machine learning.

about the authors

Howard Huang is a software engineer and developer on the PyTorch library focusing on large scale, distributed training. Eli Stevens, Luca Antiga, and Thomas Viehmann authored the first edition of Deep Learning with PyTorch.

An approachable and incremental introduction to deep learning.

Carl Osipov, Cognizant

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

Ted Kyi, Deep Sentinel

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

Ted Kyi, Deep Sentinel

The structure flows seamlessly, making the learning experience enjoyable and highly educational.

Prashanth Josyula, Salesforce

Masterfully introduces complex concepts in a way approachable for beginner and students.

Raja Rao Budaraju, Oracle
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Deep Learning with PyTorch, Second Edition ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Deep Learning with PyTorch, Second Edition ebook for free