Skip to content

Commit ac9adb6

Browse files
nightly build
1 parent b5ca7b1 commit ac9adb6

File tree

4 files changed

+107
-15
lines changed

4 files changed

+107
-15
lines changed

.github/workflows/_binary-build-linux.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,19 @@ jobs:
212212
213213
- name: configure aws credentials
214214
id: aws_creds
215-
if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' && inputs.build_environment != 'linux-s390x-binary-manywheel' && startsWith(github.event.ref, 'refs/tags/ciflow/') }}
215+
if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' && inputs.build_environment != 'linux-s390x-binary-manywheel' && inputs.build_environment != 'linux-ppc64le-binary-manywheel' && startsWith(github.event.ref, 'refs/tags/ciflow/') }}
216216
uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0
217217
with:
218218
role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_s3_and_ecr_read_only
219219
aws-region: us-east-1
220220
role-duration-seconds: 18000
221221

222+
- name: Build Docker image for ppc64le
223+
run: |
224+
docker build -f ./pytorch/.ci/docker/manywheel/Dockerfile_ppc64le -t pytorch/manylinuxppc64le-builder:cpu-ppc64le-main .
222225
- name: Calculate docker image
223226
id: calculate-docker-image
224-
if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' && inputs.build_environment != 'linux-s390x-binary-manywheel' }}
227+
if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' && inputs.build_environment != 'linux-s390x-binary-manywheel' && inputs.build_environment != 'linux-ppc64le-binary-manywheel' }}
225228
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main
226229
with:
227230
# If doing this in main or release branch, use docker.io. Otherwise

.github/workflows/_linux-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
build:
125125
environment: ${{ github.ref == 'refs/heads/main' && 'scribe-protected' || startsWith(github.ref, 'refs/heads/release/') && 'scribe-protected' || contains(github.event.pull_request.labels.*.name, 'ci-scribe') && 'scribe-pr' || '' }}
126126
# Don't run on forked repos
127-
if: github.repository_owner == 'pytorch'
127+
128128
runs-on: ${{ inputs.runner_prefix}}${{ inputs.runner }}
129129
timeout-minutes: 240
130130
outputs:

.github/workflows/generated-linux-ppc64le-binary-manywheel-nightly.yml

Lines changed: 100 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/ppc64le.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ jobs:
4444
with:
4545
build-environment: linux-ppc64le-binary-manywheel
4646
docker-image-name: pytorch/manylinuxppc64le-builder
47-
runner: ubuntu-24.04-ppc64le
47+
runner: ubuntu-24.04-ppc64le-p10
4848
secrets: inherit

0 commit comments

Comments
 (0)