Compare commits
	
		
			37 Commits
		
	
	
		
			msaroufim/
			...
			v2.2.0-rc8
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8ac9b20d4b | |||
| 2490352430 | |||
| 3a44bb713f | |||
| 1c8ba3847d | |||
| 96d2ddbafe | |||
| 738b4a560a | |||
| 4cf10bf4dc | |||
| 7e97e4b4b6 | |||
| 1a3e3c7cff | |||
| ab7505f78c | |||
| 953c9c0c29 | |||
| 0288d567fb | |||
| ce29e8f9b1 | |||
| 444e132b74 | |||
| 596bbaf6fc | |||
| be254276d2 | |||
| 9fd518dfdc | |||
| bc244ee2cd | |||
| df3cab83e1 | |||
| 32e1876876 | |||
| f9e2b3d8a7 | |||
| 2ad9cab9b2 | |||
| 5a4f136340 | |||
| e8ebe2cfca | |||
| da4bf36936 | |||
| 6ca1983e77 | |||
| 7f55ee7fe8 | |||
| 8be26111f9 | |||
| 1b70285fcd | |||
| 1518578b54 | |||
| e57f089704 | |||
| 44d11579db | |||
| 0863b4c354 | |||
| 12bcfddce5 | |||
| 99718eda57 | |||
| 24397727a8 | |||
| 54aca571d6 | 
| @ -61,6 +61,7 @@ install_ubuntu() { | ||||
|     ${maybe_libiomp_dev} \ | ||||
|     libyaml-dev \ | ||||
|     libz-dev \ | ||||
|     libjemalloc2 \ | ||||
|     libjpeg-dev \ | ||||
|     libasound2-dev \ | ||||
|     libsndfile-dev \ | ||||
|  | ||||
| @ -298,3 +298,8 @@ pywavelets==1.4.1 | ||||
| # it here because 1.5.0 conflicts with numpy 1.21.2 used in CI | ||||
| #Pinned versions: 1.4.1 | ||||
| #test that import: | ||||
|  | ||||
| lxml==4.9.4 | ||||
| #Description: This is a requirement of unittest-xml-reporting | ||||
| # have to pin to 4.9.4 because 5.0.0 release on Dec 29th missing | ||||
| # Python-3.9 binaries | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| 2.1.0 | ||||
| 2.2.0 | ||||
|  | ||||
| @ -28,6 +28,8 @@ echo "Environment variables:" | ||||
| env | ||||
|  | ||||
| if [[ "$BUILD_ENVIRONMENT" == *cuda* ]]; then | ||||
|   # Use jemalloc during compilation to mitigate https://github.com/pytorch/pytorch/issues/116289 | ||||
|   export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 | ||||
|   echo "NVCC version:" | ||||
|   nvcc --version | ||||
| fi | ||||
|  | ||||
| @ -173,7 +173,7 @@ function install_torchrec_and_fbgemm() { | ||||
|  | ||||
| function clone_pytorch_xla() { | ||||
|   if [[ ! -d ./xla ]]; then | ||||
|     git clone --recursive --quiet https://github.com/pytorch/xla.git | ||||
|     git clone --recursive -b r2.2 https://github.com/pytorch/xla.git | ||||
|     pushd xla | ||||
|     # pin the xla hash so that we don't get broken by changes to xla | ||||
|     git checkout "$(cat ../.github/ci_commit_pins/xla.txt)" | ||||
|  | ||||
| @ -46,7 +46,8 @@ runs: | ||||
|         retry_wait_seconds: 30 | ||||
|         command: | | ||||
|           set -eux | ||||
|           python3 -m pip install requests==2.26.0 pyyaml==6.0 | ||||
|           # PyYAML 6.0 doesn't work with MacOS x86 anymore | ||||
|           python3 -m pip install requests==2.26.0 pyyaml==6.0.1 | ||||
|  | ||||
|     - name: Parse ref | ||||
|       id: parse-ref | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/ci_commit_pins/xla.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -1 +1 @@ | ||||
| 77b968a541b6d3062e81aafcc140dc20808703ae | ||||
| r2.2 | ||||
|  | ||||
							
								
								
									
										9
									
								
								.github/scripts/build_triton_wheel.py
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -84,7 +84,14 @@ def build_triton( | ||||
|             triton_repo = "https://github.com/openai/triton" | ||||
|             triton_pkg_name = "pytorch-triton" | ||||
|         check_call(["git", "clone", triton_repo], cwd=tmpdir) | ||||
|         check_call(["git", "checkout", commit_hash], cwd=triton_basedir) | ||||
|         if release: | ||||
|             ver, rev, patch = version.split(".") | ||||
|             check_call( | ||||
|                 ["git", "checkout", f"release/{ver}.{rev}.x"], cwd=triton_basedir | ||||
|             ) | ||||
|         else: | ||||
|             check_call(["git", "checkout", commit_hash], cwd=triton_basedir) | ||||
|  | ||||
|         if build_conda: | ||||
|             with open(triton_basedir / "meta.yaml", "w") as meta: | ||||
|                 print( | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/scripts/filter_test_configs.py
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -62,9 +62,9 @@ SUPPORTED_PERIODICAL_MODES: Dict[str, Callable[[Optional[str]], bool]] = { | ||||
| } | ||||
|  | ||||
| # The link to the published list of disabled jobs | ||||
| DISABLED_JOBS_URL = "https://ossci-metrics.s3.amazonaws.com/disabled-jobs.json" | ||||
| DISABLED_JOBS_URL = "https://ossci-metrics.s3.amazonaws.com/disabled-jobs.json?versionId=jbbJUxI_SSZFssBBGCU6ybH9sxHitHLY" | ||||
| # and unstable jobs | ||||
| UNSTABLE_JOBS_URL = "https://ossci-metrics.s3.amazonaws.com/unstable-jobs.json" | ||||
| UNSTABLE_JOBS_URL = "https://ossci-metrics.s3.amazonaws.com/unstable-jobs.json?versionId=hUtTalgnWb1m3AtJyVLUdu7DBrnddRkp" | ||||
|  | ||||
| # Some constants used to handle disabled and unstable jobs | ||||
| JOB_NAME_SEP = "/" | ||||
|  | ||||
| @ -16,6 +16,12 @@ from typing import Dict, List, Optional, Tuple | ||||
| CUDA_ARCHES = ["11.8", "12.1"] | ||||
|  | ||||
|  | ||||
| CUDA_ARCHES_FULL_VERSION = {"11.8": "11.8.0", "12.1": "12.1.1"} | ||||
|  | ||||
|  | ||||
| CUDA_ARCHES_CUDNN_VERSION = {"11.8": "8", "12.1": "8"} | ||||
|  | ||||
|  | ||||
| ROCM_ARCHES = ["5.6", "5.7"] | ||||
|  | ||||
|  | ||||
| @ -24,6 +30,7 @@ CPU_CXX11_ABI_ARCH = ["cpu-cxx11-abi"] | ||||
|  | ||||
| CPU_AARCH64_ARCH = ["cpu-aarch64"] | ||||
|  | ||||
|  | ||||
| PYTORCH_EXTRA_INSTALL_REQUIREMENTS = { | ||||
|     "11.8": ( | ||||
|         "nvidia-cuda-nvrtc-cu11==11.8.89; platform_system == 'Linux' and platform_machine == 'x86_64' | "  # noqa: B950 | ||||
|  | ||||
							
								
								
									
										42
									
								
								.github/scripts/generate_docker_release_matrix.py
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,42 @@ | ||||
| #!/usr/bin/env python3 | ||||
|  | ||||
| """Generates a matrix for docker releases through github actions | ||||
|  | ||||
| Will output a condensed version of the matrix. Will include fllowing: | ||||
|     * CUDA version short | ||||
|     * CUDA full verison | ||||
|     * CUDNN version short | ||||
|     * Image type either runtime or devel | ||||
|     * Platform linux/arm64,linux/amd64 | ||||
|  | ||||
| """ | ||||
|  | ||||
| import json | ||||
| from typing import Dict, List | ||||
|  | ||||
| import generate_binary_build_matrix | ||||
|  | ||||
| DOCKER_IMAGE_TYPES = ["runtime", "devel"] | ||||
|  | ||||
|  | ||||
| def generate_docker_matrix() -> Dict[str, List[Dict[str, str]]]: | ||||
|     ret: List[Dict[str, str]] = [] | ||||
|     for cuda, version in generate_binary_build_matrix.CUDA_ARCHES_FULL_VERSION.items(): | ||||
|         for image in DOCKER_IMAGE_TYPES: | ||||
|             ret.append( | ||||
|                 { | ||||
|                     "cuda": cuda, | ||||
|                     "cuda_full_version": version, | ||||
|                     "cudnn_version": generate_binary_build_matrix.CUDA_ARCHES_CUDNN_VERSION[ | ||||
|                         cuda | ||||
|                     ], | ||||
|                     "image_type": image, | ||||
|                     "platform": "linux/arm64,linux/amd64", | ||||
|                 } | ||||
|             ) | ||||
|     return {"include": ret} | ||||
|  | ||||
|  | ||||
| if __name__ == "__main__": | ||||
|     build_matrix = generate_docker_matrix() | ||||
|     print(json.dumps(build_matrix)) | ||||
							
								
								
									
										4
									
								
								.github/templates/common.yml.j2
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -8,7 +8,7 @@ | ||||
| # NOTE: If testing pytorch/builder changes you can change this variable to change what pytorch/builder reference | ||||
| #       the binary builds will check out | ||||
| {%- set builder_repo = "pytorch/builder" -%} | ||||
| {%- set builder_branch = "main" -%} | ||||
| {%- set builder_branch = "release/2.2" -%} | ||||
|  | ||||
| {%- macro concurrency(build_environment) -%} | ||||
| concurrency: | ||||
| @ -36,7 +36,7 @@ concurrency: | ||||
| {%- macro setup_ec2_windows() -%} | ||||
|       !{{ display_ec2_information() }} | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
| @ -99,13 +99,13 @@ jobs: | ||||
|         with: | ||||
|           name: !{{ config["build_name"] }} | ||||
|           path: "${{ runner.temp }}/artifacts/" | ||||
|       !{{ common.checkout(deep_clone=False, directory="pytorch") }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="builder", repository=common.builder_repo, branch=common.builder_branch) }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="pytorch", checkout_pr_head=False) }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="builder", repository=common.builder_repo, branch=common.builder_branch, checkout_pr_head=False) }} | ||||
|       - name: ROCm set GPU_FLAG | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: !{{ config["container_image"] }} | ||||
|       - name: Test Pytorch binary | ||||
|  | ||||
| @ -81,8 +81,8 @@ jobs: | ||||
|           elif [ -d "/Applications/Xcode_13.3.1.app" ]; then | ||||
|             echo "DEVELOPER_DIR=/Applications/Xcode_13.3.1.app/Contents/Developer" >> "${GITHUB_ENV}" | ||||
|           fi | ||||
|       !{{ common.checkout(deep_clone=False, directory="pytorch") }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="builder", repository=common.builder_repo, branch=common.builder_branch) }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="pytorch", checkout_pr_head=False) }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="builder", repository=common.builder_repo, branch=common.builder_branch, checkout_pr_head=False) }} | ||||
|       - name: Install sccache (only for non-forked PRs, and pushes to trunk) | ||||
|         uses: nick-fields/retry@v2.8.2 | ||||
|         if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }} | ||||
|  | ||||
| @ -65,8 +65,8 @@ jobs: | ||||
|     steps: | ||||
|       !{{ common.setup_ec2_windows() }} | ||||
|       !{{ set_runner_specific_vars() }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="pytorch") }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="builder", repository=common.builder_repo, branch=common.builder_branch) }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="pytorch", checkout_pr_head=False) }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="builder", repository=common.builder_repo, branch=common.builder_branch, checkout_pr_head=False) }} | ||||
|       - name: Populate binary env | ||||
|         shell: bash | ||||
|         run: | | ||||
| @ -105,8 +105,8 @@ jobs: | ||||
|         with: | ||||
|           name: !{{ config["build_name"] }} | ||||
|           path: "${{ env.PYTORCH_FINAL_PACKAGE_DIR }}" | ||||
|       !{{ common.checkout(deep_clone=False, directory="pytorch") }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="builder", repository=common.builder_repo, branch=common.builder_branch) }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="pytorch", checkout_pr_head=False) }} | ||||
|       !{{ common.checkout(deep_clone=False, directory="builder", repository=common.builder_repo, branch=common.builder_branch, checkout_pr_head=False) }} | ||||
|       - name: Populate binary env | ||||
|         shell: bash | ||||
|         run: | | ||||
|  | ||||
							
								
								
									
										12
									
								
								.github/workflows/_android-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -36,7 +36,7 @@ jobs: | ||||
