Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
25ab366
merge paddlefleet to paddleformers
zjjlivein Jun 15, 2026
0a3e83e
merge paddlefleet to paddleformers
risemeup1 Jun 15, 2026
f773a78
merge paddlefleet to paddleformers
risemeup1 Jun 16, 2026
f46a34c
merge paddlefleet to paddleformers
risemeup1 Jun 16, 2026
87bb9ef
merge paddlefleet ci to paddleformers
risemeup1 Jun 16, 2026
ac7b330
fix ci build ops whl bug
Jun 16, 2026
0142ff8
fix ci build ops whl bug
risemeup1 Jun 16, 2026
f721309
fix ci build ops whl bug
risemeup1 Jun 16, 2026
66ba238
fix codestyle
LLLLLLLLLLLLe Jun 16, 2026
a5e6d60
fix ci bug
Jun 17, 2026
df74d65
fix ci test error
XieYunshen Jun 18, 2026
40b7303
fix ci test error
XieYunshen Jun 18, 2026
e92565d
fix ci test error
XieYunshen Jun 18, 2026
be07e2c
fix ci test error
XieYunshen Jun 18, 2026
cd445ec
merge paddlefleet develop
XieYunshen Jun 23, 2026
cece4d2
merge paddleformers develop
XieYunshen Jun 23, 2026
49162e1
merge paddleformers develop
XieYunshen Jun 23, 2026
11ebe99
merge paddleformers develop
XieYunshen Jun 23, 2026
978b2c4
merge paddleformers develop
XieYunshen Jun 23, 2026
d754c39
debug
XieYunshen Jun 23, 2026
1e87347
debug
XieYunshen Jun 23, 2026
78c9d34
debug
XieYunshen Jun 23, 2026
6db90b2
fix ci bug
Jun 23, 2026
c46f1f4
merge_paddlefleet_to_paddleformers
Jun 24, 2026
fbc056e
merge_paddlefleet_to_paddleformers
risemeup1 Jun 24, 2026
703edac
fix
risemeup1 Jun 24, 2026
9154e45
fix ci failed test
risemeup1 Jun 24, 2026
0ab971f
fix ci failed test
risemeup1 Jun 24, 2026
4299774
fix ci test error
XieYunshen Jun 25, 2026
27200d4
fix ci test error
XieYunshen Jun 25, 2026
785fa81
fix
Jun 25, 2026
a165d9f
Merge branch 'develop' of https://github.com/PaddlePaddle/PaddleForme…
risemeup1 Jun 25, 2026
ee0d3ee
fix
risemeup1 Jun 25, 2026
a243335
fix
risemeup1 Jun 25, 2026
37887d5
fix: use PR-range diff for packages_changed detection and add moe_log…
Jun 26, 2026
35e32b3
fix
Jun 26, 2026
2a63df3
fix: update paddlefleet_ops version to 1.2.0 to match PaddleFormers r…
risemeup1 Jun 26, 2026
baf4406
fix: align paddlefleet_ops version commit lookup with PaddleFleet logic
risemeup1 Jun 26, 2026
593a2be
fix: add build_backend.py for paddleformers version with git date+commit
risemeup1 Jun 26, 2026
d2bf075
fix: paddlefleet_ops uses HEAD commit/date to align with paddleformers
risemeup1 Jun 26, 2026
ecbdd92
fix: revert ops version to track last packages/ commit (sparse mapping)
risemeup1 Jun 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .flake8

This file was deleted.

36 changes: 18 additions & 18 deletions .github/ISSUE_TEMPLATE/ask-question.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: 🐛 Ask Question
description: 请描述您使用PaddleFormers时遇到的问题
title: "[Question]: "
labels:
labels:
- question
body:
- type: markdown
attributes:
value: >
#### 你可以在这里提出一个使用/咨询问题,提问之前请确保:
- 1)已经百度/谷歌搜索过你的问题,但是没有找到解答;
- 2)已经在官网查询过[API文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html)与[FAQ](https://www.paddlepaddle.org.cn/documentation/docs/zh/faq/index_cn.html),但是没有找到解答;
- 3)已经在[历史issue](https://github.com/PaddlePaddle/Paddle/issues)中搜索过,没有找到同类issue或issue未被解答。
- type: textarea
id: question
attributes:
label: 请提出你的问题
validations:
required: true
- type: markdown
attributes:
value: >
#### 你可以在这里提出一个使用/咨询问题,提问之前请确保:

- 1)已经百度/谷歌搜索过你的问题,但是没有找到解答;

