Registry / orchestra-research

orchestra-research/ai-research-skills/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.

Agent skill · version 1.7.2 · from Orchestra-Research/AI-Research-SKILLs

Install

npx yarkr-cli add skill:orchestra-research/ai-research-skills/pytorch-fsdp2

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:orchestra-research/ai-research-skills/pytorch-fsdp2
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:orchestra-research/ai-research-skills/pytorch-fsdp2

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:orchestra-research/ai-research-skills/pytorch-fsdp2

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.