pytorch-fsdp2

orchestra-research/pytorch-fsdp2 · Agent Skill (multi-file)

by Orchestra Research · bundle

Published · Last updated


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.

SKILL.md

Files

This skill is a package of 13 files. Install with the command above, or download the folder.

Related

  1. pytorch-fsdp · ichichuang bundle
    Provides expert guidance on PyTorch Fully Sharded Data Parallel (FSDP) training, covering parameter sharding, mixed precision, CPU offloading, and FSDP2.
    0
    repo stars
  2. pytorch-lightning · k-dense-ai bundle
    Organize PyTorch code into LightningModules, configure Trainers for multi-GPU/TPU, implement data pipelines, callbacks, logging (W&B, TensorBoard, MLflow), and distributed training (DDP, FSDP, DeepSpeed) for scalable neural network training.
    30.2k
    repo stars
  3. pytorch-lightning · orchestra-research bundle
    Organizes PyTorch code with a Trainer class, automatic distributed training (DDP/FSDP/DeepSpeed), callbacks, and minimal boilerplate. Scales from laptop to supercomputer with the same code.
    10.4k
    repo stars
  4. distributed-llm-pretraining-torchtitan · qhjqhj00 bundle
    Pretrains large language models at scale using PyTorch-native torchtitan with 4D parallelism, Float8, and distributed checkpointing.
    3
    repo stars
  5. lambda-labs-gpu-cloud · orchestra-research bundle
    Manage and use Lambda Labs GPU cloud instances for ML training and inference with SSH access, persistent filesystems, and multi-node clusters.
    10.4k
    repo stars
  6. huggingface-accelerate · orchestra-research bundle
    Add distributed training support to any PyTorch script with minimal code changes using a unified API for DDP, DeepSpeed, FSDP, and mixed precision.
    10.4k
    repo stars

Frequently asked questions

How do I install the pytorch-fsdp2 skill?

Run npx skillmds add orchestra-research/pytorch-fsdp2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.

What does the pytorch-fsdp2 skill do?

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. It is listed under Coding & Dev Tools, AI & ML, Model Training & Fine-tuning on SkillMD.

Is pytorch-fsdp2 safe to use?

SkillMD's automated safety review verdict for this skill is PASS. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: reads secrets. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.

Which AI agents work with pytorch-fsdp2?

This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.

Is pytorch-fsdp2 free to use?

Yes. Installing skills from SkillMD is free. This skill is licensed under MIT.

Who published pytorch-fsdp2?

Orchestra Research (@orchestra-research) published this skill. Their other Agent Skills are listed on their SkillMD profile.