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.

qcmuu Updated 0 repo stars

File contents

qcmuu/AI-Research-Skills/tree/main/08-distributed-training/pytorch-fsdp2 commit 30d159316c

Frequently asked questions

npx skillmds@latest add qcmuu/pytorch-fsdp2