Skip to content

Commit b6c100c

Browse files
committed
resolve Artifact name conflict
1 parent 0e77f30 commit b6c100c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/_linux_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ jobs:
171171
if: ${{ ! cancelled() }}
172172
uses: actions/upload-artifact@v4
173173
with:
174-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}
174+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ env.TORCH_COMMIT_ID }}
175175
path: ${{ github.workspace }}/torch*.whl
176176
- name: Upload Build Log
177177
if: ${{ ! cancelled() }}
178178
uses: actions/upload-artifact@v4
179179
with:
180-
name: Torch-XPU-Build-Log-${{ github.event.pull_request.number || github.sha }}
180+
name: Torch-XPU-Build-Log-${{ github.event.pull_request.number || github.sha }}-${{ env.TORCH_COMMIT_ID }}
181181
path: ${{ github.workspace }}/pytorch_*.log

.github/workflows/_linux_ut.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
if: ${{ inputs.pytorch != 'nightly_wheel' }}
9696
uses: actions/download-artifact@v4
9797
with:
98-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}
98+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.pytorch }}
9999
path: ${{ github.workspace }}
100100
- name: Install Pytorch XPU
101101
run: |
@@ -339,7 +339,7 @@ jobs:
339339
if: ${{ inputs.pytorch != 'nightly_wheel' }}
340340
uses: actions/download-artifact@v4
341341
with:
342-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}
342+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.pytorch }}
343343
path: ${{ github.workspace }}
344344
- name: Install Pytorch XPU
345345
run: |
@@ -474,7 +474,7 @@ jobs:
474474
if: ${{ inputs.pytorch != 'nightly_wheel' }}
475475
uses: actions/download-artifact@v4
476476
with:
477-
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.abi }}
477+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ inputs.pytorch }}
478478
path: ${{ github.workspace }}
479479
- name: Install Pytorch XPU
480480
run: |
@@ -534,7 +534,7 @@ jobs:
534534
echo -e "[ERROR] XCCL is not enabled"
535535
exit 1
536536
fi
537-
timeout 10000 python run_distributed_local.py 2>${{ github.workspace }}/ut_log/pytorch_distributed/pytorch_distributed_test_error.log | tee ${{ github.workspace }}/ut_log/pytorch_distributed/pytorch_distributed_test.log
537+
python run_distributed_local.py 2>${{ github.workspace }}/ut_log/pytorch_distributed/pytorch_distributed_test_error.log | tee ${{ github.workspace }}/ut_log/pytorch_distributed/pytorch_distributed_test.log
538538
cd ${{ github.workspace }}
539539
sudo cp ptrace_scope.bk /proc/sys/kernel/yama/ptrace_scope
540540
- name: UT Test Results Check

.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 }}
140+
name: Torch-XPU-Wheel-${{ github.event.pull_request.number || github.sha }}-${{ needs.preci-linux-build.outputs.torch_commit_id }}
141141
path: ${{ github.workspace }}
142142
- name: Install Pytorch XPU
143143
run: |

0 commit comments

Comments
 (0)