Skip to content

Commit e045231

Browse files
committed
Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into logit_stat_dev
2 parents 44d4367 + 6cff780 commit e045231

48 files changed

Lines changed: 2405 additions & 1317 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/CheckPRTemplate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
rm -rf * .[^.]*
2323
2424
- name: Checkout base branch
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626
with:
2727
ref: ${{ github.event.pull_request.base.ref }}
2828
fetch-depth: 1000
@@ -33,7 +33,7 @@ jobs:
3333
git checkout -b test FETCH_HEAD
3434
3535
- name: Setup Python 3.10
36-
uses: actions/setup-python@v5
36+
uses: actions/setup-python@v6
3737
with:
3838
python-version: '3.10'
3939
cache: 'pip'

.github/workflows/Codestyle-Check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
rm -rf * .[^.]*
2222
2323
- name: Checkout base repo
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525
with:
2626
ref: ${{ github.event.pull_request.base.ref }}
2727
fetch-depth: 1000
@@ -32,7 +32,7 @@ jobs:
3232
git checkout -b test FETCH_HEAD
3333
3434
- name: Setup python3.10
35-
uses: actions/setup-python@v5
35+
uses: actions/setup-python@v6
3636
with:
3737
python-version: '3.10'
3838
cache: 'pip'

.github/workflows/_clone_linux.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
repo_archive_url: ${{ steps.set_output.outputs.repo_archive_url }}
3434
steps:
3535
- name: Clone FastDeploy
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v6
3737
with:
3838
ref: ${{ github.event_name == 'pull_request'
3939
&& github.event.pull_request.base.ref
@@ -51,7 +51,7 @@ jobs:
5151
git merge --no-ff pr/${{ github.event.pull_request.number }}
5252
echo "PR Branch log "
5353
git log --oneline -n 5 pr/${{ github.event.pull_request.number }}
54-
- uses: actions/setup-python@v5
54+
- uses: actions/setup-python@v6
5555
with:
5656
python-version: '3.10'
5757
- name: Code Info Show and Upload
@@ -60,8 +60,6 @@ jobs:
6060
AK: paddle
6161
SK: paddle
6262
run: |
63-
git config --unset http.https://github.com/.extraheader
64-
git submodule foreach --recursive sh -c "git config --local --unset-all 'http.https://github.com/.extraheader'"
6563
git submodule foreach --recursive sh -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
6664
echo "Current HEAD Log:"
6765
git log --oneline -n 5

.github/workflows/_unit_test_coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,10 +384,10 @@ jobs:
384384
all_cov_file_url: ${{ needs.run_tests_with_coverage.outputs.all_cov_file_url }}
385385
steps:
386386
- name: Clone FastDeploy
387-
uses: actions/checkout@v4
387+
uses: actions/checkout@v6
388388
with:
389389
fetch-depth: 0
390-
- uses: actions/setup-python@v5
390+
- uses: actions/setup-python@v6
391391
with:
392392
python-version: '3.10'
393393
- name: Download diff coverage file
@@ -403,7 +403,7 @@ jobs:
403403
404404
- name: Upload diff coverage report
405405
if: always() && hashFiles('python_coverage_all.xml') != ''
406-
uses: codecov/codecov-action@v4
406+
uses: codecov/codecov-action@v5
407407
with:
408408
files: ./python_coverage_all.xml
409409
flags: GPU

.github/workflows/approve.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
BRANCH: ${{ github.event.pull_request.base.ref }}
2020
steps:
2121
- name: Checkout base repo
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v6
2323
with:
2424
ref: ${{ github.event.pull_request.base.ref }}
2525
fetch-depth: 1000
@@ -33,7 +33,7 @@ jobs:
3333
git fetch upstream $BRANCH
3434
3535
- name: Setup python3.10
36-
uses: actions/setup-python@v5
36+
uses: actions/setup-python@v6
3737
with:
3838
python-version: '3.10'
3939

.github/workflows/ce_job.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
repo_archive_url: ${{ steps.set_output.outputs.repo_archive_url }}
9797
steps:
9898
- name: Clone FastDeploy
99-
uses: actions/checkout@v4
99+
uses: actions/checkout@v6
100100
with:
101101
ref: ${{ github.event_name == 'pull_request'
102102
&& github.event.pull_request.base.ref
@@ -105,7 +105,7 @@ jobs:
105105
fetch-depth: 1000
106106

107107
- name: Python Setup
108-
uses: actions/setup-python@v5
108+
uses: actions/setup-python@v6
109109
with:
110110
python-version: '3.10'
111111
- name: Code Info Show and Upload
@@ -114,8 +114,6 @@ jobs:
114114
AK: ${{ secrets.BOS_AK }}
115115
SK: ${{ secrets.BOS_SK }}
116116
run: |
117-
git config --unset http.https://github.com/.extraheader
118-
git submodule foreach --recursive sh -c "git config --local --unset-all 'http.https://github.com/.extraheader'"
119117
git submodule foreach --recursive sh -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
120118
echo "Current HEAD Log:"
121119
git log --oneline -n 5
@@ -216,7 +214,7 @@ jobs:
216214
FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8090.outputs.wheel_path }}
217215
COMPILE_ARCH: "80,90"
218216
steps:
219-
- uses: actions/setup-python@v5
217+
- uses: actions/setup-python@v6
220218
with:
221219
python-version: '3.10'
222220
- name: Wheel Info Show and Upload
@@ -266,7 +264,7 @@ jobs:
266264
FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8090_rl.outputs.wheel_path_rl }}
267265
COMPILE_ARCH: "80,90"
268266
steps:
269-
- uses: actions/setup-python@v5
267+
- uses: actions/setup-python@v6
270268
with:
271269
python-version: '3.10'
272270
- name: Wheel Info Show and Upload
@@ -312,7 +310,7 @@ jobs:
312310
FASTDEPLOY_WHEEL_URL: ${{ needs.build_sm8689.outputs.wheel_path }}
313311
COMPILE_ARCH: "86,89"
314312
steps:
315-
- uses: actions/setup-python@v5
313+
- uses: actions/setup-python@v6
316314
with:
317315
python-version: '3.10'
318316
- name: Wheel Info Show and Upload

.github/workflows/ci_image_update.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
repo_archive_url: ${{ steps.set_output.outputs.repo_archive_url }}
2222
steps:
2323
- name: Clone FastDeploy
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v6
2525
with:
2626
ref: ${{ github.ref_name }}
2727
submodules: 'recursive'
2828
fetch-depth: 1000
2929

3030
- name: Python Setup
31-
uses: actions/setup-python@v5
31+
uses: actions/setup-python@v6
3232
with:
3333
python-version: '3.10'
3434
- name: Code Info Show and Upload
@@ -37,8 +37,6 @@ jobs:
3737
AK: ${{ secrets.BOS_AK }}
3838
SK: ${{ secrets.BOS_SK }}
3939
run: |
40-
git config --unset http.https://github.com/.extraheader
41-
git submodule foreach --recursive sh -c "git config --local --unset-all 'http.https://github.com/.extraheader'"
4240
git submodule foreach --recursive sh -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
4341
echo "Current HEAD Log:"
4442
git log --oneline -n 5

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
deploy:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-python@v5
14+
- uses: actions/checkout@v6
15+
- uses: actions/setup-python@v6
1616
with:
1717
python-version: 3.x
1818
- run: pip install mkdocs-material mkdocs-get-deps mkdocs-material-extensions mkdocs-multilang mkdocs-static-i18n

.github/workflows/publish_job.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@ jobs:
125125
repo_archive_url: ${{ steps.set_output.outputs.repo_archive_url }}
126126
steps:
127127
- name: Clone FastDeploy
128-
uses: actions/checkout@v4
128+
uses: actions/checkout@v6
129129
with:
130130
ref: ${{ github.ref_name }}
131131
submodules: 'recursive'
132132
fetch-depth: 1000
133133

134134
- name: Python Setup
135-
uses: actions/setup-python@v5
135+
uses: actions/setup-python@v6
136136
with:
137137
python-version: '3.10'
138138
- name: Code Info Show and Upload
@@ -141,8 +141,6 @@ jobs:
141141
AK: ${{ secrets.BOS_AK }}
142142
SK: ${{ secrets.BOS_SK }}
143143
run: |
144-
git config --unset http.https://github.com/.extraheader
145-
git submodule foreach --recursive sh -c "git config --local --unset-all 'http.https://github.com/.extraheader'"
146144
git submodule foreach --recursive sh -c "git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'"
147145
echo "Current HEAD Log:"
148146
git log --oneline -n 5
@@ -243,7 +241,7 @@ jobs:
243241
SK: ${{ secrets.BOS_SK }}
244242
FD_ROUTER_URL: ${{ needs.build_fd_router.outputs.fd_router_path }}
245243
steps:
246-
- uses: actions/setup-python@v5
244+
- uses: actions/setup-python@v6
247245
with:
248246
python-version: '3.10'
249247
- name: Fd-Router Info Show and Upload
@@ -299,7 +297,7 @@ jobs:
299297
SK: ${{ secrets.BOS_SK }}
300298
FASTDEPLOY_WHEEL_URL: ${{ needs.build_cu126.outputs.wheel_path }}
301299
steps:
302-
- uses: actions/setup-python@v5
300+
- uses: actions/setup-python@v6
303301
with:
304302
python-version: '3.10'
305303
- name: Wheel Info Show and Upload
@@ -331,7 +329,7 @@ jobs:
331329
SK: ${{ secrets.BOS_SK }}
332330
FASTDEPLOY_WHEEL_URL: ${{ needs.build_cu129.outputs.wheel_path_cu129 }}
333331
steps:
334-
- uses: actions/setup-python@v5
332+
- uses: actions/setup-python@v6
335333
with:
336334
python-version: '3.10'
337335
- name: Wheel Info Show and Upload
@@ -363,7 +361,7 @@ jobs:
363361
SK: ${{ secrets.BOS_SK }}
364362
FASTDEPLOY_WHEEL_URL: ${{ needs.build_cu130.outputs.wheel_path_cu130 }}
365363
steps:
366-
- uses: actions/setup-python@v5
364+
- uses: actions/setup-python@v6
367365
with:
368366
python-version: '3.10'
369367
- name: Wheel Info Show and Upload

.github/workflows/remove-skip-ci-labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: Get PR labels
1616
id: get-labels
17-
uses: actions/github-script@v7
17+
uses: actions/github-script@v8
1818
with:
1919
github-token: ${{ secrets.GITHUB_TOKEN }}
2020
script: |
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Remove skip-ci labels
3636
if: steps.get-labels.outputs.has-skip-ci-labels == 'true'
37-
uses: actions/github-script@v7
37+
uses: actions/github-script@v8
3838
with:
3939
github-token: ${{ secrets.GITHUB_TOKEN }}
4040
script: |

0 commit comments

Comments
 (0)