Skip to content
Skillpedia
Machine learning260k · #521

pytorch-fsdp

What it does

It provides PyTorch FSDP guidance and reference examples for splitting large models across GPUs during training. It is for developers training models too big for one GPU.

When to use it

  • ✓When you need to train a model too large to fit on one GPU.
  • ✓When you want examples for wrapping, sharding strategies, or checkpoints.
  • ✓When you are debugging an FSDP training script.

Skill link

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/mlops/pytorch-fsdp/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/mlops/pytorch-fsdp/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Help me wrap my transformer in FSDP with mixed precision, and save checkpoints correctly.”

5 new skills a week. 1 minute to read.

How it works

The agent looks up matching patterns in the skill's reference files and adapts them to your code, rather than relying on memory. It then helps you check the changes.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Pytorch-Fsdp Skill

Assistance with pytorch-fsdp development, generated from official documentation.

When to Use This Skill

This skill should be triggered when:

  • Working with pytorch-fsdp
  • Asking about pytorch-fsdp features or APIs
  • Implementing pytorch-fsdp solutions
  • Debugging pytorch-fsdp code
  • Learning pytorch-fsdp best practices

Quick Reference

The full common-patterns catalog (~157k chars of runnable FSDP snippets) lives in references/common-patterns.md — load it with read_file when you need wrapping, sharding-strategy, checkpoint, or mixed-precision examples. Start there rather than reconstructing FSDP incantations from memory.

Reference Files

This skill includes comprehensive documentation in references/:

  • other.md - Other documentation

Use view to read specific reference files when detailed information is needed.

Working with This Skill

For Beginners

Start with the getting_started or tutorials reference files for foundational concepts.

For Specific Features

Use the appropriate category reference file (api, guides, etc.) for detailed information.

For Code Examples

The quick reference section above contains common patterns extracted from the official docs.

Resources

references/

Organized documentation extracted from official sources. These files contain:

  • Detailed explanations
  • Code examples with language annotations
  • Links to original documentation
  • Table of contents for quick navigation

scripts/

Add helper scripts here for common automation tasks.

assets/

Add templates, boilerplate, or example projects here.

Notes

  • This skill was automatically generated from official documentation
  • Reference files preserve the structure and examples from source docs
  • Code examples include language detection for better syntax highlighting
  • Quick reference patterns are extracted from common usage examples in the docs

Updating

To refresh this skill with updated documentation:

  1. Re-run the scraper with the same configuration
  2. The skill will be rebuilt with the latest information
FAQ

Where are the examples kept?

In a common-patterns reference file that the agent loads when it needs them.

Does it cover all of PyTorch?

No. The skill focuses on FSDP usage and patterns.

Where does the guidance come from?

The skill says it was generated from official PyTorch documentation.

Details

Original description by the author

Fully sharded data-parallel training for large models.

repo: NousResearch/hermes-agent

Popularity

GitHub stars
260k
Ranking position
#521
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills