Article complete

PyTorch releases free tutorials on Fully Sharded Data Parallel (FSDP)

The tutorial’s main goal is to help build expertise on leveraging FSDP for distributed AI training and awaits upcoming addition of new videos to the series.

Abstract graphic featuring code snippets and a stylized flame symbol, representing PyTorch and data parallelism concepts.

Key takeaways

  • PyTorch has launched a series of 10 free video tutorials on Fully Sharded Data Parallel (FSDP).
  • The tutorials aim to enhance users' expertise in distributed AI training using FSDP.
  • Each tutorial offers insights into training models efficiently, regardless of size.
  • Future additions to the series will include new videos and features related to FSDP.
  • The first tutorial focuses on using the new FSDP transformer wrapper for improved training.

Takeaways drafted with AI from the article text.

Wright believes that the main goal of the 10-part series is to help build expertise on leveraging FSDP for distributed AI training. He also says that the series will be added with new videos, along with features to the FSDP. 

Source: YouTube

For instance, the first series titled, ‘Accelerate your training speed with the FSDP Transformer wrapper’, consists of a tutorial on how to utilise the new FSDP transformer wrapper. Unlike the default wrapper which makes sharding choices based on parameter count, this transformer wrapper understands how the model operates—locating appropriate breaks to shard.

To put it in simple terms, it lets users know how to implement the transformer wrapper and increase the model's training speed by up to 2x. 

Other parts of the series include FSDP Mixed Precision Training, Sharding Strategies, Backwards Prefetching, and Fine Tuning Models. 
Meta recently announced the PyTorch project to be part of the non-profit Linux Foundation—newly launching as PyTorch foundation. The main goal would be to drive adoption of AI and deep learning tooling—fostering and sustaining an ecosystem of open source—and vendor-neutral projects with PyTorch.

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign