@@ -68,21 +68,18 @@ jobs:
68
68
69
69
- name : Install system dependencies
70
70
run : |
71
- apt update
72
- apt install --no-install-recommends -y \
71
+ apt-get update
72
+ apt-get install -y \
73
73
git gcc g++ make cmake ninja-build curl \
74
74
libgl1 libglib2.0-0 libsndfile1
75
75
76
76
- name : Checkout
77
77
uses : actions/checkout@v4
78
78
79
- # TODO(shink): Update once PR merged
80
- # https://github.com/pytorch/benchmark/pull/2550
81
79
- name : Checkout benchmark
82
80
uses : actions/checkout@v4
83
81
with :
84
- repository : shink/benchmark
85
- ref : feat/test_bench/continue_on_error
82
+ repository : pytorch/benchmark
86
83
path : benchmark
87
84
88
85
- name : Download ${{ inputs.artifact_name }}
@@ -144,19 +141,22 @@ jobs:
144
141
id : update-readme
145
142
run : |
146
143
python .ci/benchmark.py --update-readme --path benchmark/ascend_npu_benchmark.json
147
- if git diff --quiet README.md; then
148
- echo "changed=false" >> $GITHUB_OUTPUT
149
- else
150
- echo "changed=true" >> $GITHUB_OUTPUT
151
- fi
152
144
145
+ # https://github.com/peter-evans/create-pull-request
153
146
- name : Create a pull request for changes to README.md
154
147
if : ${{ steps.update-readme.outputs.changed == 'true' }}
155
148
uses : peter-evans/create-pull-request@v7
156
149
with :
157
150
token : ${{ secrets.pr-token }}
151
+ base : ${{ github.head_ref }}
152
+ committer :
' cosdt-bot <[email protected] >'
153
+ author :
' cosdt-bot <[email protected] >'
154
+ commit-message : ' Update torchbenchmark report in README.md'
158
155
add-paths : README.md
159
156
branch : ascend-npu/benchmark
160
- title : " [Ascend NPU] Update torchbenchmark report in README.md"
161
- commit-message : " Update README.md"
157
+ title : ' [Ascend NPU] Update torchbenchmark report in README.md'
158
+ body : |
159
+ The torchbenchmark results running on Ascend NPU have changed, I'm updating the report in README.md.
160
+
161
+ cc: @Yikun @hipudding @FFFrog @Zhenbin-8 @zeshengzong @wjunLu @MengqingCao @shink
162
162
reviewers : shink
0 commit comments