mirror of
https://github.com/pytorch/pytorch.git
synced 2026-11-20 09:04:25 +08:00
2910695942
Remove cuda 11.6 from CI replace with 11.7 Following the Release readme here: https://github.com/pytorch/pytorch/blob/master/RELEASE.md#release-compatibility-matrix Pull Request resolved: https://github.com/pytorch/pytorch/pull/93979 Approved by: https://github.com/Skylion007, https://github.com/clee2000, https://github.com/malfet
113 lines
5.0 KiB
YAML
Generated
113 lines
5.0 KiB
YAML
Generated
# @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: linux-binary-manywheel
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
tags:
|
|
- 'ciflow/trunk/*'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
# Needed for conda builds
|
|
ALPINE_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/tool/alpine"
|
|
ANACONDA_USER: pytorch
|
|
AWS_DEFAULT_REGION: us-east-1
|
|
BINARY_ENV_FILE: /tmp/env
|
|
BUILD_ENVIRONMENT: linux-binary-manywheel
|
|
BUILDER_ROOT: /builder
|
|
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: 1
|
|
concurrency:
|
|
group: linux-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:
|
|
manywheel-py3_8-cuda11_7-with-pypi-cudnn-build:
|
|
if: ${{ github.repository_owner == 'pytorch' }}
|
|
uses: ./.github/workflows/_binary-build-linux.yml
|
|
with:
|
|
PYTORCH_ROOT: /pytorch
|
|
BUILDER_ROOT: /builder
|
|
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: cu117
|
|
GPU_ARCH_VERSION: 11.7
|
|
GPU_ARCH_TYPE: cuda
|
|
DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.7
|
|
DESIRED_PYTHON: "3.8"
|
|
build_name: manywheel-py3_8-cuda11_7-with-pypi-cudnn
|
|
build_environment: linux-binary-manywheel
|
|
PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu11==11.7.99; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu11==11.7.99; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu11==11.7.101; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu11==8.5.0.96; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu11==11.10.3.66; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu11==10.9.0.58; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu11==10.2.10.91; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu11==11.4.0.1; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu11==11.7.4.91; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu11==2.14.3; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu11==11.7.91; platform_system == 'Linux' and platform_machine == 'x86_64'
|
|
secrets:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
manywheel-py3_8-cuda11_7-with-pypi-cudnn-test: # Testing
|
|
if: ${{ github.repository_owner == 'pytorch' }}
|
|
needs: manywheel-py3_8-cuda11_7-with-pypi-cudnn-build
|
|
uses: ./.github/workflows/_binary-test-linux.yml
|
|
with:
|
|
PYTORCH_ROOT: /pytorch
|
|
BUILDER_ROOT: /builder
|
|
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: cu117
|
|
GPU_ARCH_VERSION: 11.7
|
|
GPU_ARCH_TYPE: cuda
|
|
DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.7
|
|
DESIRED_PYTHON: "3.8"
|
|
build_name: manywheel-py3_8-cuda11_7-with-pypi-cudnn
|
|
build_environment: linux-binary-manywheel
|
|
runs_on: linux.4xlarge.nvidia.gpu
|
|
secrets:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
manywheel-py3_8-cuda11_7-build:
|
|
if: ${{ github.repository_owner == 'pytorch' }}
|
|
uses: ./.github/workflows/_binary-build-linux.yml
|
|
with:
|
|
PYTORCH_ROOT: /pytorch
|
|
BUILDER_ROOT: /builder
|
|
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: cu117
|
|
GPU_ARCH_VERSION: 11.7
|
|
GPU_ARCH_TYPE: cuda
|
|
DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.7
|
|
DESIRED_PYTHON: "3.8"
|
|
build_name: manywheel-py3_8-cuda11_7
|
|
build_environment: linux-binary-manywheel
|
|
secrets:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
manywheel-py3_8-cuda11_7-test: # Testing
|
|
if: ${{ github.repository_owner == 'pytorch' }}
|
|
needs: manywheel-py3_8-cuda11_7-build
|
|
uses: ./.github/workflows/_binary-test-linux.yml
|
|
with:
|
|
PYTORCH_ROOT: /pytorch
|
|
BUILDER_ROOT: /builder
|
|
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: cu117
|
|
GPU_ARCH_VERSION: 11.7
|
|
GPU_ARCH_TYPE: cuda
|
|
DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.7
|
|
DESIRED_PYTHON: "3.8"
|
|
build_name: manywheel-py3_8-cuda11_7
|
|
build_environment: linux-binary-manywheel
|
|
runs_on: linux.4xlarge.nvidia.gpu
|
|
secrets:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|