本文へスキップ
Skillpedia
機械学習260k · #521

pytorch-fsdp

できること

大規模なモデルを学習中に複数のGPUに分割するための、PyTorch FSDPの指針と参考例を提供します。1つのGPUに収まらないモデルを学習する開発者向けです。

使う場面

  • ✓1つのGPUに収まらないほど大きなモデルを学習する必要があるとき。
  • ✓ラップ、シャーディング戦略、チェックポイントの例がほしいとき。
  • ✓FSDPの学習スクリプトのデバッグをしているとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/mlops/pytorch-fsdp/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“トランスフォーマーを混合精度のFSDPでラップし、チェックポイントを正しく保存する方法を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、スキルの参考ファイルから一致するパターンを探し、記憶に頼らずにあなたのコードに合わせて調整します。その後、変更の確認を手伝います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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
よくある質問

例はどこに保存されていますか?

共通パターンの参考ファイルに保存されており、必要になったときにエージェントが読み込みます。

PyTorch全体を扱いますか?

いいえ。スキルはFSDPの使い方とパターンに焦点を当てています。

指針はどこから来ていますか?

スキルによると、公式のPyTorchのドキュメントから生成されたものです。

詳細

作者による元の説明

Fully sharded data-parallel training for large models.

repo: NousResearch/hermes-agent

人気

GitHubのスター
260k
ランキング
#521
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル