๐Ÿงฉ
AI EngineeringTeX

PyTorch FSDP2

by Orchestra-Research

PyTorch FSDP2 is an AI Engineering skill for Claude Code, published by Orchestra-Research in AI-Research-SKILLs.

11.6K stars844 forkson Orchestra-Research/AI-Research-SKILLsAdded 2026/08/12+1% in starsRepository updated 2026/06/16
aiai-researchclaudeclaude-codeclaude-skillscodexgeminigpt-5grpohuggingfacemachine-leanringmegatronskillsvllm
Install in seconds
Install PyTorch FSDP2
Copy PyTorch FSDP2 into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/main/08-distributed-training/pytorch-fsdp2 ~/.claude/skills/pytorch-fsdp2

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/Orchestra-Research/AI-Research-SKILLs.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
08-distributed-training/pytorch-fsdp2/SKILL.md in Orchestra-Research/AI-Research-SKILLs
Installs to
~/.claude/skills/pytorch-fsdp2
Collection
One of 50 skills cataloged from this repository
Category
AI Engineering โ€” 2451 skills

What PyTorch FSDP2 does

PyTorch FSDP2 adds fully_shard-based distributed sharding to training scripts with the right init, mixed precision, offload, optimizer, and checkpointing flow. Use it when a model does not fit on one GPU or you need DTensor-based sharding with DeviceMesh.

PyTorch FSDP2 is cataloged under AI Engineering on DirSkills. PyTorch FSDP2 comes from a repository tagged ai, ai-research, claude, claude-code and claude-skills.

Documentation

README

Skill: Use PyTorch FSDP2 (fully_shard) correctly in a training script

This skill teaches a coding agent how to add PyTorch FSDP2 to a training loop with correct initialization, sharding, mixed precision/offload configuration, and checkpointing.

FSDP2 in PyTorch is exposed primarily via torch.distributed.fsdp.fully_shard and the FSDPModule methods it adds in-place to modules. See: references/pytorch_fully_shard_api.md, references/pytorch_fsdp2_tutorial.md.


When to use this skill

This is the opening of the README. Read the full README on GitHub.

Frequently asked about PyTorch FSDP2

  • What else does Orchestra-Research publish alongside PyTorch FSDP2?

    PyTorch FSDP2 is one of 50 skills that DirSkills catalogs from Orchestra-Research/AI-Research-SKILLs, the repository it ships in. Its siblings there include AWQ Quantization, Autoresearch and Axolotl. Each one is a separate skill with its own page in this directory, installs the same way PyTorch FSDP2 does, and is maintained by Orchestra-Research in that same repository. The rest of the collection is listed on the Orchestra-Research/AI-Research-SKILLs page.

  • How does PyTorch FSDP2 compare to other AI Engineering skills?

    PyTorch FSDP2 ranks #356 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of PyTorch FSDP2 against them. Open each page to compare what they document and how they install.

More from Orchestra-Research/AI-Research-SKILLs

PyTorch FSDP2 is one of 50 skills cataloged on DirSkills from Orchestra-Research/AI-Research-SKILLs.

See all 50 skills โ†’
โš™๏ธ
3w ago

AWQ Quantization

AWQ Quantization compresses large language models to 4-bit with activation-aware weight selection. Use it to deploy 7B-70B models on limited GPU memory while keeping accuracy loss low.
AI Engineering
11.6K844
๐Ÿ”ฌ
2026/07/19

Autoresearch

Orchestrates end-to-end autonomous AI research projects using a two-loop architecture for rapid experiment iteration and synthesis. Routes to domain-specific skills, supports continuous operation, and produces research presentations and papers.
AI Engineering
11.6K838
๐Ÿง 
2026/07/19

Axolotl

Comprehensive guidance for fine-tuning LLMs using Axolotl, including YAML configuration, 100+ model support, LoRA/QLoRA, DPO/KTO/ORPO/GRPO, and multimodal training.
AI Engineering
11.6K838
๐Ÿงช
3w ago

BigCode Evaluation Harness

BigCode Evaluation Harness evaluates code generation models on HumanEval, MBPP, MultiPL-E, and other benchmarks with pass@k metrics. Use it to benchmark coding ability, compare models, and measure multi-language code generation quality.
Quality
11.6K844
๐Ÿงฎ
3w ago

Bitsandbytes Model Quantization

Bitsandbytes Model Quantization loads LLMs in 8-bit or 4-bit to cut GPU memory use and fit larger models. Use it for Hugging Face Transformers inference, QLoRA fine-tuning, or 8-bit optimizers when VRAM is limited.
AI Engineering
11.6K844
๐Ÿ›ก๏ธ
3w ago

Constitutional AI

Constitutional AI trains models with self-critique, revision, and AI feedback to reduce harmful outputs without human labels. Use it when you need safety alignment or a clear set of principles for model behavior.
AI Engineering
11.6K844