Skip to content

Conversation

@SigureMo
Copy link
Member

@SigureMo SigureMo commented Dec 1, 2025

添加跨生态自定义算子使用方式和原理迁移方式的文档

@SigureMo SigureMo marked this pull request as draft December 1, 2025 13:57
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

📚 本次 PR 文档预览链接(点击展开)
ℹ️ 预览提醒
请等待 Docs-NEW 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。
  • docs/guides/custom_op/cross_ecosystem_custom_op/design_and_migration_cn.md: 点击预览
  • docs/guides/custom_op/cross_ecosystem_custom_op/index_cn.rst: 点击预览
  • docs/guides/custom_op/cross_ecosystem_custom_op/user_guide_cn.md: 点击预览
  • docs/guides/custom_op/index_cn.rst: 点击预览

@paddle-bot
Copy link

paddle-bot bot commented Dec 1, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7660.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@SigureMo SigureMo marked this pull request as ready for review December 3, 2025 02:14
Copilot AI review requested due to automatic review settings December 3, 2025 02:14
Copy link
Contributor

Copilot AI left a 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.

Copy link
Contributor

@yongqiangma yongqiangma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SigureMo SigureMo merged commit 346fe7d into PaddlePaddle:develop Dec 3, 2025
5 checks passed
@SigureMo SigureMo deleted the add-cross-ecosystem-custom-op-docs branch December 3, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants