Skip to content

Commit e94d48c

Browse files
fix build cancellation issue (#3768)
1 parent e5dc18d commit e94d48c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/build-test-linux-aarch64-jetpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
post-script: packaging/post_build_script.sh
6666
smoke-test-script: packaging/smoke_test_script.sh
6767
package-name: torch_tensorrt
68-
name: Build torch-tensorrt whl package
68+
name: Build torch-tensorrt whl package for jetpack
6969
uses: ./.github/workflows/build_wheels_linux_aarch64.yml
7070
with:
7171
repository: ${{ matrix.repository }}

.github/workflows/build-test-linux-aarch64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
post-script: packaging/post_build_script.sh
6363
smoke-test-script: packaging/smoke_test_script.sh
6464
package-name: torch_tensorrt
65-
name: Build torch-tensorrt whl package
65+
name: Build torch-tensorrt whl package for aarch64
6666
uses: ./.github/workflows/build_wheels_linux_aarch64.yml
6767
with:
6868
repository: ${{ matrix.repository }}

.github/workflows/build_wheels_linux_aarch64.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
UPLOAD_TO_BASE_BUCKET: ${{ matrix.upload_to_base_bucket }}
134134
ARCH: ${{ inputs.architecture }}
135135
BUILD_TARGET: ${{ inputs.build-target }}
136-
name: build-wheel-${{ matrix.python_version }}-${{ matrix.desired_cuda }}-${{ matrix.gpu_arch_type }}
136+
name: build-wheel-${{ matrix.python_version }}-${{ matrix.desired_cuda }}-${{ matrix.gpu_arch_type }}-${{ inputs.is-jetpack }}
137137
runs-on: ${{ matrix.validation_runner }}
138138
environment: ${{(inputs.trigger-event == 'schedule' || (inputs.trigger-event == 'push' && (startsWith(github.event.ref, 'refs/heads/nightly') || startsWith(github.event.ref, 'refs/tags/v')))) && 'pytorchbot-env' || ''}}
139139
container:
@@ -334,6 +334,7 @@ jobs:
334334
path: ${{ inputs.repository }}/dist/
335335

336336
upload:
337+
name: upload-wheel-${{ matrix.python_version }}-${{ matrix.desired_cuda }}-${{ matrix.gpu_arch_type }}-${{ inputs.is-jetpack }}
337338
needs: build
338339
uses: pytorch/test-infra/.github/workflows/_binary_upload.yml@main
339340
# for jetpack builds, do not upload to pytorch nightly index, only upload to https://pypi.jetson-ai-lab.io/ manually for each release
@@ -351,5 +352,5 @@ jobs:
351352
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
352353

353354
concurrency:
354-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ inputs.repository }}-${{ github.event_name == 'workflow_dispatch' }}
355+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ inputs.repository }}-${{ inputs.is-jetpack }}-${{ github.event_name == 'workflow_dispatch' }}
355356
cancel-in-progress: true

0 commit comments

Comments
 (0)