|       keep-going: ${{ steps.filter.outputs.keep-going }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -58,25 +58,25 @@ jobs: | ||||
|     runs-on: ${{ matrix.runner }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Calculate docker image | ||||
|         id: calculate-docker-image | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image-name }} | ||||
|  | ||||
|       - name: Pull docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -140,5 +140,5 @@ jobs: | ||||
|         if: always() | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										12
									
								
								.github/workflows/_android-full-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -36,7 +36,7 @@ jobs: | ||||
|       keep-going: ${{ steps.filter.outputs.keep-going }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -58,25 +58,25 @@ jobs: | ||||
|     runs-on: ${{ matrix.runner }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Calculate docker image | ||||
|         id: calculate-docker-image | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image-name }} | ||||
|  | ||||
|       - name: Pull docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -185,5 +185,5 @@ jobs: | ||||
|         if: always() | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										14
									
								
								.github/workflows/_bazel-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -41,7 +41,7 @@ jobs: | ||||
|       reenabled-issues: ${{ steps.filter.outputs.reenabled-issues }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -63,30 +63,30 @@ jobs: | ||||
|     runs-on: ${{ matrix.runner }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Calculate docker image | ||||
|         id: calculate-docker-image | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image-name }} | ||||
|  | ||||
|       - name: Pull docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
|       - name: Install nvidia driver, nvidia-docker runtime, set GPU_FLAG | ||||
|         uses: pytorch/test-infra/.github/actions/setup-nvidia@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-nvidia@release/2.2 | ||||
|         if: ${{ inputs.cuda-version != 'cpu' }} | ||||
|  | ||||
|       - name: Output disk space left | ||||
| @ -199,5 +199,5 @@ jobs: | ||||
|           file-suffix: bazel-${{ github.job }}_${{ steps.get-job-id.outputs.job-id }} | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										11
									
								
								.github/workflows/_binary-build-linux.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -139,13 +139,13 @@ jobs: | ||||
|         run: env | ||||
|  | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.github-token }} | ||||
|  | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           no-sudo: ${{ inputs.build_environment == 'linux-aarch64-binary-manywheel' }} | ||||
|  | ||||
| @ -173,7 +173,6 @@ jobs: | ||||
|       - name: Checkout PyTorch to pytorch dir | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -187,7 +186,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder to builder dir | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -213,7 +212,7 @@ jobs: | ||||
|  | ||||
|       - name: Pull Docker image | ||||
|         if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' }} | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ inputs.DOCKER_IMAGE }} | ||||
|  | ||||
| @ -270,7 +269,7 @@ jobs: | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         if: always() | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|  | ||||
|       - name: Chown workspace | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										13
									
								
								.github/workflows/_binary-test-linux.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -127,14 +127,14 @@ jobs: | ||||
|           } >> "${GITHUB_ENV} }}" | ||||
|  | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.github-token }} | ||||
|  | ||||
|         # Setup the environment | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           no-sudo: ${{ inputs.build_environment == 'linux-aarch64-binary-manywheel' }} | ||||
|  | ||||
| @ -155,7 +155,6 @@ jobs: | ||||
|       - name: Checkout PyTorch to pytorch dir | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|  | ||||
| @ -168,7 +167,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder to builder dir | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -199,12 +198,12 @@ jobs: | ||||
|           path: "${{ runner.temp }}/artifacts/" | ||||
|  | ||||
|       - name: Install nvidia driver, nvidia-docker runtime, set GPU_FLAG | ||||
|         uses: pytorch/test-infra/.github/actions/setup-nvidia@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-nvidia@release/2.2 | ||||
|         if: ${{ inputs.GPU_ARCH_TYPE == 'cuda' && steps.filter.outputs.is-test-matrix-empty == 'False' }} | ||||
|  | ||||
|       - name: Pull Docker image | ||||
|         if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' }} | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ inputs.DOCKER_IMAGE }} | ||||
|  | ||||
| @ -214,7 +213,7 @@ jobs: | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         if: always() | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|  | ||||
|       - name: Chown workspace | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/_binary-upload.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -100,7 +100,7 @@ jobs: | ||||
|       SHA1: ${{ github.event.pull_request.head.sha || github.sha }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           no-sudo: true | ||||
|  | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_buck-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -22,7 +22,7 @@ jobs: | ||||
|       keep-going: ${{ steps.filter.outputs.keep-going }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -43,7 +43,7 @@ jobs: | ||||
|     runs-on: ${{ matrix.runner }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Set up JDK 8 | ||||
|         uses: actions/setup-java@v3 | ||||
| @ -52,7 +52,7 @@ jobs: | ||||
|           distribution: 'temurin' | ||||
|  | ||||
|       - name: Setup miniconda | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.2 | ||||
|         with: | ||||
|           python-version: 3.8 | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }} | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/_docs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -66,7 +66,7 @@ jobs: | ||||
|     name: build-docs-${{ matrix.docs_type }}-${{ inputs.push }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|           instructions: | | ||||
| @ -77,19 +77,19 @@ jobs: | ||||
|  | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Calculate docker image | ||||
|         id: calculate-docker-image | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image }} | ||||
|  | ||||
|       - name: Pull docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -187,5 +187,5 @@ jobs: | ||||
|           s3-prefix: pytorch/pytorch/${{ github.event.pull_request.number }}/functorchdocs | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_ios-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -45,7 +45,7 @@ jobs: | ||||
|       keep-going: ${{ steps.filter.outputs.keep-going }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -79,7 +79,7 @@ jobs: | ||||
|     steps: | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Populate CI build options | ||||
|         shell: bash | ||||
| @ -101,7 +101,7 @@ jobs: | ||||
|             brew install libtool | ||||
|  | ||||
|       - name: Setup miniconda for iOS | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.2 | ||||
|         with: | ||||
|           python-version: "3.9" | ||||
|           environment-file: .github/requirements/conda-env-iOS.txt | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/_linux-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -73,7 +73,7 @@ jobs: | ||||
|       test-matrix: ${{ steps.filter.outputs.test-matrix }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
| @ -82,14 +82,14 @@ jobs: | ||||
|       # checkout because when we run this action we don't *have* a local | ||||
|       # checkout. In other cases you should prefer a local checkout. | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Calculate docker image | ||||
|         id: calculate-docker-image | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image-name }} | ||||
|  | ||||
| @ -103,7 +103,7 @@ jobs: | ||||
|           echo "docker pull ghcr.io/pytorch/ci-image:${tag/:/-}" | ||||
|  | ||||
|       - name: Pull docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -209,5 +209,5 @@ jobs: | ||||
|           path: sccache-stats-*.json | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										12
									
								
								.github/workflows/_linux-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -57,7 +57,7 @@ jobs: | ||||
|     timeout-minutes: ${{ matrix.mem_leak_check == 'mem_leak_check' && 600 || inputs.timeout-minutes }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         if: ${{ !contains(matrix.runner, 'gcp.a100') }} | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -66,14 +66,14 @@ jobs: | ||||
|               docker exec -it $(docker container ps --format '{{.ID}}') bash | ||||
|  | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Calculate docker image | ||||
|         id: calculate-docker-image | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image }} | ||||
|  | ||||
| @ -87,13 +87,13 @@ jobs: | ||||
|           echo "docker pull ghcr.io/pytorch/ci-image:${tag/:/-}" | ||||
|  | ||||
|       - name: Pull docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
|       - name: Install nvidia driver, nvidia-docker runtime, set GPU_FLAG | ||||
|         id: install-nvidia-driver | ||||
|         uses: pytorch/test-infra/.github/actions/setup-nvidia@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-nvidia@release/2.2 | ||||
|         if: contains(inputs.build-environment, 'cuda') && !contains(matrix.config, 'nogpu') | ||||
|  | ||||
|       - name: Lock NVIDIA A100 40GB Frequency | ||||
| @ -300,7 +300,7 @@ jobs: | ||||
|           path: ./**/core.[1-9]* | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
|       # NB: We are currently having an intermittent GPU-related issue on G5 runners with | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/_mac-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -71,11 +71,11 @@ jobs: | ||||
|       test-matrix: ${{ steps.filter.outputs.test-matrix }} | ||||
|     steps: | ||||
|       - name: Clean up disk space before running MacOS workflow | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@main | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@release/2.2 | ||||
|  | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Set xcode version | ||||
|         env: | ||||
| @ -87,7 +87,7 @@ jobs: | ||||
|  | ||||
|       - name: Setup miniconda | ||||
|         if: inputs.environment-file == '' | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.2 | ||||
|         with: | ||||
|           python-version: ${{ inputs.python-version }} | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }} | ||||
| @ -97,7 +97,7 @@ jobs: | ||||
|       # environment even though the arch is x86-64 | ||||
|       - name: Setup miniconda using the provided environment file | ||||
|         if: inputs.environment-file != '' | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.2 | ||||
|         with: | ||||
|           python-version: ${{ inputs.python-version }} | ||||
|           environment-file: ${{ inputs.environment-file }} | ||||
| @ -207,4 +207,4 @@ jobs: | ||||
|       - name: Clean up disk space | ||||
|         if: always() | ||||
|         continue-on-error: true | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@main | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@release/2.2 | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_mac-test-mps.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -36,7 +36,7 @@ jobs: | ||||
|       reenabled-issues: ${{ steps.filter.outputs.reenabled-issues }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -80,7 +80,7 @@ jobs: | ||||
|           use-gha: true | ||||
|  | ||||
|       - name: Setup miniconda | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.2 | ||||
|         with: | ||||
|           python-version: ${{ inputs.python-version }} | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }} | ||||
| @ -158,4 +158,4 @@ jobs: | ||||
|       - name: Clean up disk space | ||||
|         if: always() | ||||
|         continue-on-error: true | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@main | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@release/2.2 | ||||
|  | ||||
							
								
								
									
										8
									
								
								.github/workflows/_mac-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -79,11 +79,11 @@ jobs: | ||||
|  | ||||
|  | ||||
|       - name: Clean up disk space before running MacOS workflow | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@main | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@release/2.2 | ||||
|  | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Download build artifacts | ||||
|         uses: ./.github/actions/download-build-artifacts | ||||
| @ -92,7 +92,7 @@ jobs: | ||||
|           use-gha: true | ||||
|  | ||||
|       - name: Setup miniconda | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.2 | ||||
|         with: | ||||
|           python-version: ${{ inputs.python-version }} | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }} | ||||
| @ -218,4 +218,4 @@ jobs: | ||||
|       - name: Clean up disk space | ||||
|         if: always() | ||||
|         continue-on-error: true | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@main | ||||
|         uses: pytorch/test-infra/.github/actions/check-disk-space@release/2.2 | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_rocm-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -54,7 +54,7 @@ jobs: | ||||
|     steps: | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           no-sudo: true | ||||
|  | ||||
| @ -63,12 +63,12 @@ jobs: | ||||
|  | ||||
|       - name: Calculate docker image | ||||
|         id: calculate-docker-image | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image }} | ||||
|  | ||||
|       - name: Pull docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_run_android_tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -22,7 +22,7 @@ jobs: | ||||
|       keep-going: ${{ steps.filter.outputs.keep-going }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -53,10 +53,10 @@ jobs: | ||||
|       SUPPORT_ABI: '${{ matrix.support_abi }}' | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Setup miniconda | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.2 | ||||
|         with: | ||||
|           python-version: 3.8 | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }}.txt | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_win-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -60,10 +60,10 @@ jobs: | ||||
|           git config --global core.fsmonitor false | ||||
|  | ||||
|       - name: Clean up leftover processes on non-ephemeral Windows runner | ||||
|         uses: pytorch/test-infra/.github/actions/cleanup-runner@main | ||||
|         uses: pytorch/test-infra/.github/actions/cleanup-runner@release/2.2 | ||||
|  | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|           instructions: | | ||||
| @ -78,7 +78,7 @@ jobs: | ||||
|  | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           no-sudo: true | ||||
|  | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_win-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -54,10 +54,10 @@ jobs: | ||||
|           git config --global core.fsmonitor false | ||||
|  | ||||
|       - name: Clean up leftover processes on non-ephemeral Windows runner | ||||
|         uses: pytorch/test-infra/.github/actions/cleanup-runner@main | ||||
|         uses: pytorch/test-infra/.github/actions/cleanup-runner@release/2.2 | ||||
|  | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|           instructions: | | ||||
| @ -73,7 +73,7 @@ jobs: | ||||
|  | ||||
|       # [see note: pytorch repo ref] | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           no-sudo: true | ||||
|  | ||||
|  | ||||
							
								
								
									
										18
									
								
								.github/workflows/build-triton-wheel.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -3,7 +3,7 @@ name: Build Triton wheels | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
