Pytorch Fsdp2

Adds PyTorch FSDP2 (fully_shard) to training scripts with correct init, sharding, mixed precision/offload config, and distributed checkpointing. Use when models exceed single-GPU memory or when you need DTensor-based sharding with DeviceMesh.

tianhao909 Updated 1 repo stars

File contents

tianhao909/AI-Research-SKILLs-cn/tree/main/08-distributed-training/pytorch-fsdp2 commit 30d159316c

Frequently asked questions

npx skillmds@latest add tianhao909/pytorch-fsdp2