Chuyển đến nội dung
Skillpedia
Học máy260k · #521

pytorch-fsdp

Skill này làm gì

Skill cung cấp hướng dẫn FSDP của PyTorch cùng ví dụ tham chiếu để chia mô hình lớn ra nhiều GPU trong lúc huấn luyện. Phù hợp với lập trình viên huấn luyện mô hình quá lớn để nằm trên một GPU.

Khi nào nên dùng

  • ✓Khi bạn cần huấn luyện một mô hình quá lớn để vừa trên một GPU.
  • ✓Khi bạn muốn các ví dụ về bọc mô hình, chiến lược phân mảnh hoặc checkpoint.
  • ✓Khi bạn đang gỡ lỗi một script huấn luyện FSDP.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/mlops/pytorch-fsdp/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Giúp tôi bọc mô hình transformer của tôi bằng FSDP với độ chính xác hỗn hợp, và lưu checkpoint đúng cách.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm các mẫu phù hợp trong các file tham chiếu của skill và điều chỉnh chúng cho code của bạn, thay vì dựa vào trí nhớ. Sau đó agent giúp bạn kiểm tra các thay đổi.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Các ví dụ được lưu ở đâu?

Trong một file tham chiếu mẫu chung mà agent tải khi cần.

Nó có bao quát toàn bộ PyTorch không?

Không. Skill tập trung vào cách dùng và các mẫu FSDP.

Hướng dẫn lấy từ đâu?

Skill nói nó được tạo từ tài liệu chính thức của PyTorch.

Chi tiết

Mô tả gốc của tác giả

Fully sharded data-parallel training for large models.

repo: NousResearch/hermes-agent

Độ phổ biến

Sao GitHub
260k
Vị trí xếp hạng
#521
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự