[Agent] Add skill for cross ecosystem custom op migration#78866
Open
SigureMo wants to merge 5 commits intoPaddlePaddle:developfrom
Open
[Agent] Add skill for cross ecosystem custom op migration#78866SigureMo wants to merge 5 commits intoPaddlePaddle:developfrom
SigureMo wants to merge 5 commits intoPaddlePaddle:developfrom
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Claude <noreply@anthropic.com>
|
你的PR提交成功,感谢你对开源项目的贡献! |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new .agents skill (“paddle-cross-ecosystem-custom-op”) to guide cross-ecosystem PyTorch custom-op migration to Paddle, including playbooks, internal codebase anchor references, runtime debugging guidance, and eval prompts.
Changes:
- Introduce new skill definition (
SKILL.md) describing scope, constraints, workflow, and reference entry points. - Add multiple reference docs covering mechanism overview, migration playbook, compat-gap policy, ecosystem diff patterns, Paddle internal anchors, and runtime debugging.
- Add a small eval suite (
evals.json) for prompting/expected-output checks.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
.agents/skills/paddle-cross-ecosystem-custom-op/SKILL.md |
Defines the new skill’s purpose/workflow and links to references. |
.agents/skills/paddle-cross-ecosystem-custom-op/evals/evals.json |
Adds evaluation prompts/expected outputs for the skill. |
.agents/skills/paddle-cross-ecosystem-custom-op/references/mechanism-overview.md |
Summarizes the official “4-layer” compat mechanism and where to debug. |
.agents/skills/paddle-cross-ecosystem-custom-op/references/migration-playbook.md |
Step-by-step migration playbook emphasizing minimal changes. |
.agents/skills/paddle-cross-ecosystem-custom-op/references/paddle-internals.md |
Provides internal Paddle file “anchors” for deeper debugging. |
.agents/skills/paddle-cross-ecosystem-custom-op/references/runtime-debugging.md |
Runtime alignment/debugging checklist focused on place/device/stream semantics. |
.agents/skills/paddle-cross-ecosystem-custom-op/references/ecosystem-diff-patterns.md |
Patterns for analyzing PFCCLab forks vs upstream and choosing first patch targets. |
.agents/skills/paddle-cross-ecosystem-custom-op/references/compat-gap-policy.md |
Policy for classifying compat gaps, scoping workarounds, and preparing MRE/issues. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
_preload_libcudart This reverts commit db8fc6c.
zrr1999
approved these changes
May 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Category
User Experience
PR Types
Docs
Description
添加跨生态自定义算子迁移 skill
是否引起精度变化
否
This PR is refined by @claude (glm-5.1 high)
This PR is reviewed by @codex (gpt-5.5 xhigh)