Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Accelerate Model Training with PyTorch 2.X

You're reading from  Accelerate Model Training with PyTorch 2.X

Product type Book
Published in Apr 2024
Publisher Packt
ISBN-13 9781805120100
Pages 230 pages
Edition 1st Edition
Languages
Author (1):
Maicon Melo Alves Maicon Melo Alves
Profile icon Maicon Melo Alves

Table of Contents (17) Chapters

Preface Part 1: Paving the Way
Chapter 1: Deconstructing the Training Process Chapter 2: Training Models Faster Part 2: Going Faster
Chapter 3: Compiling the Model Chapter 4: Using Specialized Libraries Chapter 5: Building an Efficient Data Pipeline Chapter 6: Simplifying the Model Chapter 7: Adopting Mixed Precision Part 3: Going Distributed
Chapter 8: Distributed Training at a Glance Chapter 9: Training with Multiple CPUs Chapter 10: Training with Multiple GPUs Chapter 11: Training with Multiple Machines Index Other Books You May Enjoy

Index

As this ebook edition doesn't have fixed pagination, the page numbers below are hyperlinked for reference only, based on the printed edition of this book.

A

all-reduce synchronization 133

Amazon Web Services (AWS) 162

AMP activation, on GPU 114

backend flags, enabling 115

gradient scaler 116, 117

training loop, wrapping with torch.autocast 115, 116

application layer, software stack 25

batch size, modifying 28-30

modifying 25, 26

practical example 26-28

application programming interface (API) 184

Apptainer 22

artificial intelligence (AI) 162

automatic mixed precision (AMP) 112

activating, on GPU 114

benefits 117

enabling 114

B

backend compiler 49

basic workflow, distributed training on PyTorch 135

checkpoint 138

communication group, destroying 137

communication group initialization 136

distributed data loader, instantiating 137

distributed model, instantiating 138

distributed...

Why subscribe?

  • Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals
  • Improve your learning with Skill Plans built especially for you
  • Get a free eBook or video every month
  • Fully searchable for easy access to vital information
  • Copy and paste, print, and bookmark content

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at packtpub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.

At www.packtpub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.

lock icon The rest of the chapter is locked
You have been reading a chapter from
Accelerate Model Training with PyTorch 2.X
Published in: Apr 2024 Publisher: Packt ISBN-13: 9781805120100
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}