# pytorch-fsdp2

> Adds PyTorch FSDP2 (fully_shard) to training scripts with correct init, sharding, mixed precision/offload config, and d…

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.

- Type: Skill
- Made by: Orchestra-Research
- Formats: Skills
- Version: 30d1593
- Source: https://github.com/orchestra-research/ai-research-skills/tree/HEAD/08-distributed-training/pytorch-fsdp2
- Page: https://pluginboard.ai/skills/pytorch-fsdp2-orchestra-research

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the pytorch-fsdp2 folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### Claude

In Claude (web or desktop): Download the pytorch-fsdp2 folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### Gemini

In Gemini: Download the pytorch-fsdp2 folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 ~/.copilot/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### Cursor

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 ~/.cursor/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### Claude Code

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 ~/.claude/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

Or all of AI Research Skills (Orchestra), in Claude Code:

```text
/plugin marketplace add Orchestra-Research/AI-Research-SKILLs
/plugin install rag@ai-research-skills
```

### Codex

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 ~/.agents/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### Antigravity

In Antigravity: Copy the pytorch-fsdp2 folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### Gemini CLI

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 ~/.gemini/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### Replit

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 .agents/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### OpenClaw

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 ~/.openclaw/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### OpenCode

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 ~/.config/opencode/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

### Hermes Agent

Run in your terminal:

```shell
npx -y degit Orchestra-Research/AI-Research-SKILLs/08-distributed-training/pytorch-fsdp2 ~/.hermes/skills/pytorch-fsdp2
```

View the folder on GitHub: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/HEAD/08-distributed-training/pytorch-fsdp2

---
From Pluginboard (https://pluginboard.ai).