- 2)已经在官网查询过[API文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html)与[FAQ](https://www.paddlepaddle.org.cn/documentation/docs/zh/faq/index_cn.html),但是没有找到解答;

- 3)已经在[历史issue](https://github.com/PaddlePaddle/Paddle/issues)中搜索过,没有找到同类issue或issue未被解答。

- type: textarea
id: question
attributes:
label: 请提出你的问题
validations:
required: true
20 changes: 10 additions & 10 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 🐛 Bug Report
description: PaddleFormers问题反馈
title: "[Bug]: "
labels: bug
body:
body:
- type: textarea
id: environment
attributes:
Expand All @@ -11,25 +11,25 @@ body:
请使用以下命令给出您本地Paddle相关包信息
```sh
pip list | grep paddle

```
value: |
- paddlepaddle:
- paddlepaddle-gpu:
- paddleformers:
- paddlepaddle:
- paddlepaddle-gpu:
- paddleformers:
render: Markdown
validations:
required: true
- type: checkboxes
id: dumplicated-problem
id: duplicated-problem
attributes:
label: 重复问题
description: 是否已在issues中搜索相关问题
options:
- label: I have searched the existing issues
required: true
- label: I have searched the existing issues
required: true
- type: textarea
id: descripton
id: description
attributes:
label: 错误描述
description: 给出错误详细描述,以便能够更好的追踪相关问题
Expand All @@ -42,4 +42,4 @@ body:
label: 稳定复现步骤 & 代码
description: 请给出稳定复现该问题的步骤 & 代码,以便相关人员能够快速定位到具体问题。
validations:
required: true
required: true
15 changes: 7 additions & 8 deletions .github/ISSUE_TEMPLATE/docs-report.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: 🐛 Docs Report
description: PaddleFormers文档反馈
title: "[Docs]: "
labels:
labels:
- documentation

body:
body:
- type: textarea
id: environment
attributes:
Expand All @@ -13,12 +12,12 @@ body:
请使用以下命令给出您本地Paddle相关包信息
```sh
pip list | grep paddle

```
value: |
- paddlepaddle:
- paddlepaddle-gpu:
- paddleformers:
- paddlepaddle:
- paddlepaddle-gpu:
- paddleformers:
render: Markdown
validations:
required: true
Expand All @@ -29,4 +28,4 @@ body:
description: 请详细描述您想要反馈的具体问题
render: Markdown
validations:
required: true
required: true
8 changes: 3 additions & 5 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "\U0001F680 Feature request"
name: "🚀 Feature request"
description: 请详细描述您所需功能
labels: [ "feature" ]
labels: ["feature"]
body:
- type: textarea
id: feature-request
Expand All @@ -9,8 +9,7 @@ body:
attributes:
label: Feature request
description: |
对特性提案的清晰而简明的描述。如果论文和代码存在,请提供链接。

对特性提案的清晰而简明的描述。如果论文和代码存在,请提供链接。
- type: textarea
id: motivation
validations:
Expand All @@ -19,7 +18,6 @@ body:
label: Motivation
description: |
请概述这项建议的动机。您的特性要求与问题有关吗?

- type: textarea
id: contribution
validations:
Expand Down
9 changes: 3 additions & 6 deletions .github/ISSUE_TEMPLATE/new-model.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "\U0001F31F 添加新模型"
name: "🌟 添加新模型"
description: 请为新模型提交一份说明
labels: [ "New model" ]

labels: ["New model"]
body:
- type: textarea
id: description-request
Expand All @@ -11,18 +10,16 @@ body:
label: 简要描述
description: |
请简要描述模型的类型、解决的问题等。

- type: checkboxes
id: information-tasks
attributes:
label: 是否已开源
options:
- label: 已开源
- label: 未开源

- type: textarea
id: additional-info
attributes:
label: 模型详细信息
description: |
请给出新模型相关信息,如论文地址、现存代码地址等。
请给出新模型相关信息,如论文地址、现存代码地址等。
4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/others.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ body:
label: 问题描述
validations:
required: true

- type: markdown
attributes:
value: >
感谢你的贡献 🎉!


40 changes: 40 additions & 0 deletions .github/actions/check-bypass/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "Check bypass"
description: "A custom action to encapsulate PFCCLab/ci-bypass"
inputs:
github-token:
description: "GitHub token"
required: true
workflow-name:
description: "Workflow name"
required: true
outputs:
can-skip:
description: "Whether the workflow can be skipped."
value: ${{ steps.check-bypass.outputs.can-skip }}
runs:
using: "composite"
steps:
- id: check-bypass
name: Check Bypass
env:
CI_TEAM_MEMBERS: '["swgu98", "risemeup1", "XieYunshen", "luotao1", "tianlef", "ooooo-create"]'
uses: PFCCLab/ci-bypass@v2
with:
github-token: ${{ inputs.github-token }}
non-pull-request-event-strategy: 'never-skipped'
type: 'composite'
composite-rule: |
{
"any": [
{
"type": "labeled",
"label": ["skip-ci: ${{ inputs.workflow-name }}", "skip-ci: all"],
"username": ${{ env.CI_TEAM_MEMBERS }}
},
{
"type": "commented",
"comment-pattern": [".*/skip-ci ${{ inputs.workflow-name }}.*", ".*/skip-ci all.*"],
"username": ${{ env.CI_TEAM_MEMBERS }}
}
]
}
3 changes: 1 addition & 2 deletions .github/actions/rerun-workflow/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ inputs:
JOB_NAME:
description: 'Job name to rerun'
required: true

runs:
using: 'composite'
steps:
Expand All @@ -27,4 +26,4 @@ runs:
OWNER: ${{ inputs.OWNER }}
REPO: ${{ inputs.REPO }}
PR_ID: ${{ inputs.PR_ID }}
JOB_NAME: ${{ inputs.JOB_NAME }}
JOB_NAME: ${{ inputs.JOB_NAME }}
2 changes: 1 addition & 1 deletion .github/actions/rerun-workflow/rerun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ if [ -n "$run_ids" ]; then
else
echo "No matching workflow runs found for commit $COMMIT_SHA."
exit 1
fi
fi
7 changes: 3 additions & 4 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
codecov:
notify:
wait_for_ci: false

coverage:
status:
project:
default:
target: 30% # overall project Coverage
default:
target: 30% # overall project Coverage
threshold: 1% # Allow the coverage to drop by 1%, and posting a success status.
patch:
default:
default:
target: 75% # lines adjusted Coverage < 60% CI will fail
6 changes: 0 additions & 6 deletions .github/workflows/Approval.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
name: Approval

on:
pull_request:
types: [opened, synchronize, reopened]
pull_request_review:
types: [submitted]

env:
BRANCH: ${{ github.base_ref }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_ID: ${{ github.event.pull_request.number }}
COMMIT_ID: ${{ github.event.pull_request.head.sha }}

jobs:
check-approvers:
name: Check approval
Expand All @@ -21,17 +18,14 @@ jobs:
- name: Cleanup
run: |
rm -rf * .[^.]*

- name: Checkout Repository
uses: actions/checkout@v6
with:
fetch-depth: 200

- name: Merge PR to test branch
run: |
git fetch origin pull/${PR_ID}/merge
git checkout -b test FETCH_HEAD

- name: Display Required Approvers
run: |
git remote add upstream https://github.com/PaddlePaddle/PaddleFormers.git
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/_clone_linux.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: PaddleFormers Code Clone
description: "PaddleFormers clone and upload"

on:
workflow_call:
inputs:
bos_dir:
type: string
required: false
default: 'PaddleFormers'
bos_dir:
type: string
required: false
default: 'PaddleFormers'
outputs:
repo_archive_url:
description: "Compressed source code archive."
Expand All @@ -22,12 +21,9 @@ jobs:
- name: Clone PaddleFormers
uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'pull_request'
&& github.event.pull_request.base.ref
|| github.ref_name }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || github.ref_name }}
submodules: 'recursive'
fetch-depth: 1000

- name: Merge PR (if needed)
if: ${{ github.event_name == 'pull_request' }}
run: |
Expand All @@ -38,6 +34,10 @@ jobs:
git merge --no-ff pr/${{ github.event.pull_request.number }}
echo "PR Branch log "
git log --oneline -n 5 pr/${{ github.event.pull_request.number }}
- name: Init submodules
run: |
git submodule sync --recursive
git submodule update --init --recursive
- uses: actions/setup-python@v5
with:
python-version: '3.10'
Expand All @@ -47,9 +47,9 @@ jobs:
AK: paddle
SK: paddle
run: |
git config --unset http.https://github.com/.extraheader
git submodule foreach --recursive sh -c "git config --local --unset-all 'http.https://github.com/.extraheader'"
git submodule foreach --recursive sh -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
git config --unset-all http.https://github.com/.extraheader || true
git submodule foreach --recursive sh -c "git config --local --unset-all 'http.https://github.com/.extraheader' || true"
git submodule foreach --recursive sh -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' || true"
echo "Current HEAD Log:"
git log --oneline -n 5
ls
Expand Down
Loading
Loading