pytorch-fsdp

pytorch-fsdp is a skill for Claude Code, Codex from NousResearch/hermes-agent. It costs 17 tokens per session (522 once invoked), scanned A, original, MIT.

A PyTorch feature for splitting a large model across multiple GPUs and training machines. Each device stores only part of the model, reducing the memory needed per device.

In plain words
What is it for?
For building, debugging, and tuning large-model training with PyTorch's fully sharded data-parallel system.
Why use it?
It makes training models possible when one GPU cannot hold the full model. It also provides options for distributed training, checkpoints, and mixed-precision calculations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit For building, debugging, and tuning large-model training with PyTorch's fully sharded data-parallel system.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nousresearch/hermes-agent/pytorch-fsdp
About the project

Hermes Agent is an AI assistant that learns from its use by creating and improving skills, retaining knowledge, searching past conversations, and adapting to its users. It is for people who want to run an agent through a terminal or messaging platforms while connecting it to different AI models and scheduled tasks.

NousResearch/hermes-agent · 267,016 stars · on GitHub · hermes-agent.nousresearch.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NousResearch/hermes-agent --skill pytorch-fsdp
Clone the repo
git clone --depth 1 https://github.com/NousResearch/hermes-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pytorch-fsdp

README.md
[![agentmods](https://agentmods.dev/badge/skills/nousresearch/hermes-agent/pytorch-fsdp/github.svg)](https://agentmods.dev/skills/nousresearch/hermes-agent/pytorch-fsdp)
Your own site
<a href="https://agentmods.dev/skills/nousresearch/hermes-agent/pytorch-fsdp"><img src="https://agentmods.dev/badge/skills/nousresearch/hermes-agent/pytorch-fsdp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pytorch-fsdp

Your own site · 80×15
<a href="https://agentmods.dev/skills/nousresearch/hermes-agent/pytorch-fsdp"><img src="https://agentmods.dev/badge/skills/nousresearch/hermes-agent/pytorch-fsdp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 522 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00522
Opus 5.5 $0.00007 $0.00209
Sonnet 5.5 $0.00003 $0.00104
Haiku 4.5 $0.00002 $0.00052

Measured 2mo ago against content hash b83b96daf422, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pytorch-fsdp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

optional-skills/mlops/pytorch-fsdp/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on 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

Read the full file on GitHub · 83 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 83 lines · 17 tokens per session scan A b83b96daf422

Subscribe to this mod's changes

pytorch-fsdp is a skill published in the GitHub repository NousResearch/hermes-agent (267,016 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 522 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

pytorch-fsdp compared with skills from other repositories

pytorch-fsdp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pytorch-fsdpNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex
pytorch-patternsaffaan-m/ECCSkill313k7d agoMITA32Claude Code, Kiro
claude-apiasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A317Claude Code, Codex
caveman-discoverJuliusBrussee/cavemanSkill124ktodayApache-2.0A44Claude Code
mle-workflowaffaan-m/ECCSkill313k7d agoMITA44Claude Code, Codex
gemini-api-devasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A96Claude Code, Codex
gemini-live-api-devasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A110Claude Code, Codex