Skip to content

Commit 591e157

Browse files
committed
resolve Artifact name conflict
1 parent 64d2d65 commit 591e157

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/_linux_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,11 @@ jobs:
181181
if: ${{ ! cancelled() }}
182182
uses: actions/upload-artifact@v4
183183
with:
184-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}
184+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}-${{ env.TORCH_COMMIT_ID }}
185185
path: ${{ github.workspace }}/torch*.whl
186186
- name: Upload Build Log
187187
if: ${{ ! cancelled() }}
188188
uses: actions/upload-artifact@v4
189189
with:
190-
name: Torch-XPU-Build-Log-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}
190+
name: Torch-XPU-Build-Log-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}-${{ env.TORCH_COMMIT_ID }}
191191
path: ${{ github.workspace }}/pytorch_*.log

.github/workflows/_linux_ut.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
if: ${{ inputs.pytorch != 'nightly_wheel' }}
101101
uses: actions/download-artifact@v4
102102
with:
103-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}
103+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}-${{ inputs.pytorch }}
104104
path: ${{ github.workspace }}
105105
- name: Install Pytorch XPU
106106
run: |
@@ -349,7 +349,7 @@ jobs:
349349
if: ${{ inputs.pytorch != 'nightly_wheel' }}
350350
uses: actions/download-artifact@v4
351351
with:
352-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}
352+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}-${{ inputs.pytorch }}
353353
path: ${{ github.workspace }}
354354
- name: Install Pytorch XPU
355355
run: |
@@ -489,7 +489,7 @@ jobs:
489489
if: ${{ inputs.pytorch != 'nightly_wheel' }}
490490
uses: actions/download-artifact@v4
491491
with:
492-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}
492+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}-${{ inputs.pytorch }}
493493
path: ${{ github.workspace }}
494494
- name: Install Pytorch XPU
495495
run: |

.github/workflows/pull.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
needs: preci-linux-build-distributed
8989
uses: ./.github/workflows/_linux_ut.yml
9090
with:
91-
pytorch: ${{ needs.preci-linux-build.outputs.torch_commit_id }}
91+
pytorch: ${{ needs.preci-linux-build-distributed.outputs.torch_commit_id }}
9292
ut: pytorch_distributed
9393
runner: pvc_e2e
9494

@@ -137,7 +137,7 @@ jobs:
137137
if: ${{ inputs.pytorch }} != 'nightly_wheel'
138138
uses: actions/download-artifact@v4
139139
with:
140-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-1
140+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-1-${{ needs.preci-linux-build.outputs.torch_commit_id }}
141141
path: ${{ github.workspace }}
142142
- name: Install Pytorch XPU
143143
run: |

0 commit comments

Comments
 (0)