|       - release/2.2 | ||||
|     tags: | ||||
|       # NOTE: Binary build pipelines should only get triggered on release candidate builds | ||||
|       # Release candidate tags look like: v1.11.0-rc1 | ||||
| @ -47,12 +47,12 @@ jobs: | ||||
|       BUILD_DEVICE: ${{ matrix.device }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           submodules: false | ||||
|  | ||||
| @ -60,7 +60,7 @@ jobs: | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ env.DOCKER_IMAGE }} | ||||
|  | ||||
| @ -125,7 +125,7 @@ jobs: | ||||
|           path: ${{ runner.temp }}/artifacts/* | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
|   upload-wheel: | ||||
| @ -189,12 +189,12 @@ jobs: | ||||
|       PY_VERS: ${{ matrix.py_vers }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           submodules: false | ||||
|  | ||||
| @ -202,7 +202,7 @@ jobs: | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ env.DOCKER_IMAGE }} | ||||
|  | ||||
| @ -238,7 +238,7 @@ jobs: | ||||
|           path: ${{ runner.temp }}/artifacts/* | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
|   upload-conda: | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/check-labels.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -29,7 +29,7 @@ jobs: | ||||
|     runs-on: linux.20_04.4x | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: 1 | ||||
|  | ||||
| @ -10,7 +10,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Run close_nonexistent_disable_issues.py | ||||
|         env: | ||||
|  | ||||
							
								
								
									
										8
									
								
								.github/workflows/docker-builds.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -65,21 +65,21 @@ jobs: | ||||
|       # [see note: pytorch repo ref] | ||||
|       # deep clone (fetch-depth 0) required for git merge-base | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
|  | ||||
|       - name: Build docker image | ||||
|         id: build-docker-image | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image-name: ${{ matrix.docker-image-name }} | ||||
|           always-rebuild: true | ||||
|           push: true | ||||
|  | ||||
|       - name: Pull docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: ${{ steps.build-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -109,5 +109,5 @@ jobs: | ||||
|         if: always() | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										44
									
								
								.github/workflows/docker-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -11,8 +11,8 @@ on: | ||||
|     branches: | ||||
|       - nightly | ||||
|     tags: | ||||
|       # Release candidate tags look like: v1.11.0-rc1 | ||||
|       - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+ | ||||
|       # We want to run this build on final release tag | ||||
|       - v[0-9]+.[0-9]+.[0-9]+ | ||||
|       - ciflow/nightly/* | ||||
|  | ||||
| concurrency: | ||||
| @ -29,25 +29,42 @@ env: | ||||
|   WITH_PUSH: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/nightly' || (startsWith(github.event.ref, 'refs/tags/') && !startsWith(github.event.ref, 'refs/tags/ciflow/'))) }} | ||||
|  | ||||
| jobs: | ||||
|   generate-matrix: | ||||
|     if: github.repository_owner == 'pytorch' | ||||
|     runs-on: [self-hosted, linux.large] | ||||
|     outputs: | ||||
|       matrix: ${{ steps.generate-matrix.outputs.matrix }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: true | ||||
|       - name: Get docker release matrix | ||||
|         id: generate-matrix | ||||
|         run: | | ||||
|           MATRIX_BLOB="$(python3 .github/scripts/generate_docker_release_matrix.py)" | ||||
|           echo "${MATRIX_BLOB}" | ||||
|           echo "matrix=${MATRIX_BLOB}" >> "${GITHUB_OUTPUT}" | ||||
|  | ||||
|   build: | ||||
|     if: ${{ github.repository == 'pytorch/pytorch' }} | ||||
|     runs-on: [self-hosted, linux.2xlarge] | ||||
|     environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }} | ||||
|     timeout-minutes: 240 | ||||
|     needs: generate-matrix | ||||
|     strategy: | ||||
|       matrix: | ||||
|         include: | ||||
|           # nvidia specific images don't exist for arm64 so only build the runtime image | ||||
|           - image_type: runtime | ||||
|             platform: linux/arm64,linux/amd64 | ||||
|           - image_type: devel | ||||
|             platform: linux/amd64 | ||||
|       matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }} | ||||
|       fail-fast: false | ||||
|     env: | ||||
|       BUILD_IMAGE_TYPE: ${{ matrix.image_type }} | ||||
|       BUILD_PLATFORMS: ${{ matrix.platform }} | ||||
|       CUDA_VERSION: ${{ matrix.cuda_full_version }} | ||||
|       CUDA_VERSION_SHORT: ${{ matrix.cuda }} | ||||
|       CUDNN_VERSION: ${{ matrix.cudnn_version }} | ||||
|     steps: | ||||
|       - name: Setup SSH (Click me for login details) | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|       # [see note: pytorch repo ref] | ||||
| @ -97,10 +114,11 @@ jobs: | ||||
|       - name: Push nightly tags | ||||
|         if: ${{ github.event.ref == 'refs/heads/nightly' && matrix.image_type == 'runtime' }} | ||||
|         run: | | ||||
|           PYTORCH_DOCKER_TAG="${PYTORCH_VERSION}-runtime" | ||||
|           CUDA_VERSION=$(python3 -c "import re;print(re.search('CUDA_VERSION\s+=\s+([0-9\.]+)',open('docker.Makefile').read())[1],end='')") | ||||
|           PYTORCH_DOCKER_TAG="${PYTORCH_VERSION}-cuda$(CUDA_VERSION_SHORT)-cudnn$(CUDNN_VERSION)-runtime" | ||||
|  | ||||
|           PYTORCH_NIGHTLY_COMMIT=$(docker run ghcr.io/pytorch/pytorch-nightly:"${PYTORCH_DOCKER_TAG}" \ | ||||
|                                           python -c 'import torch; print(torch.version.git_version[:7],end="")') | ||||
|  | ||||
|           docker tag ghcr.io/pytorch/pytorch-nightly:"${PYTORCH_DOCKER_TAG}" \ | ||||
|                  ghcr.io/pytorch/pytorch-nightly:"${PYTORCH_NIGHTLY_COMMIT}-cu${CUDA_VERSION}" | ||||
|           docker push ghcr.io/pytorch/pytorch-nightly:"${PYTORCH_NIGHTLY_COMMIT}-cu${CUDA_VERSION}" | ||||
| @ -109,5 +127,5 @@ jobs: | ||||
|                  ghcr.io/pytorch/pytorch-nightly:latest | ||||
|           docker push ghcr.io/pytorch/pytorch-nightly:latest | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.2 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										30
									
								
								.github/workflows/generated-linux-aarch64-binary-manywheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -47,7 +47,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       runs_on: linux.arm64.2xlarge | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -68,7 +68,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -87,7 +87,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cpu-aarch64 | ||||
|     secrets: | ||||
| @ -109,7 +109,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runs_on: linux.arm64.2xlarge | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -130,7 +130,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -149,7 +149,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-aarch64 | ||||
|     secrets: | ||||
| @ -171,7 +171,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runs_on: linux.arm64.2xlarge | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -192,7 +192,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -211,7 +211,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-aarch64 | ||||
|     secrets: | ||||
| @ -233,7 +233,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runs_on: linux.arm64.2xlarge | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -254,7 +254,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -273,7 +273,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-aarch64 | ||||
|     secrets: | ||||
| @ -295,7 +295,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runs_on: linux.arm64.2xlarge | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -316,7 +316,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -335,7 +335,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cpu-aarch64-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-aarch64 | ||||
|     secrets: | ||||
|  | ||||
							
								
								
									
										90
									
								
								.github/workflows/generated-linux-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -47,7 +47,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -65,7 +65,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -83,7 +83,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cpu | ||||
|     secrets: | ||||
| @ -106,7 +106,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_8-cuda11_8 | ||||
| @ -126,7 +126,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -145,7 +145,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cuda11_8 | ||||
|     secrets: | ||||
| @ -168,7 +168,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_8-cuda12_1 | ||||
| @ -188,7 +188,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -207,7 +207,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cuda12_1 | ||||
|     secrets: | ||||
| @ -229,7 +229,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -247,7 +247,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -265,7 +265,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cpu | ||||
|     secrets: | ||||
| @ -288,7 +288,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_9-cuda11_8 | ||||
| @ -308,7 +308,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -327,7 +327,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda11_8 | ||||
|     secrets: | ||||
| @ -350,7 +350,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_9-cuda12_1 | ||||
| @ -370,7 +370,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -389,7 +389,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda12_1 | ||||
|     secrets: | ||||
| @ -411,7 +411,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -429,7 +429,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -447,7 +447,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cpu | ||||
|     secrets: | ||||
| @ -470,7 +470,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_10-cuda11_8 | ||||
| @ -490,7 +490,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -509,7 +509,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda11_8 | ||||
|     secrets: | ||||
| @ -532,7 +532,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_10-cuda12_1 | ||||
| @ -552,7 +552,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -571,7 +571,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda12_1 | ||||
|     secrets: | ||||
| @ -593,7 +593,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -611,7 +611,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -629,7 +629,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cpu | ||||
|     secrets: | ||||
| @ -652,7 +652,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_11-cuda11_8 | ||||
| @ -672,7 +672,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -691,7 +691,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda11_8 | ||||
|     secrets: | ||||
| @ -714,7 +714,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_11-cuda12_1 | ||||
| @ -734,7 +734,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -753,7 +753,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda12_1 | ||||
|     secrets: | ||||
| @ -775,7 +775,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -793,7 +793,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -811,7 +811,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cpu | ||||
|     secrets: | ||||
| @ -834,7 +834,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_12-cuda11_8 | ||||
| @ -854,7 +854,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -873,7 +873,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda11_8 | ||||
|     secrets: | ||||
| @ -896,7 +896,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runs_on: linux.24xlarge | ||||
|       build_name: conda-py3_12-cuda12_1 | ||||
| @ -916,7 +916,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -935,7 +935,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda12_1 | ||||
|     secrets: | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/generated-linux-binary-libtorch-cxx11-abi-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -42,7 +42,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
| @ -61,7 +61,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
|  | ||||
							
								
								
									
										44
									
								
								.github/workflows/generated-linux-binary-libtorch-cxx11-abi-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -47,7 +47,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
| @ -66,7 +66,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
| @ -85,7 +85,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
| @ -109,7 +109,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda11.8-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-cxx11-abi | ||||
| @ -129,7 +129,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda11.8-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-cxx11-abi | ||||
| @ -149,7 +149,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda11.8-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-cxx11-abi | ||||
| @ -173,7 +173,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.1-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-cxx11-abi | ||||
| @ -193,7 +193,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.1-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-cxx11-abi | ||||
| @ -213,7 +213,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.1-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-cxx11-abi | ||||
| @ -237,7 +237,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.6-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-rocm5_6-shared-with-deps-cxx11-abi | ||||
| @ -259,7 +259,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.6-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|     steps: | ||||
| @ -273,7 +273,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -285,7 +284,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -299,9 +298,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/libtorch-cxx11-builder:rocm5.6-main | ||||
|           docker-image: pytorch/libtorch-cxx11-builder:rocm5.6-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -318,7 +317,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.6-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-rocm5_6-shared-with-deps-cxx11-abi | ||||
| @ -342,7 +341,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.7-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-rocm5_7-shared-with-deps-cxx11-abi | ||||
| @ -364,7 +363,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.7-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|     steps: | ||||
| @ -378,7 +377,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -390,7 +388,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -404,9 +402,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/libtorch-cxx11-builder:rocm5.7-main | ||||
|           docker-image: pytorch/libtorch-cxx11-builder:rocm5.7-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -423,7 +421,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm5.7-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-rocm5_7-shared-with-deps-cxx11-abi | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/generated-linux-binary-libtorch-pre-cxx11-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -42,7 +42,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cpu-shared-with-deps-pre-cxx11 | ||||
| @ -61,7 +61,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cpu-shared-with-deps-pre-cxx11 | ||||
|  | ||||
							
								
								
									
										44
									
								
								.github/workflows/generated-linux-binary-libtorch-pre-cxx11-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -47,7 +47,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cpu-shared-with-deps-pre-cxx11 | ||||
| @ -66,7 +66,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cpu-shared-with-deps-pre-cxx11 | ||||
| @ -85,7 +85,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cpu-shared-with-deps-pre-cxx11 | ||||
| @ -109,7 +109,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-pre-cxx11 | ||||
| @ -129,7 +129,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-pre-cxx11 | ||||
| @ -149,7 +149,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-pre-cxx11 | ||||
| @ -173,7 +173,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-pre-cxx11 | ||||
| @ -193,7 +193,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-pre-cxx11 | ||||
| @ -213,7 +213,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-pre-cxx11 | ||||
| @ -237,7 +237,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-rocm5_6-shared-with-deps-pre-cxx11 | ||||
| @ -259,7 +259,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|     steps: | ||||
| @ -273,7 +273,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -285,7 +284,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -299,9 +298,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -318,7 +317,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-rocm5_6-shared-with-deps-pre-cxx11 | ||||
| @ -342,7 +341,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-rocm5_7-shared-with-deps-pre-cxx11 | ||||
| @ -364,7 +363,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|     steps: | ||||
| @ -378,7 +377,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -390,7 +388,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -404,9 +402,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -423,7 +421,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-rocm5_7-shared-with-deps-pre-cxx11 | ||||
|  | ||||
							
								
								
									
										8
									
								
								.github/workflows/generated-linux-binary-manywheel-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -43,7 +43,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -63,7 +63,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -83,7 +83,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -103,7 +103,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
|  | ||||
							
								
								
									
										250
									
								
								.github/workflows/generated-linux-binary-manywheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -47,7 +47,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -65,7 +65,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -83,7 +83,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cpu | ||||
|     secrets: | ||||
| @ -105,7 +105,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cpu-cxx11-abi | ||||
| @ -124,7 +124,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cpu-cxx11-abi | ||||
| @ -143,7 +143,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cpu-cxx11-abi | ||||
| @ -167,7 +167,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -187,7 +187,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -206,7 +206,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda11_8 | ||||
|     secrets: | ||||
| @ -229,7 +229,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -249,7 +249,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -268,7 +268,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-cuda12_1 | ||||
|     secrets: | ||||
| @ -291,7 +291,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-rocm5_6 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -312,7 +312,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -325,7 +325,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -337,7 +336,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -351,9 +350,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -370,7 +369,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-rocm5_6 | ||||
|     secrets: | ||||
| @ -393,7 +392,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-rocm5_7 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -414,7 +413,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -427,7 +426,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -439,7 +437,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -453,9 +451,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -472,7 +470,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: manywheel-py3_8-rocm5_7 | ||||
|     secrets: | ||||
| @ -494,7 +492,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -512,7 +510,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -530,7 +528,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu | ||||
|     secrets: | ||||
| @ -552,7 +550,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-cxx11-abi | ||||
| @ -571,7 +569,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-cxx11-abi | ||||
| @ -590,7 +588,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-cxx11-abi | ||||
| @ -614,7 +612,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -634,7 +632,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -653,7 +651,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda11_8 | ||||
|     secrets: | ||||
| @ -676,7 +674,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -696,7 +694,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -715,7 +713,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_1 | ||||
|     secrets: | ||||
| @ -738,7 +736,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-rocm5_6 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -759,7 +757,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -772,7 +770,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -784,7 +781,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -798,9 +795,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -817,7 +814,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-rocm5_6 | ||||
|     secrets: | ||||
| @ -840,7 +837,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-rocm5_7 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -861,7 +858,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -874,7 +871,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -886,7 +882,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -900,9 +896,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -919,7 +915,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-rocm5_7 | ||||
|     secrets: | ||||
| @ -941,7 +937,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -959,7 +955,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -977,7 +973,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu | ||||
|     secrets: | ||||
| @ -999,7 +995,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-cxx11-abi | ||||
| @ -1018,7 +1014,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-cxx11-abi | ||||
| @ -1037,7 +1033,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-cxx11-abi | ||||
| @ -1061,7 +1057,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1081,7 +1077,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1100,7 +1096,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cuda11_8 | ||||
|     secrets: | ||||
| @ -1123,7 +1119,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1143,7 +1139,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1162,7 +1158,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cuda12_1 | ||||
|     secrets: | ||||
| @ -1185,7 +1181,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-rocm5_6 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1206,7 +1202,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -1219,7 +1215,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1231,7 +1226,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1245,9 +1240,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -1264,7 +1259,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-rocm5_6 | ||||
|     secrets: | ||||
| @ -1287,7 +1282,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-rocm5_7 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1308,7 +1303,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -1321,7 +1316,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1333,7 +1327,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1347,9 +1341,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -1366,7 +1360,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-rocm5_7 | ||||
|     secrets: | ||||
| @ -1388,7 +1382,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1406,7 +1400,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1424,7 +1418,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu | ||||
|     secrets: | ||||
| @ -1446,7 +1440,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-cxx11-abi | ||||
| @ -1465,7 +1459,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-cxx11-abi | ||||
| @ -1484,7 +1478,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-cxx11-abi | ||||
| @ -1508,7 +1502,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1528,7 +1522,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1547,7 +1541,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cuda11_8 | ||||
|     secrets: | ||||
| @ -1570,7 +1564,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1590,7 +1584,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1609,7 +1603,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cuda12_1 | ||||
|     secrets: | ||||
| @ -1632,7 +1626,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-rocm5_6 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1653,7 +1647,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -1666,7 +1660,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1678,7 +1671,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1692,9 +1685,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -1711,7 +1704,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-rocm5_6 | ||||
|     secrets: | ||||
| @ -1734,7 +1727,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-rocm5_7 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1755,7 +1748,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -1768,7 +1761,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1780,7 +1772,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1794,9 +1786,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -1813,7 +1805,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-rocm5_7 | ||||
|     secrets: | ||||
| @ -1835,7 +1827,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1853,7 +1845,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1871,7 +1863,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu | ||||
|     secrets: | ||||
| @ -1893,7 +1885,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-cxx11-abi | ||||
| @ -1912,7 +1904,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-cxx11-abi | ||||
| @ -1931,7 +1923,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu-cxx11-abi | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxcxx11-abi-builder:cpu-cxx11-abi-2.2 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-cxx11-abi | ||||
| @ -1955,7 +1947,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1975,7 +1967,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -1994,7 +1986,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cuda11_8 | ||||
|     secrets: | ||||
| @ -2017,7 +2009,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -2037,7 +2029,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -2056,7 +2048,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cuda12_1 | ||||
|     secrets: | ||||
| @ -2079,7 +2071,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-rocm5_6 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -2100,7 +2092,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -2113,7 +2105,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2125,7 +2116,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2139,9 +2130,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -2158,7 +2149,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.6 | ||||
|       GPU_ARCH_VERSION: 5.6 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.6-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-rocm5_6 | ||||
|     secrets: | ||||
| @ -2181,7 +2172,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-rocm5_7 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -2202,7 +2193,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|     steps: | ||||
|       - name: Setup ROCm | ||||
| @ -2215,7 +2206,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2227,7 +2217,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2241,9 +2231,9 @@ jobs: | ||||
|         run: | | ||||
|           echo "GPU_FLAG=--device=/dev/mem --device=/dev/kfd --device=/dev/dri --group-add video --group-add daemon" >> "${GITHUB_ENV}" | ||||
|       - name: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.2 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -2260,7 +2250,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm5.7 | ||||
|       GPU_ARCH_VERSION: 5.7 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm5.7-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-rocm5_7 | ||||
|     secrets: | ||||
|  | ||||
							
								
								
									
										25
									
								
								.github/workflows/generated-macos-arm64-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -79,7 +79,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -91,7 +90,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -140,7 +139,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cpu | ||||
|       use_s3: False | ||||
| @ -196,7 +195,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -208,7 +206,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -257,7 +255,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cpu | ||||
|       use_s3: False | ||||
| @ -313,7 +311,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -325,7 +322,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -374,7 +371,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cpu | ||||
|       use_s3: False | ||||
| @ -430,7 +427,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -442,7 +438,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -491,7 +487,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cpu | ||||
|       use_s3: False | ||||
| @ -547,7 +543,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -559,7 +554,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -608,7 +603,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cpu | ||||
|       use_s3: False | ||||
|  | ||||
							
								
								
									
										5
									
								
								.github/workflows/generated-macos-arm64-binary-libtorch-cxx11-abi-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -81,7 +81,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -93,7 +92,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -142,7 +141,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
|  | ||||
							
								
								
									
										25
									
								
								.github/workflows/generated-macos-arm64-binary-wheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -78,7 +78,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -90,7 +89,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -139,7 +138,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: wheel-py3_8-cpu | ||||
|       use_s3: False | ||||
| @ -196,7 +195,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -208,7 +206,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -257,7 +255,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: wheel-py3_9-cpu | ||||
|       use_s3: False | ||||
| @ -314,7 +312,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -326,7 +323,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -375,7 +372,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: wheel-py3_10-cpu | ||||
|       use_s3: False | ||||
| @ -432,7 +429,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -444,7 +440,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -493,7 +489,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: wheel-py3_11-cpu | ||||
|       use_s3: False | ||||
| @ -550,7 +546,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -562,7 +557,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -611,7 +606,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: wheel-py3_12-cpu | ||||
|       use_s3: False | ||||
|  | ||||
							
								
								
									
										25
									
								
								.github/workflows/generated-macos-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -77,7 +77,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -89,7 +88,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -138,7 +137,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: conda-py3_8-cpu | ||||
|       use_s3: False | ||||
| @ -194,7 +193,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -206,7 +204,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -255,7 +253,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cpu | ||||
|       use_s3: False | ||||
| @ -311,7 +309,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -323,7 +320,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -372,7 +369,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cpu | ||||
|       use_s3: False | ||||
| @ -428,7 +425,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -440,7 +436,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -489,7 +485,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cpu | ||||
|       use_s3: False | ||||
| @ -545,7 +541,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -557,7 +552,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -606,7 +601,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cpu | ||||
|       use_s3: False | ||||
|  | ||||
							
								
								
									
										5
									
								
								.github/workflows/generated-macos-binary-libtorch-cxx11-abi-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -81,7 +81,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -93,7 +92,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -142,7 +141,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cpu-2.2 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
|  | ||||
							
								
								
									
										25
									
								
								.github/workflows/generated-macos-binary-wheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -78,7 +78,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -90,7 +89,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -139,7 +138,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       build_name: wheel-py3_8-cpu | ||||
|       use_s3: False | ||||
| @ -196,7 +195,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -208,7 +206,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -257,7 +255,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: wheel-py3_9-cpu | ||||
|       use_s3: False | ||||
| @ -314,7 +312,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -326,7 +323,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -375,7 +372,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: wheel-py3_10-cpu | ||||
|       use_s3: False | ||||
| @ -432,7 +429,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -444,7 +440,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -493,7 +489,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: wheel-py3_11-cpu | ||||
|       use_s3: False | ||||
| @ -550,7 +546,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -562,7 +557,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -611,7 +606,7 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cpu-2.2 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: wheel-py3_12-cpu | ||||
|       use_s3: False | ||||
|  | ||||
							
								
								
									
										150
									
								
								.github/workflows/generated-windows-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -62,7 +62,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -93,7 +93,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -105,7 +104,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -174,7 +173,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -210,7 +209,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -222,7 +220,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -304,7 +302,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -335,7 +333,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -347,7 +344,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -417,7 +414,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -453,7 +450,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -465,7 +461,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -548,7 +544,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -579,7 +575,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -591,7 +586,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -661,7 +656,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -697,7 +692,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -709,7 +703,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -791,7 +785,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -822,7 +816,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -834,7 +827,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -903,7 +896,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -939,7 +932,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -951,7 +943,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1033,7 +1025,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1064,7 +1056,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1076,7 +1067,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1146,7 +1137,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1182,7 +1173,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1194,7 +1184,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1277,7 +1267,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1308,7 +1298,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1320,7 +1309,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1390,7 +1379,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1426,7 +1415,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1438,7 +1426,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1520,7 +1508,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1551,7 +1539,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1563,7 +1550,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1632,7 +1619,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1668,7 +1655,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1680,7 +1666,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1762,7 +1748,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1793,7 +1779,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1805,7 +1790,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1875,7 +1860,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1911,7 +1896,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1923,7 +1907,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2006,7 +1990,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2037,7 +2021,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2049,7 +2032,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2119,7 +2102,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2155,7 +2138,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2167,7 +2149,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2249,7 +2231,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2280,7 +2262,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2292,7 +2273,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2361,7 +2342,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2397,7 +2378,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2409,7 +2389,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2491,7 +2471,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2522,7 +2502,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2534,7 +2513,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2604,7 +2583,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2640,7 +2619,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2652,7 +2630,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2735,7 +2713,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2766,7 +2744,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2778,7 +2755,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2848,7 +2825,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2884,7 +2861,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2896,7 +2872,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2978,7 +2954,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3009,7 +2985,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3021,7 +2996,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3090,7 +3065,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3126,7 +3101,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3138,7 +3112,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3220,7 +3194,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3251,7 +3225,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3263,7 +3236,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3333,7 +3306,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3369,7 +3342,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3381,7 +3353,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3464,7 +3436,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3495,7 +3467,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3507,7 +3478,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3577,7 +3548,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3613,7 +3584,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3625,7 +3595,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/generated-windows-binary-libtorch-debug-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -59,7 +59,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -90,7 +90,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -102,7 +101,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -175,7 +174,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -211,7 +210,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -223,7 +221,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										30
									
								
								.github/workflows/generated-windows-binary-libtorch-debug-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -66,7 +66,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -97,7 +97,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -109,7 +108,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -182,7 +181,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -218,7 +217,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -230,7 +228,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -320,7 +318,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -351,7 +349,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -363,7 +360,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -437,7 +434,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -473,7 +470,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -485,7 +481,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -576,7 +572,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -607,7 +603,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -619,7 +614,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -693,7 +688,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -729,7 +724,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -741,7 +735,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/generated-windows-binary-libtorch-release-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -59,7 +59,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -90,7 +90,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -102,7 +101,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -175,7 +174,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -211,7 +210,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -223,7 +221,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										30
									
								
								.github/workflows/generated-windows-binary-libtorch-release-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -66,7 +66,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -97,7 +97,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -109,7 +108,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -182,7 +181,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -218,7 +217,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -230,7 +228,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -320,7 +318,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -351,7 +349,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -363,7 +360,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -437,7 +434,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -473,7 +470,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -485,7 +481,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -576,7 +572,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -607,7 +603,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -619,7 +614,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -693,7 +688,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -729,7 +724,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -741,7 +735,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										150
									
								
								.github/workflows/generated-windows-binary-wheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						| @ -63,7 +63,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -94,7 +94,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -106,7 +105,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -175,7 +174,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -211,7 +210,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -223,7 +221,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -306,7 +304,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -337,7 +335,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -349,7 +346,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -419,7 +416,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -455,7 +452,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -467,7 +463,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -551,7 +547,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -582,7 +578,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -594,7 +589,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -664,7 +659,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -700,7 +695,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -712,7 +706,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -795,7 +789,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -826,7 +820,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -838,7 +831,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -907,7 +900,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -943,7 +936,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -955,7 +947,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1038,7 +1030,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1069,7 +1061,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1081,7 +1072,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1151,7 +1142,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1187,7 +1178,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1199,7 +1189,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1283,7 +1273,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1314,7 +1304,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1326,7 +1315,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1396,7 +1385,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1432,7 +1421,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1444,7 +1432,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1527,7 +1515,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1558,7 +1546,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1570,7 +1557,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1639,7 +1626,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1675,7 +1662,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1687,7 +1673,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1770,7 +1756,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1801,7 +1787,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1813,7 +1798,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1883,7 +1868,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1919,7 +1904,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -1931,7 +1915,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2015,7 +1999,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2046,7 +2030,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2058,7 +2041,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2128,7 +2111,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2164,7 +2147,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2176,7 +2158,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2259,7 +2241,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2290,7 +2272,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2302,7 +2283,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2371,7 +2352,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2407,7 +2388,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2419,7 +2399,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2502,7 +2482,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2533,7 +2513,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2545,7 +2524,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2615,7 +2594,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2651,7 +2630,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2663,7 +2641,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2747,7 +2725,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2778,7 +2756,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2790,7 +2767,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2860,7 +2837,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2896,7 +2873,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -2908,7 +2884,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2991,7 +2967,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3022,7 +2998,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3034,7 +3009,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3103,7 +3078,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3139,7 +3114,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3151,7 +3125,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3234,7 +3208,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3265,7 +3239,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3277,7 +3250,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3347,7 +3320,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3383,7 +3356,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3395,7 +3367,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3479,7 +3451,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3510,7 +3482,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3522,7 +3493,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3592,7 +3563,7 @@ jobs: | ||||
|           echo "instance-type: $(get_ec2_metadata instance-type)" | ||||
|           echo "system info $(uname -a)" | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.2 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3628,7 +3599,6 @@ jobs: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | ||||
|           submodules: recursive | ||||
|           path: pytorch | ||||
|           quiet-checkout: true | ||||
| @ -3640,7 +3610,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.2 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										1
									
								
								.github/workflows/inductor.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -4,6 +4,7 @@ on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
|       - release/* | ||||
|     tags: | ||||
|       - ciflow/inductor/* | ||||
|   workflow_dispatch: | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/lint-bc.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -26,7 +26,7 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Run BC Lint Action | ||||
|         uses: pytorch/test-infra/.github/actions/bc-lint@main | ||||
|         uses: pytorch/test-infra/.github/actions/bc-lint@release/2.2 | ||||
|         with: | ||||
|           repo: ${{ github.event.pull_request.head.repo.full_name }} | ||||
|           base_sha: ${{ github.event.pull_request.base.sha }} | ||||
|  | ||||
							
								
								
									
										17
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -15,7 +15,7 @@ on: | ||||
| # When any other step fails, it's job will be retried once by retryBot. | ||||
| jobs: | ||||
|   lintrunner: | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.2 | ||||
|     with: | ||||
|       timeout: 120 | ||||
|       runner: linux.2xlarge | ||||
| @ -63,7 +63,7 @@ jobs: | ||||
|         exit $RC | ||||
|  | ||||
|   quick-checks: | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.2 | ||||
|     with: | ||||
|       runner: linux.2xlarge | ||||
|       docker-image: pytorch-linux-focal-linter | ||||
| @ -104,7 +104,7 @@ jobs: | ||||
|     if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip-pr-sanity-checks') | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: -1 | ||||
| @ -117,7 +117,7 @@ jobs: | ||||
|           bash .github/scripts/pr-sanity-check.sh | ||||
|  | ||||
|   workflow-checks: | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.2 | ||||
|     with: | ||||
|       runner: linux.2xlarge | ||||
|       docker-image: pytorch-linux-focal-linter | ||||
| @ -129,6 +129,7 @@ jobs: | ||||
|         CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") | ||||
|         conda activate "${CONDA_ENV}" | ||||
|  | ||||
|         export RELEASE_VERSION_TAG=2.2 | ||||
|         # Regenerate workflows | ||||
|         .github/scripts/generate_ci_workflows.py | ||||
|  | ||||
| @ -153,7 +154,7 @@ jobs: | ||||
|         exit $RC | ||||
|  | ||||
|   toc: | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.2 | ||||
|     with: | ||||
|       runner: linux.2xlarge | ||||
|       docker-image: pytorch-linux-focal-linter | ||||
| @ -191,7 +192,7 @@ jobs: | ||||
|   test-tools: | ||||
|     name: Test tools | ||||
|     if: ${{ github.repository == 'pytorch/pytorch' }} | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.2 | ||||
|     with: | ||||
|       runner: linux.2xlarge | ||||
|       docker-image: pytorch-linux-focal-linter | ||||
| @ -212,7 +213,7 @@ jobs: | ||||
|     runs-on: linux.20_04.4x | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: 1 | ||||
| @ -242,7 +243,7 @@ jobs: | ||||
|       # [see note: pytorch repo ref] | ||||
|       # deep clone (fetch-depth 0) required, to allow us to use git log | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: 1 | ||||
|  | ||||
| @ -21,7 +21,7 @@ jobs: | ||||
|     environment: upload-stats | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/periodic.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -12,6 +12,8 @@ on: | ||||
|   push: | ||||
|     tags: | ||||
|       - ciflow/periodic/* | ||||
|     branches: | ||||
|       - release/* | ||||
|   workflow_dispatch: | ||||
|  | ||||
| concurrency: | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/slow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -10,6 +10,8 @@ on: | ||||
|   push: | ||||
|     tags: | ||||
|       - ciflow/slow/* | ||||
|     branches: | ||||
|       - release/* | ||||
|   workflow_dispatch: | ||||
|  | ||||
| concurrency: | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/update_pytorch_labels.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -14,7 +14,7 @@ jobs: | ||||
|     if: ${{ github.repository == 'pytorch/pytorch' }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/upload-alerts.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -44,7 +44,7 @@ jobs: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|           AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||||
|           AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||||
|         uses: pytorch/test-infra/.github/actions/upload-alerts@main | ||||
|         uses: pytorch/test-infra/.github/actions/upload-alerts@release/2.2 | ||||
|         with: | ||||
|           alerts: '${{ steps.alert_creation_step.outputs.script-output }}' | ||||
|           organization: "pytorch" | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/upload-test-stats.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -37,7 +37,7 @@ jobs: | ||||
|         run: echo "${TRIGGERING_WORKFLOW}" | ||||
|  | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|  | ||||
|       - uses: actions/setup-python@v4 | ||||
|         with: | ||||
|  | ||||
| @ -29,7 +29,7 @@ jobs: | ||||
|     name: Upload dynamo performance stats for ${{ github.event.workflow_run.id }}, attempt ${{ github.event.workflow_run.run_attempt }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.2 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: 1 | ||||
|  | ||||
| @ -288,7 +288,7 @@ option(USE_VULKAN_RELAXED_PRECISION "Vulkan - Use relaxed precision math in the | ||||
| option(USE_XNNPACK "Use XNNPACK" ON) | ||||
| option(USE_ZMQ "Use ZMQ" OFF) | ||||
| option(USE_ZSTD "Use ZSTD" OFF) | ||||
| option(TORCH_DISABLE_GPU_ASSERTS "Disable GPU asserts by default" OFF) | ||||
| option(USE_ROCM_KERNEL_ASSERT "Use Kernel Assert for ROCm" OFF) | ||||
| # Ensure that an ITT build is the default for x86 CPUs | ||||
| cmake_dependent_option( | ||||
|   USE_ITT "Use Intel(R) VTune Profiler ITT functionality" ON | ||||
|  | ||||
| @ -63,7 +63,7 @@ RUN --mount=type=cache,target=/opt/ccache \ | ||||
|  | ||||
| FROM conda as conda-installs | ||||
| ARG PYTHON_VERSION=3.8 | ||||
| ARG CUDA_VERSION=11.7 | ||||
| ARG CUDA_VERSION=12.1 | ||||
| ARG CUDA_CHANNEL=nvidia | ||||
| ARG INSTALL_CHANNEL=pytorch-nightly | ||||
| # Automatically set by buildx | ||||
|  | ||||
| @ -149,6 +149,7 @@ FunctionalTensorWrapper::FunctionalTensorWrapper(const Tensor& view_value, const | ||||
|   storage_ = base->storage_; // alias this tensor's storage with the base tensor's | ||||
| } | ||||
|  | ||||
|  | ||||
| functionalization::FunctionalStorageImpl* FunctionalTensorWrapper::functional_storage_impl() const { | ||||
|   return static_cast<functionalization::FunctionalStorageImpl*>(storage_.unsafeGetStorageImpl()); | ||||
| } | ||||
| @ -309,6 +310,14 @@ void FunctionalTensorWrapper::maybe_replace_storage(const Tensor& other) { | ||||
|   has_metadata_mutation_ = true; | ||||
| } | ||||
|  | ||||
| void FunctionalTensorWrapper::_unsafe_reset_storage() { | ||||
|   // Reset the storage with the current value_ tensor as the base | ||||
|   storage_ = c10::Storage(c10::make_intrusive<functionalization::FunctionalStorageImpl>(value_)); | ||||
|   // Reset the generation so that it matches the new storage | ||||
|   generation_ = 0; | ||||
|   // Clear any pre-existing view metas so that base and value_ are semantically the same | ||||
|   view_metas_.clear(); | ||||
| } | ||||
|  | ||||
| void FunctionalTensorWrapper::sync_() { | ||||
|   if (is_up_to_date()) { | ||||
| @ -568,6 +577,11 @@ void commit_update(ITensorListRef functional_tensor) { | ||||
|   } | ||||
| } | ||||
|  | ||||
| void unsafe_reset_storage(const Tensor& functional_tensor) { | ||||
|   TORCH_INTERNAL_ASSERT_DEBUG_ONLY(isFunctionalTensor(functional_tensor)); | ||||
|   unsafeGetFunctionalWrapper(functional_tensor)->_unsafe_reset_storage(); | ||||
| } | ||||
|  | ||||
| void mark_mutation_hidden_from_autograd(const Tensor& functional_tensor) { | ||||
|   TORCH_CHECK(isFunctionalTensor(functional_tensor)); | ||||
|   unsafeGetFunctionalWrapper(functional_tensor)->mark_mutation_hidden_from_autograd(); | ||||
|  | ||||
| @ -165,6 +165,13 @@ struct TORCH_API FunctionalTensorWrapper : public c10::TensorImpl { | ||||
|   // See Note[resize_() in functionalization pass] | ||||
|   void maybe_replace_storage(const Tensor& other); | ||||
|  | ||||
|   // Replaces the storage with a new functional storage, | ||||
|   // and clears the view_metas_ stack. | ||||
|   // WARNING: Calling this function will sever the aliasing relationship between | ||||
|   // the current FunctionalTensorWrapper and any of its outstanding aliases. | ||||
|   // Please only call if you know what you're doing. | ||||
|   void _unsafe_reset_storage(); | ||||
|  | ||||
|   c10::intrusive_ptr<TensorImpl> shallow_copy_and_detach( | ||||
|       const c10::VariableVersion& version_counter, | ||||
|       bool allow_tensor_metadata_change) const override; | ||||
| @ -275,6 +282,8 @@ TORCH_API void replace_( | ||||
| TORCH_API void commit_update(const Tensor& functional_tensor); | ||||
| TORCH_API void commit_update(ITensorListRef functional_tensor); | ||||
|  | ||||
| TORCH_API void unsafe_reset_storage(const Tensor& functional_tensor); | ||||
|  | ||||
| TORCH_API void mark_mutation_hidden_from_autograd( | ||||
|     const Tensor& functional_tensor); | ||||
|  | ||||
|  | ||||
| @ -1375,7 +1375,7 @@ static inline int64_t get_mkldnn_matmul_min_size() { | ||||
| static inline bool apply_mkldnn_matmul_heur(int64_t m, int64_t k, int64_t n) { | ||||
|   const int64_t min_dim = get_mkldnn_matmul_min_dim(); | ||||
|   const int64_t min_size = get_mkldnn_matmul_min_size(); | ||||
|   return m > min_dim && k > min_dim && n > min_dim && m * k * n > min_size; | ||||
|   return at::globalContext().userEnabledMkldnn() && m > min_dim && k > min_dim && n > min_dim && m * k * n > min_size; | ||||
| } | ||||
|  | ||||
|  | ||||
| @ -1500,10 +1500,15 @@ static void addmm_impl_cpu_( | ||||
|   if (transpose_c) { | ||||
|     bool apply_heur = apply_mkldnn_matmul_heur(b.sizes()[0], b.sizes()[1], a.sizes()[1]); | ||||
|     if (apply_heur && transpose_a && !transpose_b && result.scalar_type() == at::ScalarType::Float) { | ||||
|       try { | ||||
|         mkldnn_matmul(b, a, c, beta.to<float>(), alpha.to<float>()); | ||||
|         // We have dispatched to ACL GEMM for single precision float | ||||
|         // so do not need to dispatch to BLAS GEMM below | ||||
|         dispatched = true; | ||||
|       } catch (const std::exception& e) { | ||||
|         TORCH_WARN("mkldnn_matmul failed, switching to BLAS gemm:", e.what()); | ||||
|         at::globalContext().setUserEnabledMkldnn(false); | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| #endif | ||||
| @ -1752,8 +1757,13 @@ static inline void bmm_out_or_baddbmm_(const Tensor& self_or_result_, const Tens | ||||
|  | ||||
|   bool apply_heur = apply_mkldnn_matmul_heur(batch1.sizes()[1], batch1.sizes()[2], batch2.sizes()[2]); | ||||
|   if (apply_heur && use_mkldnn_lower_precision_matmul(batch1, batch2, self_or_result)) { | ||||
|     try { | ||||
|       mkldnn_matmul(batch1, batch2, self_or_result, beta.to<float>(), alpha.to<float>()); | ||||
|       return; | ||||
|     } catch (const std::exception& e) { | ||||
|       TORCH_WARN("mkldnn_matmul failed, switching to baddbmm:", e.what()); | ||||
|       at::globalContext().setUserEnabledMkldnn(false); | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   if (contraction_size * res_rows * res_cols < 400) { | ||||
|  | ||||
| @ -130,7 +130,7 @@ void mul_kernel(TensorIteratorBase& iter) { | ||||
|           using comp_t = c10::complex<float>; | ||||
|           return comp_t{a} * comp_t{b}; | ||||
|         }); | ||||
|   } else if (iter.is_scalar(2) && at::isReducedFloatingType(dtype)) { | ||||
|   } else if (iter.is_scalar(2) && iter.data_ptr(2) != nullptr && at::isReducedFloatingType(dtype)) { | ||||
|     AT_DISPATCH_REDUCED_FLOATING_TYPES(dtype, "mul_cpu_reduced_float", [&]() { | ||||
|       using opmath_t = at::opmath_type<scalar_t>; | ||||
|       opmath_t b = iter.original_scalar_value<opmath_t>(2); | ||||
| @ -162,7 +162,7 @@ void mul_kernel(TensorIteratorBase& iter) { | ||||
|  | ||||
| void div_true_kernel(TensorIteratorBase& iter) { | ||||
|   const auto dtype = iter.common_dtype(); | ||||
|   if (iter.is_scalar(2) && at::isReducedFloatingType(dtype)) { | ||||
|   if (iter.is_scalar(2) && iter.data_ptr(2) != nullptr && at::isReducedFloatingType(dtype)) { | ||||
|     AT_DISPATCH_REDUCED_FLOATING_TYPES(dtype, "div_cpu_reduced_float", [&]() { | ||||
|       using opmath_t = at::opmath_type<scalar_t>; | ||||
|       opmath_t b = iter.original_scalar_value<opmath_t>(2); | ||||
| @ -208,7 +208,7 @@ void div_trunc_kernel(TensorIteratorBase& iter) { | ||||
|         return a / b; | ||||
|       }); | ||||
|     }); | ||||
|   } else if (iter.is_scalar(2) && at::isReducedFloatingType(dtype)) { | ||||
|   } else if (iter.is_scalar(2) && iter.data_ptr(2) != nullptr && at::isReducedFloatingType(dtype)) { | ||||
|     AT_DISPATCH_REDUCED_FLOATING_TYPES( | ||||
|         dtype, "div_trunc_cpu_reduced_float", [&]() { | ||||
|           using opmath_t = at::opmath_type<scalar_t>; | ||||
| @ -283,7 +283,7 @@ void div_floor_kernel(TensorIteratorBase& iter) { | ||||
|     }); | ||||
|   } else { | ||||
|     // See NOTE: [Floor Division in Python] | ||||
|     if (iter.is_scalar(2) && at::isReducedFloatingType(dtype)) { | ||||
|     if (iter.is_scalar(2) && iter.data_ptr(2) != nullptr && at::isReducedFloatingType(dtype)) { | ||||
|       AT_DISPATCH_REDUCED_FLOATING_TYPES( | ||||
|           dtype, "div_floor_cpu_reduced_float", [&]() { | ||||
|             using opmath_t = at::opmath_type<scalar_t>; | ||||
|  | ||||
| @ -16,6 +16,7 @@ | ||||
| #include <ATen/ops/_addmm_activation_native.h> | ||||
| #include <ATen/ops/_efficientzerotensor.h> | ||||
| #include <ATen/ops/_scaled_mm_native.h> | ||||
| #include <ATen/ops/_unsafe_view_native.h> | ||||
| #include <ATen/ops/addmm_native.h> | ||||
| #include <ATen/ops/addmv_native.h> | ||||
| #include <ATen/ops/baddbmm_native.h> | ||||
| @ -369,12 +370,10 @@ Tensor& addmm_out_cuda_impl(Tensor& result, const Tensor& self, const Tensor& ma | ||||
| } | ||||
|  | ||||
| const Tensor& baddbmm_out_cuda_impl(const Tensor& result, const Tensor& self, const Tensor& batch1, const Tensor& batch2, const Scalar& beta, const Scalar& alpha) { | ||||
|   IntArrayRef batch1_sizes = batch1.sizes(); | ||||
|  | ||||
|   // handle pathological cases that blas may not like | ||||
|   if (result.numel() == 0) { | ||||
|     return result; | ||||
|   } else if (batch1_sizes[2] == 0) { | ||||
|   } else if (batch1.size(2) == 0) { | ||||
|     if (beta.to<c10::complex<double>>() == 0.0) { | ||||
|       return result.zero_(); | ||||
|     } else { | ||||
| @ -421,17 +420,30 @@ const Tensor& baddbmm_out_cuda_impl(const Tensor& result, const Tensor& self, co | ||||
|     const scalar_t* batch1_ptr = batch1_->const_data_ptr<scalar_t>(); | ||||
|     const scalar_t* batch2_ptr = batch2_->const_data_ptr<scalar_t>(); | ||||
|     scalar_t* result_ptr = result_->mutable_data_ptr<scalar_t>(); | ||||
|     at::cuda::blas::bgemm<scalar_t>( | ||||
|       transpose_batch1 ? batch1_->is_conj() ? 'c' : 't' : 'n', | ||||
|       transpose_batch2 ? batch2_->is_conj() ? 'c' : 't' : 'n', | ||||
|       m, n, k, | ||||
|       alpha_val, | ||||
|       batch1_ptr, lda, batch1_->strides()[0], | ||||
|       batch2_ptr, ldb, batch2_->strides()[0], | ||||
|       beta_val, | ||||
|       result_ptr, ldc, result_->strides()[0], | ||||
|       num_batches | ||||
|     ); | ||||
|     const auto transa = transpose_batch1 ? batch1_->is_conj() ? 'c' : 't' : 'n'; | ||||
|     const auto transb = transpose_batch2 ? batch2_->is_conj() ? 'c' : 't' : 'n'; | ||||
|     // If batch is 1 call gemm rather than bgemm | ||||
|     if (num_batches == 1) { | ||||
|       at::cuda::blas::gemm<scalar_t>( | ||||
|           transa, transb, | ||||
|           m, n, k, | ||||
|           alpha_val, | ||||
|           batch1_ptr, lda, | ||||
|           batch2_ptr, ldb, | ||||
|           beta_val, | ||||
|           result_ptr, ldc); | ||||
|     } else { | ||||
|       at::cuda::blas::bgemm<scalar_t>( | ||||
|         transa, transb, | ||||
|         m, n, k, | ||||
|         alpha_val, | ||||
|         batch1_ptr, lda, batch1_->strides()[0], | ||||
|         batch2_ptr, ldb, batch2_->strides()[0], | ||||
|         beta_val, | ||||
|         result_ptr, ldc, result_->strides()[0], | ||||
|         num_batches | ||||
|       ); | ||||
|    } | ||||
|   }); | ||||
|   if (!result.is_same(*result_)) { | ||||
|     result.copy_(*result_); | ||||
|  | ||||
| @ -86,6 +86,7 @@ TORCH_IMPL_FUNC(erfinv_out_mps)(const Tensor& self, const Tensor& output_) { | ||||
|  | ||||
|   TORCH_CHECK(self.scalar_type() != ScalarType::Double, "MPS does not support erfinv op with scalar type: Double"); | ||||
|  | ||||
|   Tensor inputTensor = self; | ||||
|   Tensor outputTensor = output_; | ||||
|   bool needs_output_copy = false; | ||||
|   uint32_t length = output_.numel(); | ||||
| @ -94,7 +95,6 @@ TORCH_IMPL_FUNC(erfinv_out_mps)(const Tensor& self, const Tensor& output_) { | ||||
|   } | ||||
|   using namespace mps; | ||||
|   @autoreleasepool { | ||||
|     Tensor inputTensor = self; | ||||
|     id<MTLDevice> device = MPSDevice::getInstance()->device(); | ||||
|     id<MTLComputePipelineState> cplState = | ||||
|         getCPLState(device, getMetalType(outputTensor), getMetalType(self), "erfinv_mps_kernel"); | ||||
| @ -111,11 +111,11 @@ TORCH_IMPL_FUNC(erfinv_out_mps)(const Tensor& self, const Tensor& output_) { | ||||
|       id<MTLBuffer> outBuf = getMTLBufferStorage(outputTensor); | ||||
|       id<MTLBuffer> inputBuf = getMTLBufferStorage(inputTensor); | ||||
|  | ||||
|       getMPSProfiler().beginProfileKernel(cplState, "erf_inv", {self}); | ||||
|       getMPSProfiler().beginProfileKernel(cplState, "erf_inv", {inputTensor}); | ||||
|  | ||||
|       [computeEncoder setComputePipelineState:cplState]; | ||||
|       [computeEncoder setBuffer:outBuf offset:0 atIndex:0]; | ||||
|       [computeEncoder setBuffer:inputBuf offset:0 atIndex:1]; | ||||
|       [computeEncoder setBuffer:outBuf offset:outputTensor.storage_offset() * outputTensor.element_size() atIndex:0]; | ||||
|       [computeEncoder setBuffer:inputBuf offset:inputTensor.storage_offset() * inputTensor.element_size() atIndex:1]; | ||||
|  | ||||
|       MTLSize gridSize = MTLSizeMake(length, 1, 1); | ||||
|       uint32_t maxThreadsPerGroup = [cplState maxTotalThreadsPerThreadgroup]; | ||||
|  | ||||
| @ -303,6 +303,7 @@ struct AttentionKernel { | ||||
|           return false; | ||||
|         } | ||||
|         q_strideM = q_strideH; | ||||
|         bias_strideM = bias_strideH; | ||||
|         num_queries = num_heads; | ||||
|         num_heads = 1; // unused but here for intent | ||||
|         // remove causal since n_query = 1 | ||||
|  | ||||
| @ -320,9 +320,9 @@ TORCH_API bool can_use_mem_efficient_attention(sdp_params const& params, bool de | ||||
|   return false; | ||||
| #endif | ||||
|   // Constraints specific to mem efficient attention | ||||
|   constexpr auto default_mem_efficient_dtypes = | ||||
|   constexpr auto greater_than_or_equal_sm80_mem_efficient_dtypes = | ||||
|       array_of<at::ScalarType>(at::kHalf, at::kFloat, at::kBFloat16); | ||||
|   constexpr auto sm50_mem_efficient_dtypes = | ||||
|   constexpr auto less_than_sm80_mem_efficient_dtypes = | ||||
|       array_of<at::ScalarType>(at::kHalf, at::kFloat); | ||||
|  | ||||
|   //  Define gate functions that determine if a mem efficient kernel can be ran | ||||
| @ -361,10 +361,10 @@ TORCH_API bool can_use_mem_efficient_attention(sdp_params const& params, bool de | ||||
|   } | ||||
|  | ||||
|   auto dprop = at::cuda::getCurrentDeviceProperties(); | ||||
|   if (dprop->major == 5) { | ||||
|     return check_tensor_dtype(params, sm50_mem_efficient_dtypes, debug); | ||||
|   if (dprop->major >= 8) { | ||||
|     return check_tensor_dtype(params, greater_than_or_equal_sm80_mem_efficient_dtypes, debug); | ||||
|   } | ||||
|   return check_tensor_dtype(params, default_mem_efficient_dtypes, debug); | ||||
|   return check_tensor_dtype(params, less_than_sm80_mem_efficient_dtypes, debug); | ||||
| } | ||||
|  | ||||
| SDPBackend select_sdp_backend(sdp_params const& kernel_params) { | ||||
|  | ||||
| @ -24,7 +24,7 @@ def define_targets(rules): | ||||
|             "CAFFE2_USE_CUDNN", | ||||
|             "USE_MKLDNN", | ||||
|             "CAFFE2_USE_ITT", | ||||
|             "TORCH_DISABLE_GPU_ASSERTS", | ||||
|             "USE_ROCM_KERNEL_ASSERT", | ||||
|             "EIGEN_MPL2_ONLY", | ||||
|         ], | ||||
|     ) | ||||
|  | ||||
| @ -18,6 +18,7 @@ set(C10_USE_GLOG ${USE_GLOG}) # used in cmake_macros.h.in | ||||
| set(C10_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS}) # used in cmake_macros.h.in | ||||
| set(C10_USE_NUMA ${USE_NUMA}) | ||||
| set(C10_USE_MSVC_STATIC_RUNTIME ${CAFFE2_USE_MSVC_STATIC_RUNTIME}) | ||||
| set(C10_USE_ROCM_KERNEL_ASSERT ${USE_ROCM_KERNEL_ASSERT}) | ||||
| configure_file( | ||||
|     ${CMAKE_CURRENT_LIST_DIR}/macros/cmake_macros.h.in | ||||
|     ${CMAKE_BINARY_DIR}/c10/macros/cmake_macros.h) | ||||
|  | ||||
| @ -14,4 +14,8 @@ constexpr size_t gAlignment = 16; | ||||
| constexpr size_t gAlignment = 64; | ||||
| #endif | ||||
|  | ||||
| constexpr size_t gPagesize = 4096; | ||||
| // since the default thp pagesize is 2MB, enable thp only | ||||
| // for buffers of size 2MB or larger to avoid memory bloating | ||||
| constexpr size_t gAlloc_threshold_thp = 2 * 1024 * 1024; | ||||
| } // namespace c10 | ||||
|  | ||||
| @ -10,6 +10,11 @@ | ||||
| #include <mimalloc.h> | ||||
| #endif | ||||
|  | ||||
| #ifdef __linux__ | ||||
| #include <sys/mman.h> | ||||
| #include <unistd.h> | ||||
| #endif | ||||
|  | ||||
| // TODO: rename flags to C10 | ||||
| C10_DEFINE_bool( | ||||
|     caffe2_cpu_allocator_do_zero_fill, | ||||
| @ -45,6 +50,35 @@ void memset_junk(void* data, size_t num) { | ||||
|   } | ||||
| } | ||||
|  | ||||
| #if defined(__linux__) && !defined(__ANDROID__) | ||||
| static inline bool is_thp_alloc_enabled() { | ||||
|   static bool value = [&] { | ||||
|     const char* ptr = std::getenv("THP_MEM_ALLOC_ENABLE"); | ||||
|     return ptr != nullptr ? std::atoi(ptr) : 0; | ||||
|   }(); | ||||
|   return value; | ||||
| } | ||||
|  | ||||
| inline size_t c10_compute_alignment(size_t nbytes) { | ||||
|   static const auto pagesize = sysconf(_SC_PAGESIZE); | ||||
|   // for kernels that don't provide page size, default it to 4K | ||||
|   const size_t thp_alignment = (pagesize < 0 ? gPagesize : pagesize); | ||||
|   return (is_thp_alloc_enabled() ? thp_alignment : gAlignment); | ||||
| } | ||||
|  | ||||
| inline bool is_thp_alloc(size_t nbytes) { | ||||
|   // enable thp (transparent huge pages) for larger buffers | ||||
|   return (is_thp_alloc_enabled() && (nbytes >= gAlloc_threshold_thp)); | ||||
| } | ||||
| #elif !defined(__ANDROID__) && !defined(_MSC_VER) | ||||
| constexpr size_t c10_compute_alignment(C10_UNUSED size_t nbytes) { | ||||
|   return gAlignment; | ||||
| } | ||||
|  | ||||
| constexpr bool is_thp_alloc(C10_UNUSED size_t nbytes) { | ||||
|   return false; | ||||
| } | ||||
| #endif | ||||
| } // namespace | ||||
|  | ||||
| void* alloc_cpu(size_t nbytes) { | ||||
| @ -79,7 +113,7 @@ void* alloc_cpu(size_t nbytes) { | ||||
|       nbytes, | ||||
|       " bytes."); | ||||
| #else | ||||
|   int err = posix_memalign(&data, gAlignment, nbytes); | ||||
|   int err = posix_memalign(&data, c10_compute_alignment(nbytes), nbytes); | ||||
|   CAFFE_ENFORCE( | ||||
|       err == 0, | ||||
|       "DefaultCPUAllocator: can't allocate memory: you tried to allocate ", | ||||
| @ -89,6 +123,16 @@ void* alloc_cpu(size_t nbytes) { | ||||
|       " (", | ||||
|       strerror(err), | ||||
|       ")"); | ||||
|   if (is_thp_alloc(nbytes)) { | ||||
| #ifdef __linux__ | ||||
|     // MADV_HUGEPAGE advise is available only for linux. | ||||
|     // general posix compliant systems can check POSIX_MADV_SEQUENTIAL advise. | ||||
|     int ret = madvise(data, nbytes, MADV_HUGEPAGE); | ||||
|     if (ret != 0) { | ||||
|       TORCH_WARN_ONCE("thp madvise for HUGEPAGE failed with ", strerror(errno)); | ||||
|     } | ||||
| #endif | ||||
|   } | ||||
| #endif | ||||
|  | ||||
|   // move data to a thread's NUMA node | ||||
|  | ||||
| @ -374,9 +374,7 @@ extern SYCL_EXTERNAL void __assert_fail( | ||||
|     unsigned int line, | ||||
|     const char* func); | ||||
| #else // __SYCL_DEVICE_ONLY__ | ||||
| #if (                                                                       \ | ||||
|     defined(__CUDA_ARCH__) && !(defined(__clang__) && defined(__CUDA__)) && \ | ||||
|     !defined(TORCH_DISABLE_GPU_ASSERTS)) | ||||
| #if (defined(__CUDA_ARCH__) && !(defined(__clang__) && defined(__CUDA__))) | ||||
| // CUDA supports __assert_fail function which are common for both device | ||||
| // and host side code. | ||||
| __host__ __device__ | ||||
| @ -393,18 +391,14 @@ __host__ __device__ | ||||
|         unsigned int line, | ||||
|         const char* function) noexcept __attribute__((__noreturn__)); | ||||
|  | ||||
| #if (defined(__HIP_ARCH__) || defined(__HIP__)) && \ | ||||
|     !defined(TORCH_DISABLE_GPU_ASSERTS) | ||||
| // ROCm supports __assert_fail only as a device side function. | ||||
| __device__ __attribute__((noinline)) __attribute__((weak)) void __assert_fail( | ||||
|     const char* assertion, | ||||
|     const char* file, | ||||
|     unsigned int line, | ||||
|     const char* function); | ||||
| #endif // defined(__HIP_ARCH__) || defined(__HIP__) | ||||
| #endif // __SYCL_DEVICE_ONLY__ | ||||
| } | ||||
| #endif // NDEBUG | ||||
| // ROCm disable kernel assert by default | ||||
| #if !defined(C10_USE_ROCM_KERNEL_ASSERT) and defined(USE_ROCM) | ||||
| #define CUDA_KERNEL_ASSERT(cond) | ||||
| #define SYCL_KERNEL_ASSERT(cond) | ||||
| #else | ||||
| #define CUDA_KERNEL_ASSERT(cond)                                         \ | ||||
|   if (C10_UNLIKELY(!(cond))) {                                           \ | ||||
|     __assert_fail(                                                       \ | ||||
| @ -415,6 +409,7 @@ __device__ __attribute__((noinline)) __attribute__((weak)) void __assert_fail( | ||||
|     __assert_fail(                                                       \ | ||||
|         #cond, __FILE__, static_cast<unsigned int>(__LINE__), __func__); \ | ||||
|   } | ||||
| #endif //  C10_USE_ROCM_KERNEL_ASSERT and USE_ROCM | ||||
| #endif // __APPLE__ | ||||
|  | ||||
| #ifdef __APPLE__ | ||||
|  | ||||
| @ -9,5 +9,6 @@ | ||||
| #cmakedefine C10_USE_GFLAGS | ||||
| #cmakedefine C10_USE_NUMA | ||||
| #cmakedefine C10_USE_MSVC_STATIC_RUNTIME | ||||
| #cmakedefine C10_USE_ROCM_KERNEL_ASSERT | ||||
|  | ||||
| #endif // C10_MACROS_CMAKE_MACROS_H_ | ||||
|  | ||||
| @ -104,6 +104,7 @@ def define_ovrsource_targets(): | ||||
|         ("#cmakedefine C10_BUILD_SHARED_LIBS", ""), | ||||
|         ("#cmakedefine C10_USE_NUMA", ""), | ||||
|         ("#cmakedefine C10_USE_MSVC_STATIC_RUNTIME", ""), | ||||
|         ("#cmakedefine C10_USE_ROCM_KERNEL_ASSERT", ""), | ||||
|     ] | ||||
|  | ||||
|     mobile_c10_cmake_defines = [ | ||||
|  | ||||
| @ -26,13 +26,13 @@ | ||||
| #cmakedefine CAFFE2_USE_NVTX | ||||
| #cmakedefine CAFFE2_USE_ITT | ||||
| #cmakedefine CAFFE2_USE_TRT | ||||
| #cmakedefine TORCH_DISABLE_GPU_ASSERTS | ||||
|  | ||||
| #ifndef EIGEN_MPL2_ONLY | ||||
| #cmakedefine EIGEN_MPL2_ONLY | ||||
| #endif | ||||
|  | ||||
| // Useful build settings that are recorded in the compiled binary | ||||
| // torch.__build__.show() | ||||
| #define CAFFE2_BUILD_STRINGS { \ | ||||
|   {"TORCH_VERSION", "${TORCH_VERSION}"}, \ | ||||
|   {"CXX_COMPILER", "${CMAKE_CXX_COMPILER}"}, \ | ||||
| @ -68,5 +68,5 @@ | ||||
|   {"USE_NVTX", "${CAFFE2_USE_NVTX}"}, \ | ||||
|   {"USE_ITT", "${CAFFE2_USE_ITT}"}, \ | ||||
|   {"USE_TRT", "${CAFFE2_USE_TRT}"}, \ | ||||
|   {"TORCH_DISABLE_GPU_ASSERTS", "${TORCH_DISABLE_GPU_ASSERTS}"}, \ | ||||
|   {"USE_ROCM_KERNEL_ASSERT", "${USE_ROCM_KERNEL_ASSERT}"}, \ | ||||
| } | ||||
|  | ||||
| @ -1192,16 +1192,6 @@ if(ANDROID) | ||||
|   list(APPEND Caffe2_DEPENDENCY_LIBS log) | ||||
| endif() | ||||
|  | ||||
| # ---[ Kernel asserts | ||||
| # Kernel asserts are enabled by default for CUDA and disabled for ROCm. | ||||
| # For ROCm, it can be enabled by setting ROCM_FORCE_ENABLE_GPU_ASSERTS | ||||
| if(USE_ROCM AND ROCM_FORCE_ENABLE_GPU_ASSERTS) | ||||
|   message(STATUS "Forcefully enabling kernel asserts on ROCM") | ||||
| elseif(USE_ROCM AND NOT ROCM_FORCE_ENABLE_GPU_ASSERTS) | ||||
|   message(STATUS "Disabling kernel asserts for ROCm") | ||||
|   caffe2_update_option(TORCH_DISABLE_GPU_ASSERTS ON) | ||||
| endif() | ||||
|  | ||||
| # ---[ LLVM | ||||
| if(USE_LLVM) | ||||
|   message(STATUS "Looking for LLVM in ${USE_LLVM}") | ||||
| @ -1249,6 +1239,7 @@ if(USE_ROCM) | ||||
|       caffe2_update_option(USE_SYSTEM_NCCL ON) | ||||
|     endif() | ||||
|  | ||||
|  | ||||
|     list(APPEND HIP_CXX_FLAGS -fPIC) | ||||
|     list(APPEND HIP_CXX_FLAGS -D__HIP_PLATFORM_AMD__=1) | ||||
|     list(APPEND HIP_CXX_FLAGS -DCUDA_HAS_FP16=1) | ||||
| @ -1291,6 +1282,15 @@ if(USE_ROCM) | ||||
|     list(APPEND Caffe2_PUBLIC_HIP_DEPENDENCY_LIBS | ||||
|       roc::hipblas hip::hipfft hip::hiprand roc::hipsparse roc::hipsolver) | ||||
|  | ||||
|     # ---[ Kernel asserts | ||||
|     # Kernel asserts is disabled for ROCm by default. | ||||
|     # It can be turned on by turning on the env USE_ROCM_KERNEL_ASSERT to the build system. | ||||
|     if(USE_ROCM_KERNEL_ASSERT) | ||||
|       message(STATUS "Enabling Kernel Assert for ROCm") | ||||
|     else() | ||||
|       message(STATUS "Disabling Kernel Assert for ROCm") | ||||
|     endif() | ||||
|  | ||||
|   else() | ||||
|     caffe2_update_option(USE_ROCM OFF) | ||||
|   endif() | ||||
|  | ||||
| @ -198,5 +198,5 @@ function(caffe2_print_configuration_summary) | ||||
|   # coreml | ||||
|   message(STATUS "  USE_COREML_DELEGATE     : ${USE_COREML_DELEGATE}") | ||||
|   message(STATUS "  BUILD_LAZY_TS_BACKEND   : ${BUILD_LAZY_TS_BACKEND}") | ||||
|   message(STATUS "  TORCH_DISABLE_GPU_ASSERTS : ${TORCH_DISABLE_GPU_ASSERTS}") | ||||
|   message(STATUS "  USE_ROCM_KERNEL_ASSERT : ${USE_ROCM_KERNEL_ASSERT}") | ||||
| endfunction() | ||||
|  | ||||
| @ -8,8 +8,9 @@ $(warning WARNING: No docker user found using results from whoami) | ||||
| DOCKER_ORG                = $(shell whoami) | ||||
| endif | ||||
|  | ||||
| CUDA_VERSION              = 12.1.1 | ||||
| CUDNN_VERSION             = 8 | ||||
| CUDA_VERSION_SHORT       ?= 12.1 | ||||
| CUDA_VERSION             ?= 12.1.1 | ||||
| CUDNN_VERSION            ?= 8 | ||||
| BASE_RUNTIME              = ubuntu:22.04 | ||||
| BASE_DEVEL                = nvidia/cuda:$(CUDA_VERSION)-cudnn$(CUDNN_VERSION)-devel-ubuntu22.04 | ||||
| CMAKE_VARS               ?= | ||||
| @ -71,25 +72,25 @@ all: devel-image | ||||
|  | ||||
| .PHONY: devel-image | ||||
| devel-image: BASE_IMAGE := $(BASE_DEVEL) | ||||
| devel-image: DOCKER_TAG := $(PYTORCH_VERSION)-devel | ||||
| devel-image: DOCKER_TAG := $(PYTORCH_VERSION)-cuda$(CUDA_VERSION_SHORT)-cudnn$(CUDNN_VERSION)-devel | ||||
| devel-image: | ||||
| 	$(DOCKER_BUILD) | ||||
|  | ||||
| .PHONY: devel-push | ||||
| devel-push: BASE_IMAGE := $(BASE_DEVEL) | ||||
| devel-push: DOCKER_TAG := $(PYTORCH_VERSION)-devel | ||||
| devel-push: DOCKER_TAG := $(PYTORCH_VERSION)-cuda$(CUDA_VERSION_SHORT)-cudnn$(CUDNN_VERSION)-devel | ||||
| devel-push: | ||||
| 	$(DOCKER_PUSH) | ||||
|  | ||||
| .PHONY: runtime-image | ||||
| runtime-image: BASE_IMAGE := $(BASE_RUNTIME) | ||||
| runtime-image: DOCKER_TAG := $(PYTORCH_VERSION)-runtime | ||||
| runtime-image: DOCKER_TAG := $(PYTORCH_VERSION)-cuda$(CUDA_VERSION_SHORT)-cudnn$(CUDNN_VERSION)-runtime | ||||
| runtime-image: | ||||
| 	$(DOCKER_BUILD) | ||||
|  | ||||
| .PHONY: runtime-push | ||||
| runtime-push: BASE_IMAGE := $(BASE_RUNTIME) | ||||
| runtime-push: DOCKER_TAG := $(PYTORCH_VERSION)-runtime | ||||
| runtime-push: DOCKER_TAG := $(PYTORCH_VERSION)-cuda$(CUDA_VERSION_SHORT)-cudnn$(CUDNN_VERSION)-runtime | ||||
| runtime-push: | ||||
| 	$(DOCKER_PUSH) | ||||
|  | ||||
|  | ||||
| Before Width: | Height: | Size: 7.0 KiB | 
| Before Width: | Height: | Size: 20 KiB | 
| Before Width: | Height: | Size: 30 KiB | 
| Before Width: | Height: | Size: 37 KiB | 
| Before Width: | Height: | Size: 44 KiB | 
| Before Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 110 KiB | 
| Before Width: | Height: | Size: 31 KiB | 
| Before Width: | Height: | Size: 46 KiB | 
| Before Width: | Height: | Size: 32 KiB | 
| Before Width: | Height: | Size: 26 KiB | 
