diff --git a/.github/workflows/_linux-build.yml b/.github/workflows/_linux-build.yml index bed3ce934071b..99ff9343ee334 100644 --- a/.github/workflows/_linux-build.yml +++ b/.github/workflows/_linux-build.yml @@ -228,7 +228,7 @@ jobs: - name: Store PyTorch Build Artifacts on S3 uses: seemethere/upload-artifact-s3@v5 - if: inputs.build-generates-artifacts && steps.build.outcome != 'skipped' && inputs.use_split_build != 'true' + if: inputs.build-generates-artifacts && steps.build.outcome != 'skipped' && !inputs.use_split_build with: name: ${{ inputs.build-environment }} retention-days: 14 @@ -236,9 +236,9 @@ jobs: path: artifacts.zip s3-bucket: ${{ inputs.s3-bucket }} - - name: Store PyTorch Build Artifacts on S3 + - name: Store PyTorch Build Artifacts on S3 for split build uses: seemethere/upload-artifact-s3@v5 - if: inputs.build-generates-artifacts && steps.build.outcome != 'skipped' && inputs.use_split_build == 'true' + if: inputs.build-generates-artifacts && steps.build.outcome != 'skipped' && inputs.use_split_build with: name: ${{ inputs.build-environment }}-experimental-split-build retention-days: 14 diff --git a/.github/workflows/periodic.yml b/.github/workflows/periodic.yml index 9563a50fbfadf..27af387e54e74 100644 --- a/.github/workflows/periodic.yml +++ b/.github/workflows/periodic.yml @@ -62,7 +62,7 @@ jobs: linux-focal-cuda12_4-py3_10-gcc9-build: name: linux-focal-cuda12.4-py3.10-gcc9 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml with: build-environment: linux-focal-cuda12.4-py3.10-gcc9 docker-image-name: pytorch-linux-focal-cuda12.4-cudnn9-py3-gcc9 @@ -297,7 +297,7 @@ jobs: linux-focal-cuda12_1-py3_10-gcc9-experimental-split-build: name: linux-focal-cuda12.1-py3.10-gcc9-experimental-split-build - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml with: use_split_build: true build-environment: linux-focal-cuda12.1-py3.10-gcc9 @@ -322,7 +322,7 @@ jobs: linux-focal-cuda11_8-py3_9-gcc9-experimental-split-build: name: linux-focal-cuda11.8-py3.9-gcc9-experimental-split-build - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml with: use_split_build: true build-environment: linux-focal-cuda11.8-py3.9-gcc9 diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index c0e75d1f503a3..b5def78997365 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -45,7 +45,7 @@ jobs: linux-jammy-py3_8-gcc11-build: name: linux-jammy-py3.8-gcc11 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -85,7 +85,7 @@ jobs: linux-jammy-py3_8-gcc11-no-ops: name: linux-jammy-py3.8-gcc11-no-ops - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -98,7 +98,7 @@ jobs: linux-jammy-py3_8-gcc11-pch: name: linux-jammy-py3.8-gcc11-pch - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -112,7 +112,7 @@ jobs: linux-jammy-py3_10-clang15-asan-build: name: linux-jammy-py3.10-clang15-asan - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -144,7 +144,7 @@ jobs: linux-focal-py3_8-clang10-onnx-build: name: linux-focal-py3.8-clang10-onnx - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -169,7 +169,7 @@ jobs: linux-focal-py3_8-clang10-build: name: linux-focal-py3.8-clang10 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -200,7 +200,7 @@ jobs: linux-focal-py3_11-clang10-build: name: linux-focal-py3.11-clang10 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -232,7 +232,7 @@ jobs: linux-focal-py3_12-clang10-build: name: linux-focal-py3.12-clang10 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -261,7 +261,7 @@ jobs: linux-focal-cuda11_8-py3_10-gcc9-build: name: linux-focal-cuda11.8-py3.10-gcc9 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -288,7 +288,7 @@ jobs: linux-focal-cuda12_1-py3_10-gcc9-build: name: linux-focal-cuda12.1-py3.10-gcc9 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -317,7 +317,7 @@ jobs: linux-jammy-py3-clang12-mobile-build: name: linux-jammy-py3-clang12-mobile-build - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -331,7 +331,7 @@ jobs: linux-jammy-cuda-11_8-cudnn9-py3_8-clang12-build: name: linux-jammy-cuda11.8-cudnn9-py3.8-clang12 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -344,7 +344,7 @@ jobs: linux-focal-py3-clang9-mobile-custom-build-static: name: linux-focal-py3-clang9-mobile-custom-build-static - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -358,7 +358,7 @@ jobs: linux-focal-py3_8-clang9-xla-build: name: linux-focal-py3_8-clang9-xla - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -462,7 +462,7 @@ jobs: linux-jammy-py3_8-gcc11-mobile-lightweight-dispatch-build: name: linux-jammy-py3.8-gcc11-mobile-lightweight-dispatch-build - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -478,7 +478,7 @@ jobs: # don't run build twice on main if: github.event_name == 'pull_request' name: linux-focal-rocm6.1-py3.8 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -494,7 +494,7 @@ jobs: linux-focal-cuda12_1-py3_10-gcc9-sm86-build: name: linux-focal-cuda12.1-py3.10-gcc9-sm86 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -523,7 +523,7 @@ jobs: linux-jammy-py3-clang12-executorch-build: name: linux-jammy-py3-clang12-executorch - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -545,7 +545,7 @@ jobs: linux-focal-cuda12_1-py3_10-gcc9-experimental-split-build: name: linux-focal-cuda12.1-py3.10-gcc9-experimental-split-build - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -575,7 +575,7 @@ jobs: linux-focal-py3_12-clang10-experimental-split-build: name: linux-focal-py3.12-clang10-experimental-split-build - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml with: use_split_build: True build-environment: linux-focal-py3.12-clang10 diff --git a/.github/workflows/rocm.yml b/.github/workflows/rocm.yml index c32abe592bef2..781f2878b6eae 100644 --- a/.github/workflows/rocm.yml +++ b/.github/workflows/rocm.yml @@ -27,7 +27,7 @@ jobs: linux-focal-rocm6_1-py3_8-build: name: linux-focal-rocm6.1-py3.8 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml with: build-environment: linux-focal-rocm6.1-py3.8 docker-image-name: pytorch-linux-focal-rocm-n-py3 diff --git a/.github/workflows/slow.yml b/.github/workflows/slow.yml index 1b4a1be5ebe84..531c61d417814 100644 --- a/.github/workflows/slow.yml +++ b/.github/workflows/slow.yml @@ -149,7 +149,7 @@ jobs: linux-jammy-py3_10-clang15-asan-build: name: linux-jammy-py3.10-clang15-asan - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index c7a91f07a5488..e112f2966deed 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -45,7 +45,7 @@ jobs: linux-focal-cuda12_4-py3_10-gcc9-sm86-build: name: linux-focal-cuda12.4-py3.10-gcc9-sm86 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml with: build-environment: linux-focal-cuda12.4-py3.10-gcc9-sm86 docker-image-name: pytorch-linux-focal-cuda12.4-cudnn9-py3-gcc9 @@ -214,7 +214,7 @@ jobs: linux-focal-rocm6_1-py3_8-build: name: linux-focal-rocm6.1-py3.8 - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml needs: get-label-type with: runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" @@ -245,7 +245,7 @@ jobs: linux-focal-cuda12_4-py3_10-gcc9-experimental-split-build: name: linux-focal-cuda12.4-py3.10-gcc9-experimental-split-build - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml with: use_split_build: true build-environment: linux-focal-cuda12.4-py3.10-gcc9 @@ -275,7 +275,7 @@ jobs: linux-focal-cuda11_8-py3_10-gcc9-experimental-split-build: name: linux-focal-cuda11.8-py3.10-gcc9-experimental-split-build - uses: ./.github/workflows/_linux-build-label.yml + uses: ./.github/workflows/_linux-build.yml with: use_split_build: true build-environment: linux-focal-cuda11.8-py3.10-gcc9