pytorch-fsdp

pytorch-fsdp is a skill for Claude Code, Codex from RedWoodOG/Hermes-Desktop. It costs 37 tokens per session (36,334 once invoked), scanned B, original, no licence file.

Expert guidance for PyTorch Fully Sharded Data Parallel, a method that splits model parameters across devices during training. It covers sharding, mixed precision, CPU offloading, and FSDP2.

In plain words
What is it for?
Use it to plan distributed PyTorch training with parameter sharding, reduced-precision computation, or CPU memory offloading.
Why use it?
It helps train models that may not fit in the memory of a single GPU by distributing their training data and parameters.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to plan distributed PyTorch training with parameter sharding, reduced-precision computation, or CPU memory offloading.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redwoodog/hermes-desktop/pytorch-fsdp
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 RedWoodOG/Hermes-Desktop --skill pytorch-fsdp
Clone the repo
git clone --depth 1 https://github.com/RedWoodOG/Hermes-Desktop

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/redwoodog/hermes-desktop/pytorch-fsdp/github.svg)](https://agentmods.dev/skills/redwoodog/hermes-desktop/pytorch-fsdp)
Your own site
<a href="https://agentmods.dev/skills/redwoodog/hermes-desktop/pytorch-fsdp"><img src="https://agentmods.dev/badge/skills/redwoodog/hermes-desktop/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/redwoodog/hermes-desktop/pytorch-fsdp"><img src="https://agentmods.dev/badge/skills/redwoodog/hermes-desktop/pytorch-fsdp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 36,334 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00037 $0.36334
Opus 5 $0.00018 $0.18167
Sonnet 5 $0.00007 $0.07267
Haiku 4.5 $0.00004 $0.03633

Measured 9d ago against content hash c24e9e5123da, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

pytorch-fsdp scanned grade B with 1 finding 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 9d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

**Pattern 2:** Distributed communication package - torch.distributed# Created On: Jul 12, 2017 | Last Updated On: Sep 04, 2025 Note Please refer to PyTorch Distributed Overview for a brief introduction to all features re
skills/mlops/training/pytorch-fsdp/SKILL.md · 130 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 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. 9d ago First seen · 130 lines · 37 tokens per session scan B c24e9e5123da

Subscribe to this mod's changes

pytorch-fsdp is a skill published in the GitHub repository RedWoodOG/Hermes-Desktop (178 stars, last pushed 3mo ago), with no licence file. It adds 37 tokens to every session and 36,334 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

fs-notebook-tabs

A computer-science capstone: an on-device ML keyboard that predicts next words privately — problem, method, evaluation, and defense answers. Built as a decision-grade coursework defense deck for professor, defense committee.

nexu-io/open-design · 47 tokens

implementing-llms-litgpt

Implements and trains LLMs using Lightning AI's LitGPT with 20+ pretrained architectures (Llama, Gemma, Phi, Qwen, Mistral). Use when need clean model implementations, educational understanding of architectures, or production fine-tuning with LoRA/QLoRA. Single-file implementations, no abstraction layers.

davila7/claude-code-templates · 77 tokens

nanogpt

Educational GPT implementation in 300 lines. Reproduces GPT-2 (124M) on OpenWebText. Clean, hackable code for learning transformers. By Andrej Karpathy. Perfect for understanding GPT architecture from scratch. Train on Shakespeare (CPU) or OpenWebText (multi-GPU).

davila7/claude-code-templates · 65 tokens

rwkv-architecture

RNN+Transformer hybrid with O(n) inference. Linear time, infinite context, no KV cache. Train like GPT (parallel), infer like RNN (sequential). Linux Foundation AI project. Production at Windows, Office, NeMo. RWKV-7 (March 2025). Models up to 14B parameters.

davila7/claude-code-templates · 72 tokens

kaggle-learner

This skill should be used when the user asks to "learn from Kaggle", "study Kaggle solutions", "analyze Kaggle competitions", or mentions Kaggle competition URLs. Provides access to extracted knowledge from winning Kaggle solutions across NLP, CV, time series, tabular, and multimodal domains.

Galaxy-Dawn/claude-scholar · 69 tokens

data-science-engineering-foundation

State, resume, reconstruction, job-lifecycle, transition, and flow-state mechanics for the Data Science and Engineering Coach. Loaded by the coach; not a user entry point.

microsoft/hve-core · 43 tokens