Commit b26093c 1 parent eae9f31 commit b26093c Copy full SHA for b26093c
File tree 4 files changed +3
-6
lines changed
4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 36
36
outputs :
37
37
whl_name :
38
38
description : The name of the wheel file
39
- value : ${{ jobs.Torch-XPU-Build .outputs.whl_name }}
39
+ value : ${{ jobs.build .outputs.whl_name }}
40
40
torch_commit_id :
41
41
description : The commit id of the torch build
42
- value : ${{ jobs.Torch-XPU-Build .outputs.TORCH_COMMIT_ID }}
42
+ value : ${{ jobs.build .outputs.TORCH_COMMIT_ID }}
43
43
44
44
permissions :
45
45
issues : write
@@ -116,7 +116,7 @@ jobs:
116
116
WERROR=1 python setup.py bdist_wheel 2>&1 | tee pytorch_${current_commit}_build.log
117
117
118
118
if [[ ${is_fork_pr} == "false" ]]; then
119
- if [ -f dist/torch*.whl && "${last_commit}" != "${current_commit}"] && [[ "${{ inputs.pytorch }}" == "main" || "${{ inputs.pytorch }}" == "release/"* ]]; then
119
+ if [ -f dist/torch*.whl && "${last_commit}" != "${current_commit}" ] && [[ "${{ inputs.pytorch }}" == "main" || "${{ inputs.pytorch }}" == "release/"* ]]; then
120
120
echo "Wheel build successful, update last commit in the issue https://github.com/intel/torch-xpu-ops/issues/1280"
121
121
gh --repo $repo issue view $commit_issue --json body -q .body | sed "s;${last_commit};${current_commit};g" | sed '/^$/d' > new_body.txt
122
122
gh --repo $repo issue edit $commit_issue --body-file new_body.txt
Original file line number Diff line number Diff line change @@ -142,7 +142,6 @@ jobs:
142
142
pip install requests
143
143
python ../torch-xpu-ops/.github/scripts/apply_torch_pr.py
144
144
git status && git show -s
145
- git submodule sync && git submodule update --init --recursive
146
145
if [[ ${{ env.keep_torch_xpu_ops }} == 'true' ]]; then
147
146
echo "Don't replace torch-xpu-ops!"
148
147
else
Original file line number Diff line number Diff line change @@ -147,7 +147,6 @@ jobs:
147
147
pip install requests
148
148
python ../torch-xpu-ops/.github/scripts/apply_torch_pr.py
149
149
git status && git show -s
150
- git submodule sync && git submodule update --init --recursive
151
150
if [[ ${{ env.keep_torch_xpu_ops }} == 'true' ]]; then
152
151
echo "Don't replace torch-xpu-ops!"
153
152
else
Original file line number Diff line number Diff line change 97
97
# https://github.com/mengfei25/pytorch/pull/18 internal use only for subset model list
98
98
python ../torch-xpu-ops/.github/scripts/apply_torch_pr.py -e https://github.com/mengfei25/pytorch/pull/18
99
99
git status && git show -s
100
- git submodule sync && git submodule update --init --recursive
101
100
rm -rf third_party/torch-xpu-ops && cp -r ../torch-xpu-ops third_party/
102
101
# Workaround for torch-xpu-ops ci test
103
102
sed -i "s/checkout --quiet \${TORCH_XPU_OPS_COMMIT}/log -n 1/g" caffe2/CMakeLists.txt
You can’t perform that action at this time.
0 commit comments