-
Notifications
You must be signed in to change notification settings - Fork 877
[Compat] Add docs for cross ecosystem custom ops #7660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Compat] Add docs for cross ecosystem custom ops #7660
Conversation
📚 本次 PR 文档预览链接(点击展开)
|
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7660.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive Chinese documentation for cross-ecosystem custom operators, enabling users to migrate custom operators from PyTorch and other frameworks to PaddlePaddle. The documentation introduces a compatibility mechanism that minimizes migration effort by providing API compatibility layers at both C++ and Python levels.
Key Changes:
- Introduces a new documentation section explaining how to migrate custom operators from other deep learning frameworks (primarily PyTorch) to PaddlePaddle
- Provides detailed user guide with installation and usage examples for adapted operator libraries (FlashInfer, FlashMLA, DeepGEMM, etc.)
- Includes migration guide explaining the compatibility architecture and step-by-step migration process with concrete code examples
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| docs/guides/custom_op/index_cn.rst | Updated table of contents to include new cross-ecosystem custom operator documentation section |
| docs/guides/custom_op/cross_ecosystem_custom_op/index_cn.rst | Created index page for cross-ecosystem custom operator documentation with navigation to user guide and migration guide |
| docs/guides/custom_op/cross_ecosystem_custom_op/user_guide_cn.md | Added user guide covering installation methods, usage patterns, supported operator libraries, and Kernel DSL ecosystem support |
| docs/guides/custom_op/cross_ecosystem_custom_op/design_and_migration_cn.md | Added detailed migration guide explaining compatibility principles, architecture diagrams, and step-by-step migration instructions with code examples |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
docs/guides/custom_op/cross_ecosystem_custom_op/user_guide_cn.md
Outdated
Show resolved
Hide resolved
docs/guides/custom_op/cross_ecosystem_custom_op/design_and_migration_cn.md
Outdated
Show resolved
Hide resolved
docs/guides/custom_op/cross_ecosystem_custom_op/design_and_migration_cn.md
Outdated
Show resolved
Hide resolved
docs/guides/custom_op/cross_ecosystem_custom_op/design_and_migration_cn.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <[email protected]>
This reverts commit 7224bde.
yongqiangma
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
添加跨生态自定义算子使用方式和原理迁移方式的文档