Skip to content

[Agent] Add skill for cross ecosystem custom op migration#78866

Open
SigureMo wants to merge 5 commits intoPaddlePaddle:developfrom
cattidea:agents/add-cross-ecosystem-custom-op-skill
Open

[Agent] Add skill for cross ecosystem custom op migration#78866
SigureMo wants to merge 5 commits intoPaddlePaddle:developfrom
cattidea:agents/add-cross-ecosystem-custom-op-skill

Conversation

@SigureMo
Copy link
Copy Markdown
Member

@SigureMo SigureMo commented May 1, 2026

PR Category

User Experience

PR Types

Docs

Description

添加跨生态自定义算子迁移 skill

是否引起精度变化

This PR is co-authored with @copilot (gpt-5.4 xhigh)
This PR is refined by @claude (glm-5.1 high)
This PR is reviewed by @codex (gpt-5.5 xhigh)

SigureMo and others added 2 commits May 2, 2026 02:03
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>
Copilot AI review requested due to automatic review settings May 1, 2026 19:05
@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented May 1, 2026

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
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

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.

Comment thread .agents/skills/paddle-cross-ecosystem-custom-op/SKILL.md
Comment thread .agents/skills/paddle-cross-ecosystem-custom-op/SKILL.md
SigureMo and others added 2 commits May 2, 2026 03:14
Co-authored-by: Codex <noreply@openai.com>

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
_preload_libcudart

This reverts commit db8fc6c.
@SigureMo SigureMo changed the title [Agent] Add skill for cross ecosystem custom op [Agent] Add skill for cross ecosystem custom op migration May 1, 2026
@SigureMo SigureMo requested a review from zrr1999 May 1, 2026 19:20
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