mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-17 04:11:35 +00:00
New tests/skills/test_authoring_standards.py parametrizes every bundled + optional SKILL.md (1148 checks) against the mechanically-verifiable subset of the hardline standards: - required frontmatter fields (name/description/version/author/license/ platforms) + tags - frontmatter name == directory name - description <= 60 chars, ends with period, no marketing words - related_skills resolve in-repo - no machine-local paths - <= 100k chars Grandfather dict for legacy debt ships EMPTY — all pre-existing violations fixed in this PR: - 13 frontmatter names canonicalized to their directory names (the install identifier); all related_skills references updated (comfyui -> stable- diffusion). Fixes the class behind PR #42788's report; also fixes here.now's invalid dot-name. - optional-skills/devops/cli -> inference-sh-cli (dir was the generic 'cli'; fm name was right) incl. docs pages (en + zh-Hans), catalog row, sidebar entry. - pytorch-fsdp: 157k generated 'Quick Reference' dump moved to references/common-patterns.md; SKILL.md 159k -> 2.5k with a pointer. - research-paper-writing: 31.7k Phase 5 drafting section moved to references/phase5-paper-drafting.md; SKILL.md 103k -> 71k. Docs regenerated with scope discipline.
82 lines
2.4 KiB
Markdown
82 lines
2.4 KiB
Markdown
---
|
|
name: pytorch-fsdp
|
|
description: Fully sharded data-parallel training for large models.
|
|
version: 1.0.0
|
|
author: Orchestra Research
|
|
license: MIT
|
|
dependencies: [torch>=2.0, transformers]
|
|
platforms: [linux, macos]
|
|
metadata:
|
|
hermes:
|
|
tags: [Distributed Training, PyTorch, FSDP, Data Parallel, Sharding, Mixed Precision, CPU Offloading, FSDP2, Large-Scale Training]
|
|
|
|
---
|
|
|
|
# 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
|
|
|
|
|