Giverny

Pytorch Fsdp2

Adds PyTorch FSDP2 (fully_shard) to training scripts with correct init, sharding, mixed precision/offload config, and distributed checkpointing.

by Orchestra-Research★ 14,933General

What Pytorch Fsdp2 does

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.

How to install Pytorch Fsdp2 in Claude Code

Giverny gives you a ready prompt with the exact install command from Orchestra-Research/AI-Research-SKILLs. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone Orchestra-Research/AI-Research-SKILLs and copy the 08-distributed-training/pytorch-fsdp2 folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Pytorch Fsdp2 on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the pytorch-fsdp2 skill on my current project.”

More Claude skills for general