Skip to content

chore: dummy commit to trigger CI #178

chore: dummy commit to trigger CI

chore: dummy commit to trigger CI #178

# @generated DO NOT EDIT MANUALLY
# Template is at: .github/templates/linux_binary_build_workflow.yml.j2
# Generation script: .github/scripts/generate_ci_workflows.py
name: aa-linux-ppc64le-binary-manywheel
on:
push:
# NOTE: Meta Employees can trigger new nightlies using: https://fburl.com/trigger_pytorch_nightly_build
branches:
- temp-gha-runner-v3
tags:
# NOTE: Binary build pipelines should only get triggered on release candidate builds
# Release candidate tags look like: v1.11.0-rc1
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
- 'ciflow/binaries/*'
- 'ciflow/binaries_wheel/*'
workflow_dispatch:
env:
# Needed for conda builds
ALPINE_IMAGE: "docker.io/ppc64le/alpine"
AWS_DEFAULT_REGION: us-east-1
BINARY_ENV_FILE: /tmp/env
BUILD_ENVIRONMENT: linux-ppc64le-binary-manywheel
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PYTORCH_FINAL_PACKAGE_DIR: /artifacts
PYTORCH_ROOT: /pytorch
SHA1: ${{ github.event.pull_request.head.sha || github.sha }}
SKIP_ALL_TESTS: 0
concurrency:
group: linux-ppc64le-binary-manywheel-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true
jobs:
get-label-type:
name: get-label-type
uses: pytorch/pytorch/.github/workflows/_runner-determinator.yml@main
with:
triggering_actor: ${{ github.triggering_actor }}
issue_owner: ${{ github.event.pull_request.user.login || github.event.issue.user.login }}
curr_branch: ${{ github.head_ref || github.ref_name }}
curr_ref_type: ${{ github.ref_type }}
build-docker-image:
name: Build Docker image
runs-on: ubuntu-24.04-ppc64le-4xlarge
outputs:
image-tag: ${{ steps.set-tag.outputs.image-tag }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: pytorch
- name: Set Docker image tag
id: set-tag
run: echo "image-tag=pytorch/manylinuxppc64le-builder:cpu-ppc64le-main" >> "$GITHUB_OUTPUT"
- name: Build Docker image
run: |
docker build --network=host \
-f pytorch/.ci/docker/manywheel/Dockerfile_ppc64le \
-t pytorch/manylinuxppc64le-builder:cpu-ppc64le-main .
- name: Save Docker image as tarball (for runner reuse)
run: |
docker save pytorch/manylinuxppc64le-builder:cpu-ppc64le-main | gzip > /tmp/ppc64le-builder.tar.gz
- name: Upload Docker image artifact
uses: actions/upload-artifact@v4
with:
name: ppc64le-builder-image
path: /tmp/ppc64le-builder.tar.gz
manywheel-py3_13-cpu-ppc64le-build:
uses: ./.github/workflows/_binary-build-linux.yml
needs:
- build-docker-image
with:
PYTORCH_ROOT: /pytorch
PACKAGE_TYPE: manywheel
# TODO: This is a legacy variable that we eventually want to get rid of in
# favor of GPU_ARCH_VERSION
DESIRED_CUDA: cpu
GPU_ARCH_TYPE: cpu-ppc64le
DOCKER_IMAGE: pytorch/manylinuxppc64le-builder
DOCKER_IMAGE_TAG_PREFIX: cpu-ppc64le-main
use_split_build: False
DESIRED_PYTHON: "3.13"
runs_on: ubuntu-24.04-ppc64le-4xlarge
ALPINE_IMAGE: "docker.io/ppc64le/alpine"
timeout-minutes: 420
build_name: manywheel-py3_13-cpu-ppc64le
build_environment: linux-ppc64le-binary-manywheel
PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu12==12.6.77; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu12==12.6.77; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu12==12.6.80; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu12==9.5.1.17; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu12==12.6.4.1; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu12==11.3.0.4; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu12==10.3.7.77; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu12==11.7.1.2; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu12==12.5.4.2; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparselt-cu12==0.6.3; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu12==2.26.2; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu12==12.6.77; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvjitlink-cu12==12.6.85; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufile-cu12==1.11.1.6; platform_system == 'Linux' and platform_machine == 'x86_64'
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
manywheel-py3_13-cpu-ppc64le-test: # Testing
needs:
- manywheel-py3_13-cpu-ppc64le-build
uses: ./.github/workflows/_binary-test-linux.yml
with:
PYTORCH_ROOT: /pytorch
PACKAGE_TYPE: manywheel
# TODO: This is a legacy variable that we eventually want to get rid of in
# favor of GPU_ARCH_VERSION
DESIRED_CUDA: cpu
GPU_ARCH_TYPE: cpu-ppc64le
DOCKER_IMAGE: pytorch/manylinuxppc64le-builder
DOCKER_IMAGE_TAG_PREFIX: cpu-ppc64le-main
use_split_build: False
DESIRED_PYTHON: "3.13"
build_name: manywheel-py3_13-cpu-ppc64le
build_environment: linux-ppc64le-binary-manywheel
runs_on: ubuntu-24.04-ppc64le-4xlarge
ALPINE_IMAGE: "docker.io/ppc64le/alpine"
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
manywheel-py3_13-cpu-ppc64le-upload: # Uploading
permissions:
id-token: write
contents: read
needs: manywheel-py3_13-cpu-ppc64le-test
with:
PYTORCH_ROOT: /pytorch
PACKAGE_TYPE: manywheel
# TODO: This is a legacy variable that we eventually want to get rid of in
# favor of GPU_ARCH_VERSION
DESIRED_CUDA: cpu
GPU_ARCH_TYPE: cpu-ppc64le
DOCKER_IMAGE: pytorch/manylinuxsppc64le-builder
DOCKER_IMAGE_TAG_PREFIX: cpu-ppc64le-main
use_split_build: False
DESIRED_PYTHON: "3.13"
build_name: manywheel-py3_13-cpu-ppc64le
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/workflows/_binary-upload.yml
manywheel-py3_14-cpu-ppc64le-build:
uses: ./.github/workflows/_binary-build-linux.yml
needs:
- build-docker-image
- manywheel-py3_13-cpu-ppc64le-upload
with:
PYTORCH_ROOT: /pytorch
PACKAGE_TYPE: manywheel
# TODO: This is a legacy variable that we eventually want to get rid of in
# favor of GPU_ARCH_VERSION
DESIRED_CUDA: cpu
GPU_ARCH_TYPE: cpu-ppc64le
DOCKER_IMAGE: pytorch/manylinuxppc64le-builder
DOCKER_IMAGE_TAG_PREFIX: cpu-ppc64le-main
use_split_build: False
DESIRED_PYTHON: "3.14"
runs_on: ubuntu-24.04-ppc64le-4xlarge
ALPINE_IMAGE: "docker.io/ppc64le/alpine"
timeout-minutes: 420
build_name: manywheel-py3_14-cpu-ppc64le
build_environment: linux-ppc64le-binary-manywheel
PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu12==12.6.77; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu12==12.6.77; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu12==12.6.80; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu12==9.5.1.17; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu12==12.6.4.1; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu12==11.3.0.4; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu12==10.3.7.77; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu12==11.7.1.2; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu12==12.5.4.2; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparselt-cu12==0.6.3; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu12==2.26.2; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu12==12.6.77; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvjitlink-cu12==12.6.85; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufile-cu12==1.11.1.6; platform_system == 'Linux' and platform_machine == 'x86_64'
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
manywheel-py3_14-cpu-ppc64le-test: # Testing
needs:
- manywheel-py3_14-cpu-ppc64le-build
uses: ./.github/workflows/_binary-test-linux.yml
with:
PYTORCH_ROOT: /pytorch
PACKAGE_TYPE: manywheel
# TODO: This is a legacy variable that we eventually want to get rid of in
# favor of GPU_ARCH_VERSION
DESIRED_CUDA: cpu
GPU_ARCH_TYPE: cpu-ppc64le
DOCKER_IMAGE: pytorch/manylinuxppc64le-builder
DOCKER_IMAGE_TAG_PREFIX: cpu-ppc64le-main
use_split_build: False
DESIRED_PYTHON: "3.14"
build_name: manywheel-py3_14-cpu-ppc64le
build_environment: linux-ppc64le-binary-manywheel
runs_on: ubuntu-24.04-ppc64le-4xlarge
ALPINE_IMAGE: "docker.io/ppc64le/alpine"
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
manywheel-py3_14-cpu-ppc64le-upload: # Uploading
permissions:
id-token: write
contents: read
needs: manywheel-py3_14-cpu-ppc64le-test
with:
PYTORCH_ROOT: /pytorch
PACKAGE_TYPE: manywheel
# TODO: This is a legacy variable that we eventually want to get rid of in
# favor of GPU_ARCH_VERSION
DESIRED_CUDA: cpu
GPU_ARCH_TYPE: cpu-ppc64le
DOCKER_IMAGE: pytorch/manylinuxsppc64le-builder
DOCKER_IMAGE_TAG_PREFIX: cpu-ppc64le-main
use_split_build: False
DESIRED_PYTHON: "3.14"
build_name: manywheel-py3_14-cpu-ppc64le
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/workflows/_binary-upload.yml