mirror of
				https://github.com/pytorch/pytorch.git
				synced 2025-10-31 04:04:57 +08:00 
			
		
		
		
	Compare commits
	
		
			257 Commits
		
	
	
		
			dev/joona/
			...
			v2.5.0-rc9
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 417a0763a7 | |||
| 119e7344d9 | |||
| 783a6a424c | |||
| 5375201dff | |||
| 1de132ec9e | |||
| 0b1b609ed7 | |||
| 0b45af9c10 | |||
| 1a0b166ba2 | |||
| 3a541ef8c2 | |||
| f8c4c252ca | |||
| 8af31b2e49 | |||
| 8a71edcca5 | |||
| 058d3de7b9 | |||
| 17d25897b2 | |||
| 70298e91f9 | |||
| 69ed7c7093 | |||
| d80f521ee2 | |||
| 57717c8768 | |||
| 550ed97a89 | |||
| 051df20ac2 | |||
| bc421d456e | |||
| aa574ab7e3 | |||
| 24bd87d5dd | |||
| 6101aafa34 | |||
| 396413f05c | |||
| c25781c5d2 | |||
| ecd330669e | |||
| 1715708183 | |||
| 2e2c00f74c | |||
| cbe476a5a7 | |||
| 4b030d47b1 | |||
| 9b80ddecd6 | |||
| 6e86793f75 | |||
| 7c550fea95 | |||
| 7a00785c23 | |||
| 4e6a99e5f3 | |||
| dd73223b90 | |||
| c5e5254a79 | |||
| ffed7b71e8 | |||
| becdf8ae4f | |||
| fb276d2652 | |||
| b7de7932fd | |||
| 1954439802 | |||
| 3920988456 | |||
| 1db2a6562c | |||
| 4b5bf41476 | |||
| a889c85498 | |||
| 813e06461c | |||
| 9887030485 | |||
| 9e315fef22 | |||
| 6b14e6cfdd | |||
| 828d686e1c | |||
| 612fc7c447 | |||
| cea562006e | |||
| ba27502501 | |||
| 4a3dabd67f | |||
| e130696270 | |||
| b7eb7256fb | |||
| c1ae78be92 | |||
| defb515306 | |||
| 31c4e0d37d | |||
| 53290ca00b | |||
| 16f5155992 | |||
| 37144be03d | |||
| 3bdc54ed18 | |||
| 2196f32475 | |||
| cfc227ad43 | |||
| 20cab91a12 | |||
| a6fae2e811 | |||
| 042f2f7746 | |||
| fd494dd426 | |||
| 8334cb2fb9 | |||
| e72ed4717e | |||
| 3bebc09be9 | |||
| a2db22e6bb | |||
| eac5e12548 | |||
| 18479c5f70 | |||
| f7c0c06692 | |||
| b53d97c7be | |||
| 6c1da66407 | |||
| d7c97e7245 | |||
| be9f4ffe88 | |||
| 692faa9bc6 | |||
| 32f3af72b7 | |||
| ebab5c85c4 | |||
| 3d734d837b | |||
| c92227c41a | |||
| e6a0221fc6 | |||
| a6b9d444fb | |||
| d42b0c8f22 | |||
| 941d094dd1 | |||
| b1a934741e | |||
| 0c661f3e1a | |||
| 2c7e314803 | |||
| ead4407f57 | |||
| 2f5b40c099 | |||
| 993b5647ab | |||
| 2ab26806f1 | |||
| b1612569f6 | |||
| dc0e818738 | |||
| 06e414d7fe | |||
| a681260caf | |||
| 95e976a63f | |||
| 306ac44eaa | |||
| a7643baceb | |||
| a4030e37be | |||
| 22e1fb6faa | |||
| 2a4890e315 | |||
| 3ce433aef2 | |||
| 7f2d20e687 | |||
| 32fd29c1ea | |||
| 5eebd9315a | |||
| a15aabc975 | |||
| b143426db3 | |||
| 13ba0a2e5c | |||
| 8520ce5f78 | |||
| 196748d491 | |||
| 177e4f4218 | |||
| 3988b3468b | |||
| 04118d8617 | |||
| 24482e5c68 | |||
| c0ec599f27 | |||
| 7074de43c0 | |||
| 771dcce11d | |||
| de74aafff4 | |||
| ad29a2c0dc | |||
| 3a9e33dca8 | |||
| a086882d72 | |||
| 84ae6b7d6b | |||
| 60a097a071 | |||
| 13bae39e22 | |||
| 4ef6c05f65 | |||
| d6b9bd3e60 | |||
| d0591f4658 | |||
| b5dea061c8 | |||
| 041960a1ce | |||
| 67c7924ea1 | |||
| 217ba7b2ab | |||
| 758d515d98 | |||
| 60d98b4cfb | |||
| 590a3e9f8a | |||
| 764ee6e3f9 | |||
| 67f98a99a4 | |||
| e020a8755a | |||
| 7ffb3b201c | |||
| f946bf88c4 | |||
| 66da3b3b2a | |||
| 41e653456e | |||
| e40a0a9359 | |||
| c05a7adb36 | |||
| 5f57be7571 | |||
| 29d72c1100 | |||
| 3b1a334c0f | |||
| 07689a38bf | |||
| 06a7dc21c1 | |||
| d9a18173fa | |||
| d8543e3162 | |||
| ad01fc194d | |||
| e162414963 | |||
| 9e5a797771 | |||
| b46a1b9e2d | |||
| 9688014820 | |||
| 8f6e73f068 | |||
| 1e57ef08fa | |||
| 614b86d602 | |||
| 0b96dfb736 | |||
| 62b221d5cc | |||
| 66dd4577b1 | |||
| cc28634172 | |||
| c83cdf068b | |||
| 28ccfba248 | |||
| b2386bdca1 | |||
| bdfc8d9f96 | |||
| 70779dded8 | |||
| ea231300d1 | |||
| 8f66995459 | |||
| 144fde4fd2 | |||
| 43f4947d44 | |||
| 65e1c34061 | |||
| 830247c355 | |||
| 4262755b5a | |||
| 3825607144 | |||
| 3c8f71ff93 | |||
| fc890b55b5 | |||
| 058a69d91a | |||
| 6c5920d515 | |||
| 116fd474da | |||
| a5d70cf545 | |||
| 7fe819d917 | |||
| f63571060c | |||
| 38fead8f7c | |||
| 24a223c49d | |||
| e4920a1364 | |||
| bc5ecf83d7 | |||
| e55c0f59e5 | |||
| a4cf9653ee | |||
| 9c0b03020b | |||
| 034717a029 | |||
| 9c38b00999 | |||
| 8efe547046 | |||
| 82d00acfee | |||
| 098431a29d | |||
| be660ea2d3 | |||
| 52c7c89ea4 | |||
| 1efd341d15 | |||
| a096f2899d | |||
| dbeb8a1691 | |||
| b1f72e2984 | |||
| bb3c2408f4 | |||
| 2c99f17a32 | |||
| 0043dcd79e | |||
| 2e2fb668fa | |||
| 9d24f945ba | |||
| ecbd715363 | |||
| 58f2477a26 | |||
| 43dcb4bb61 | |||
| 50d1e37079 | |||
| b99ef1a02e | |||
| 8a5c8e5db9 | |||
| c7328dff7f | |||
| 749dc6ceda | |||
| eaeae0ac95 | |||
| 5a0e7a408f | |||
| 81a8624296 | |||
| 731fd3172a | |||
| 9d705605dd | |||
| 05feb6e4ed | |||
| 7b280c31ba | |||
| f2a7228aed | |||
| 8fb1281db9 | |||
| a7a53b796b | |||
| 30b98940b8 | |||
| 724faac260 | |||
| 04e11c7eed | |||
| a3e0d4bf07 | |||
| 27d86f93fe | |||
| 32f45f01a9 | |||
| 4a661e089a | |||
| 105ac2418c | |||
| 560f449d8f | |||
| 956da79bda | |||
| 977a909250 | |||
| b3ef0c99f5 | |||
| 43c9b4e0e6 | |||
| 00a8666708 | |||
| 4f70b3cfae | |||
| 359077fa43 | |||
| 9810ce9ca7 | |||
| 804852c1f9 | |||
| 13a4a0c60d | |||
| 87842cc658 | |||
| d9ae92cd6e | |||
| ed06772e35 | |||
| fb1c580892 | |||
| 2276940f8c | |||
| 4e6df83d19 | |||
| a8611da86f | 
| @ -1,5 +1,5 @@ | ||||
| 0.6b | ||||
| 0.7b | ||||
| manylinux_2_17 | ||||
| rocm6.2 | ||||
| 7f07e8a1cb1f99627eb6d77f5c0e9295c775f3c7 | ||||
| e4ab195d2bd19e939c675a13280c29714c6ef9f2cf420690da150fa0cac043b1 | ||||
| 9be04068c3c0857a4cfd17d7e39e71d0423ebac2 | ||||
| 3e9e1959d23b93d78a08fcc5f868125dc3854dece32fd9458be9ef4467982291 | ||||
|  | ||||
| @ -286,18 +286,7 @@ case "$image" in | ||||
|     TRITON=yes | ||||
|     ;; | ||||
|   pytorch-linux-focal-rocm-n-1-py3) | ||||
|     ANACONDA_PYTHON_VERSION=3.8 | ||||
|     GCC_VERSION=9 | ||||
|     PROTOBUF=yes | ||||
|     DB=yes | ||||
|     VISION=yes | ||||
|     ROCM_VERSION=6.0 | ||||
|     NINJA_VERSION=1.9.0 | ||||
|     CONDA_CMAKE=yes | ||||
|     TRITON=yes | ||||
|     ;; | ||||
|   pytorch-linux-focal-rocm-n-py3) | ||||
|     ANACONDA_PYTHON_VERSION=3.8 | ||||
|     ANACONDA_PYTHON_VERSION=3.10 | ||||
|     GCC_VERSION=9 | ||||
|     PROTOBUF=yes | ||||
|     DB=yes | ||||
| @ -307,6 +296,17 @@ case "$image" in | ||||
|     CONDA_CMAKE=yes | ||||
|     TRITON=yes | ||||
|     ;; | ||||
|   pytorch-linux-focal-rocm-n-py3) | ||||
|     ANACONDA_PYTHON_VERSION=3.10 | ||||
|     GCC_VERSION=9 | ||||
|     PROTOBUF=yes | ||||
|     DB=yes | ||||
|     VISION=yes | ||||
|     ROCM_VERSION=6.2 | ||||
|     NINJA_VERSION=1.9.0 | ||||
|     CONDA_CMAKE=yes | ||||
|     TRITON=yes | ||||
|     ;; | ||||
|   pytorch-linux-jammy-xpu-2024.0-py3) | ||||
|     ANACONDA_PYTHON_VERSION=3.9 | ||||
|     GCC_VERSION=11 | ||||
|  | ||||
| @ -108,10 +108,10 @@ ENV CMAKE_C_COMPILER cc | ||||
| ENV CMAKE_CXX_COMPILER c++ | ||||
| COPY ./common/install_triton.sh install_triton.sh | ||||
| COPY ./common/common_utils.sh common_utils.sh | ||||
| COPY ci_commit_pins/triton-rocm.txt triton-rocm.txt | ||||
| COPY ci_commit_pins/triton.txt triton.txt | ||||
| COPY triton_version.txt triton_version.txt | ||||
| RUN if [ -n "${TRITON}" ]; then bash ./install_triton.sh; fi | ||||
| RUN rm install_triton.sh common_utils.sh triton-rocm.txt triton_version.txt | ||||
| RUN rm install_triton.sh common_utils.sh triton.txt triton_version.txt | ||||
|  | ||||
| # Install AOTriton (Early fail) | ||||
| COPY ./aotriton_version.txt aotriton_version.txt | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| d519b4d3a1ffdc81b45e2b1d4733423ce0577813 | ||||
| cd1c833b079adb324871dcbbe75b43d42ffc0ade | ||||
|  | ||||
| @ -1 +0,0 @@ | ||||
| 21eae954efa5bf584da70324b640288c3ee7aede | ||||
| @ -1 +1 @@ | ||||
| 1b2f15840e0d70eec50d84c7a0575cb835524def | ||||
| 91b14bf5593cf58a8541f3e6b9125600a867d4ef | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| dedb7bdf339a3546896d4820366ca562c586bfa0 | ||||
| 5fe38ffd73c2ac6ed6323b554205186696631c6f | ||||
|  | ||||
| @ -4,12 +4,12 @@ set -ex | ||||
|  | ||||
| source "$(dirname "${BASH_SOURCE[0]}")/common_utils.sh" | ||||
|  | ||||
| TARBALL='aotriton.tar.bz2' | ||||
| TARBALL='aotriton.tar.gz' | ||||
| # This read command alwasy returns with exit code 1 | ||||
| read -d "\n" VER MANYLINUX ROCMBASE PINNED_COMMIT SHA256 < aotriton_version.txt || true | ||||
| ARCH=$(uname -m) | ||||
| AOTRITON_INSTALL_PREFIX="$1" | ||||
| AOTRITON_URL="https://github.com/ROCm/aotriton/releases/download/${VER}/aotriton-${VER}-${MANYLINUX}_${ARCH}-${ROCMBASE}-shared.tar.bz2" | ||||
| AOTRITON_URL="https://github.com/ROCm/aotriton/releases/download/${VER}/aotriton-${VER}-${MANYLINUX}_${ARCH}-${ROCMBASE}-shared.tar.gz" | ||||
|  | ||||
| cd "${AOTRITON_INSTALL_PREFIX}" | ||||
| # Must use -L to follow redirects | ||||
|  | ||||
| @ -10,6 +10,21 @@ if [[ -z $ROCM_VERSION ]]; then | ||||
|     exit 1; | ||||
| fi | ||||
|  | ||||
| IS_UBUNTU=0 | ||||
| ID=$(grep -oP '(?<=^ID=).+' /etc/os-release | tr -d '"') | ||||
| case "$ID" in | ||||
|   ubuntu) | ||||
|     IS_UBUNTU=1 | ||||
|     ;; | ||||
|   centos) | ||||
|     IS_UBUNTU=0 | ||||
|     ;; | ||||
|   *) | ||||
|     echo "Unable to determine OS..." | ||||
|     exit 1 | ||||
|     ;; | ||||
| esac | ||||
|  | ||||
| # To make version comparison easier, create an integer representation. | ||||
| save_IFS="$IFS" | ||||
| IFS=. ROCM_VERSION_ARRAY=(${ROCM_VERSION}) | ||||
| @ -58,8 +73,7 @@ MIOPEN_CMAKE_COMMON_FLAGS=" | ||||
| " | ||||
| # Pull MIOpen repo and set DMIOPEN_EMBED_DB based on ROCm version | ||||
| if [[ $ROCM_INT -ge 60200 ]] && [[ $ROCM_INT -lt 60300 ]]; then | ||||
|     echo "ROCm 6.2 MIOpen does not need any patches, do not build from source" | ||||
|     exit 0 | ||||
|     MIOPEN_BRANCH="release/rocm-rel-6.2-staging" | ||||
| elif [[ $ROCM_INT -ge 60100 ]] && [[ $ROCM_INT -lt 60200 ]]; then | ||||
|     echo "ROCm 6.1 MIOpen does not need any patches, do not build from source" | ||||
|     exit 0 | ||||
| @ -93,12 +107,21 @@ else | ||||
|     exit 1 | ||||
| fi | ||||
|  | ||||
| yum remove -y miopen-hip | ||||
|  | ||||
| if [[ ${IS_UBUNTU} == 1 ]]; then | ||||
|   apt-get remove -y miopen-hip | ||||
| else | ||||
|   yum remove -y miopen-hip | ||||
| fi | ||||
|  | ||||
| git clone https://github.com/ROCm/MIOpen -b ${MIOPEN_BRANCH} | ||||
| pushd MIOpen | ||||
| # remove .git to save disk space since CI runner was running out | ||||
| rm -rf .git | ||||
| # Don't build CK to save docker build time | ||||
| if [[ $ROCM_INT -ge 60200 ]]; then | ||||
|     sed -i '/composable_kernel/d' requirements.txt | ||||
| fi | ||||
| # Don't build MLIR to save docker build time | ||||
| # since we are disabling MLIR backend for MIOpen anyway | ||||
| if [[ $ROCM_INT -ge 50400 ]] && [[ $ROCM_INT -lt 50500 ]]; then | ||||
| @ -111,10 +134,15 @@ cmake -P install_deps.cmake --minimum | ||||
|  | ||||
| # clean up since CI runner was running out of disk space | ||||
| rm -rf /tmp/* | ||||
| yum clean all | ||||
| rm -rf /var/cache/yum | ||||
| rm -rf /var/lib/yum/yumdb | ||||
| rm -rf /var/lib/yum/history | ||||
| if [[ ${IS_UBUNTU} == 1 ]]; then | ||||
|   apt-get autoclean && apt-get clean | ||||
|   rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||||
| else | ||||
|   yum clean all | ||||
|   rm -rf /var/cache/yum | ||||
|   rm -rf /var/lib/yum/yumdb | ||||
|   rm -rf /var/lib/yum/history | ||||
| fi | ||||
|  | ||||
| ## Build MIOpen | ||||
| mkdir -p build | ||||
| @ -131,7 +159,11 @@ make -j $(nproc) package | ||||
| # clean up since CI runner was running out of disk space | ||||
| rm -rf /usr/local/cget | ||||
|  | ||||
| yum install -y miopen-*.rpm | ||||
| if [[ ${IS_UBUNTU} == 1 ]]; then | ||||
|   sudo dpkg -i miopen-hip*.deb | ||||
| else | ||||
|   yum install -y miopen-*.rpm | ||||
| fi | ||||
|  | ||||
| popd | ||||
| rm -rf MIOpen | ||||
|  | ||||
| @ -12,10 +12,7 @@ conda_reinstall() { | ||||
|   as_jenkins conda install -q -n py_$ANACONDA_PYTHON_VERSION -y --force-reinstall $* | ||||
| } | ||||
|  | ||||
| if [ -n "${ROCM_VERSION}" ]; then | ||||
|   TRITON_REPO="https://github.com/openai/triton" | ||||
|   TRITON_TEXT_FILE="triton-rocm" | ||||
| elif [ -n "${XPU_VERSION}" ]; then | ||||
| if [ -n "${XPU_VERSION}" ]; then | ||||
|   TRITON_REPO="https://github.com/intel/intel-xpu-backend-for-triton" | ||||
|   TRITON_TEXT_FILE="triton-xpu" | ||||
| else | ||||
|  | ||||
| @ -135,7 +135,7 @@ fi | ||||
| ) | ||||
|  | ||||
| GITHUB_REF=${GITHUB_REF:-$(git symbolic-ref -q HEAD || git describe --tags --exact-match)} | ||||
| GIT_BRANCH_NAME=${GITHUB_REF##*/} | ||||
| GIT_BRANCH_NAME="2.5" | ||||
| GIT_COMMIT_SHA=${GITHUB_SHA:-$(git rev-parse HEAD)} | ||||
| DOCKER_IMAGE_BRANCH_TAG=${DOCKER_IMAGE}-${GIT_BRANCH_NAME} | ||||
| DOCKER_IMAGE_SHA_TAG=${DOCKER_IMAGE}-${GIT_COMMIT_SHA} | ||||
|  | ||||
| @ -30,9 +30,14 @@ dill==0.3.7 | ||||
| #Pinned versions: 0.3.7 | ||||
| #test that import: dynamo/test_replay_record.py test_dataloader.py test_datapipe.py test_serialization.py | ||||
|  | ||||
| expecttest==0.1.6 | ||||
| expecttest==0.2.1 | ||||
| #Description: method for writing tests where test framework auto populates | ||||
| # the expected output based on previous runs | ||||
| #Pinned versions: 0.2.1 | ||||
| #test that import: | ||||
|  | ||||
| fbscribelogger==0.1.6 | ||||
| #Description: write to scribe from authenticated jobs on CI | ||||
| #Pinned versions: 0.1.6 | ||||
| #test that import: | ||||
|  | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| 3.0.0 | ||||
| 3.1.0 | ||||
|  | ||||
| @ -68,6 +68,8 @@ RUN rm install_rocm.sh | ||||
| COPY ./common/install_rocm_magma.sh install_rocm_magma.sh | ||||
| RUN bash ./install_rocm_magma.sh | ||||
| RUN rm install_rocm_magma.sh | ||||
| ADD ./common/install_miopen.sh install_miopen.sh | ||||
| RUN bash ./install_miopen.sh ${ROCM_VERSION} && rm install_miopen.sh | ||||
| ENV ROCM_PATH /opt/rocm | ||||
| ENV PATH /opt/rocm/bin:$PATH | ||||
| ENV PATH /opt/rocm/hcc/bin:$PATH | ||||
| @ -100,10 +102,10 @@ ARG TRITON | ||||
| # try to reach out to S3, which docker build runners don't have access | ||||
| COPY ./common/install_triton.sh install_triton.sh | ||||
| COPY ./common/common_utils.sh common_utils.sh | ||||
| COPY ci_commit_pins/triton-rocm.txt triton-rocm.txt | ||||
| COPY ci_commit_pins/triton.txt triton.txt | ||||
| COPY triton_version.txt triton_version.txt | ||||
| RUN if [ -n "${TRITON}" ]; then bash ./install_triton.sh; fi | ||||
| RUN rm install_triton.sh common_utils.sh triton-rocm.txt triton_version.txt | ||||
| RUN rm install_triton.sh common_utils.sh triton.txt triton_version.txt | ||||
|  | ||||
| # Install AOTriton | ||||
| COPY ./aotriton_version.txt aotriton_version.txt | ||||
| @ -121,5 +123,8 @@ RUN bash ./install_cache.sh && rm install_cache.sh | ||||
| ARG BUILD_ENVIRONMENT | ||||
| ENV BUILD_ENVIRONMENT ${BUILD_ENVIRONMENT} | ||||
|  | ||||
| # Install LLVM dev version (Defined in the pytorch/builder github repository) | ||||
| COPY --from=pytorch/llvm:9.0.1 /opt/llvm /opt/llvm | ||||
|  | ||||
| USER jenkins | ||||
| CMD ["bash"] | ||||
|  | ||||
| @ -49,13 +49,8 @@ if [[ ${BUILD_ENVIRONMENT} == *"parallelnative"* ]]; then | ||||
| fi | ||||
|  | ||||
| # Enable LLVM dependency for TensorExpr testing | ||||
| if [[ "$BUILD_ENVIRONMENT" == *rocm* ]]; then | ||||
|   export USE_LLVM=/opt/rocm/llvm | ||||
|   export LLVM_DIR=/opt/rocm/llvm/lib/cmake/llvm | ||||
| else | ||||
|   export USE_LLVM=/opt/llvm | ||||
|   export LLVM_DIR=/opt/llvm/lib/cmake/llvm | ||||
| fi | ||||
| export USE_LLVM=/opt/llvm | ||||
| export LLVM_DIR=/opt/llvm/lib/cmake/llvm | ||||
|  | ||||
| if [[ "$BUILD_ENVIRONMENT" == *executorch* ]]; then | ||||
|   # To build test_edge_op_registration | ||||
|  | ||||
| @ -198,7 +198,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.5 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)" | ||||
|  | ||||
| @ -596,6 +596,9 @@ test_single_dynamo_benchmark() { | ||||
|  | ||||
| test_inductor_micro_benchmark() { | ||||
|   TEST_REPORTS_DIR=$(pwd)/test/test-reports | ||||
|   if [[ "${TEST_CONFIG}" == *cpu* ]]; then | ||||
|     test_inductor_set_cpu_affinity | ||||
|   fi | ||||
|   python benchmarks/gpt_fast/benchmark.py --output "${TEST_REPORTS_DIR}/gpt_fast_benchmark.csv" | ||||
| } | ||||
|  | ||||
|  | ||||
| @ -24,6 +24,12 @@ call %INSTALLER_DIR%\install_sccache.bat | ||||
| if errorlevel 1 goto fail | ||||
| if not errorlevel 0 goto fail | ||||
|  | ||||
| if "%USE_XPU%"=="1" ( | ||||
|   :: Install xpu support packages | ||||
|   call %INSTALLER_DIR%\install_xpu.bat | ||||
|   if errorlevel 1 exit /b 1 | ||||
| ) | ||||
|  | ||||
| :: Miniconda has been installed as part of the Windows AMI with all the dependencies. | ||||
| :: We just need to activate it here | ||||
| call %INSTALLER_DIR%\activate_miniconda3.bat | ||||
| @ -43,6 +49,16 @@ if "%VC_VERSION%" == "" ( | ||||
| ) | ||||
| if errorlevel 1 goto fail | ||||
| if not errorlevel 0 goto fail | ||||
|  | ||||
| if "%USE_XPU%"=="1" ( | ||||
|   :: Activate xpu environment - VS env is required for xpu | ||||
|   call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" | ||||
|   if errorlevel 1 exit /b 1 | ||||
|   :: Reduce build time. Only have MTL self-hosted runner now | ||||
|   SET TORCH_XPU_ARCH_LIST=xe-lpg | ||||
|   SET USE_KINETO=0 | ||||
| ) | ||||
|  | ||||
| @echo on | ||||
| popd | ||||
|  | ||||
|  | ||||
| @ -0,0 +1,91 @@ | ||||
| @echo on | ||||
| REM Description: Install Intel Support Packages on Windows | ||||
| REM BKM reference: https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu/2-5.html | ||||
|  | ||||
| set XPU_INSTALL_MODE=%~1 | ||||
| if "%XPU_INSTALL_MODE%"=="" goto xpu_bundle_install_start | ||||
| if "%XPU_INSTALL_MODE%"=="bundle" goto xpu_bundle_install_start | ||||
| if "%XPU_INSTALL_MODE%"=="driver" goto xpu_driver_install_start | ||||
| if "%XPU_INSTALL_MODE%"=="all" goto xpu_driver_install_start | ||||
|  | ||||
| :arg_error | ||||
|  | ||||
| echo Illegal XPU installation mode. The value can be "bundle"/"driver"/"all" | ||||
| echo If keep the value as space, will use default "bundle" mode | ||||
| exit /b 1 | ||||
|  | ||||
| :xpu_driver_install_start | ||||
| :: TODO Need more testing for driver installation | ||||
| set XPU_DRIVER_LINK=https://downloadmirror.intel.com/830975/gfx_win_101.5972.exe | ||||
| curl -o xpu_driver.exe --retry 3 --retry-all-errors -k %XPU_DRIVER_LINK% | ||||
| echo "XPU Driver installing..." | ||||
| start /wait "Intel XPU Driver Installer" "xpu_driver.exe" | ||||
| if errorlevel 1 exit /b 1 | ||||
| del xpu_driver.exe | ||||
| if "%XPU_INSTALL_MODE%"=="driver" goto xpu_install_end | ||||
|  | ||||
| :xpu_bundle_install_start | ||||
|  | ||||
| set XPU_BUNDLE_PARENT_DIR=C:\Program Files (x86)\Intel\oneAPI | ||||
| set XPU_BUNDLE_URL=https://registrationcenter-download.intel.com/akdlm/IRC_NAS/9d1a91e2-e8b8-40a5-8c7f-5db768a6a60c/w_intel-for-pytorch-gpu-dev_p_0.5.3.37_offline.exe | ||||
| set XPU_PTI_URL=https://registrationcenter-download.intel.com/akdlm/IRC_NAS/9d1a91e2-e8b8-40a5-8c7f-5db768a6a60c/w_intel-pti-dev_p_0.9.0.37_offline.exe | ||||
| set XPU_BUNDLE_VERSION=0.5.3+31 | ||||
| set XPU_PTI_VERSION=0.9.0+36 | ||||
| set XPU_BUNDLE_PRODUCT_NAME=intel.oneapi.win.intel-for-pytorch-gpu-dev.product | ||||
| set XPU_PTI_PRODUCT_NAME=intel.oneapi.win.intel-pti-dev.product | ||||
| set XPU_BUNDLE_INSTALLED=0 | ||||
| set XPU_PTI_INSTALLED=0 | ||||
| set XPU_BUNDLE_UNINSTALL=0 | ||||
| set XPU_PTI_UNINSTALL=0 | ||||
|  | ||||
| :: Check if XPU bundle is target version or already installed | ||||
| if exist "%XPU_BUNDLE_PARENT_DIR%\Installer\installer.exe" goto xpu_bundle_ver_check | ||||
| goto xpu_bundle_install | ||||
|  | ||||
| :xpu_bundle_ver_check | ||||
|  | ||||
| "%XPU_BUNDLE_PARENT_DIR%\Installer\installer.exe" --list-products > xpu_bundle_installed_ver.log | ||||
|  | ||||
| for /f "tokens=1,2" %%a in (xpu_bundle_installed_ver.log) do ( | ||||
|     if "%%a"=="%XPU_BUNDLE_PRODUCT_NAME%" ( | ||||
|         echo %%a Installed Version: %%b | ||||
|         set XPU_BUNDLE_INSTALLED=1 | ||||
|         if not "%XPU_BUNDLE_VERSION%"=="%%b" ( | ||||
|             start /wait "Installer Title" "%XPU_BUNDLE_PARENT_DIR%\Installer\installer.exe" --action=remove --eula=accept --silent --product-id %XPU_BUNDLE_PRODUCT_NAME% --product-ver %%b --log-dir uninstall_bundle | ||||
|             set XPU_BUNDLE_UNINSTALL=1 | ||||
|         ) | ||||
|     ) | ||||
|     if "%%a"=="%XPU_PTI_PRODUCT_NAME%" ( | ||||
|         echo %%a Installed Version: %%b | ||||
|         set XPU_PTI_INSTALLED=1 | ||||
|         if not "%XPU_PTI_VERSION%"=="%%b" ( | ||||
|             start /wait "Installer Title" "%XPU_BUNDLE_PARENT_DIR%\Installer\installer.exe" --action=remove --eula=accept --silent --product-id %XPU_PTI_PRODUCT_NAME% --product-ver %%b --log-dir uninstall_bundle | ||||
|             set XPU_PTI_UNINSTALL=1 | ||||
|         ) | ||||
|     ) | ||||
| ) | ||||
| if errorlevel 1 exit /b 1 | ||||
| if exist xpu_bundle_installed_ver.log del xpu_bundle_installed_ver.log | ||||
| if "%XPU_BUNDLE_INSTALLED%"=="0" goto xpu_bundle_install | ||||
| if "%XPU_BUNDLE_UNINSTALL%"=="1" goto xpu_bundle_install | ||||
| if "%XPU_PTI_INSTALLED%"=="0" goto xpu_pti_install | ||||
| if "%XPU_PTI_UNINSTALL%"=="1" goto xpu_pti_install | ||||
| goto xpu_install_end | ||||
|  | ||||
| :xpu_bundle_install | ||||
|  | ||||
| curl -o xpu_bundle.exe --retry 3 --retry-all-errors -k %XPU_BUNDLE_URL% | ||||
| echo "XPU Bundle installing..." | ||||
| start /wait "Intel Pytorch Bundle Installer" "xpu_bundle.exe" --action=install --eula=accept --silent --log-dir install_bundle | ||||
| if errorlevel 1 exit /b 1 | ||||
| del xpu_bundle.exe | ||||
|  | ||||
| :xpu_pti_install | ||||
|  | ||||
| curl -o xpu_pti.exe --retry 3 --retry-all-errors -k %XPU_PTI_URL% | ||||
| echo "XPU PTI installing..." | ||||
| start /wait "Intel PTI Installer" "xpu_pti.exe" --action=install --eula=accept --silent --log-dir install_bundle | ||||
| if errorlevel 1 exit /b 1 | ||||
| del xpu_pti.exe | ||||
|  | ||||
| :xpu_install_end | ||||
| @ -119,6 +119,11 @@ fi | ||||
| # Test the package | ||||
| /builder/check_binary.sh | ||||
|  | ||||
| if [[ "\$GPU_ARCH_TYPE" != *s390x* && "\$GPU_ARCH_TYPE" != *xpu* && "\$GPU_ARCH_TYPE" != *rocm*  && "$PACKAGE_TYPE" != libtorch ]]; then | ||||
|   # Exclude s390, xpu, rocm and libtorch builds from smoke testing | ||||
|   python /builder/test/smoke_test/smoke_test.py --package=torchonly --torch-compile-check disabled | ||||
| fi | ||||
|  | ||||
| # Clean temp files | ||||
| cd /builder && git clean -ffdx | ||||
|  | ||||
|  | ||||
| @ -78,7 +78,7 @@ TRITON_VERSION=$(cat $PYTORCH_ROOT/.ci/docker/triton_version.txt) | ||||
| TRITON_CONSTRAINT="platform_system == 'Linux' and platform_machine == 'x86_64' and python_version < '3.13'" | ||||
| if [[ "$PACKAGE_TYPE" =~ .*wheel.* &&  -n "${PYTORCH_EXTRA_INSTALL_REQUIREMENTS:-}" ]]; then | ||||
|   # Only linux Python < 3.13 are supported wheels for triton | ||||
|   TRITON_REQUIREMENT="triton==${TRITON_VERSION}; ${TRITON_CONSTRAINT}" | ||||
|   TRITON_REQUIREMENT="pytorch-triton==${TRITON_VERSION}; ${TRITON_CONSTRAINT}" | ||||
|   if [[ -n "$PYTORCH_BUILD_VERSION" && "$PYTORCH_BUILD_VERSION" =~ .*dev.* ]]; then | ||||
|       TRITON_SHORTHASH=$(cut -c1-10 $PYTORCH_ROOT/.ci/docker/ci_commit_pins/triton.txt) | ||||
|       TRITON_REQUIREMENT="pytorch-triton==${TRITON_VERSION}+${TRITON_SHORTHASH}; ${TRITON_CONSTRAINT}" | ||||
| @ -90,7 +90,7 @@ fi | ||||
| if [[ "$PACKAGE_TYPE" =~ .*wheel.* && -n "$PYTORCH_BUILD_VERSION" && "$PYTORCH_BUILD_VERSION" =~ .*rocm.* && $(uname) == "Linux" ]]; then | ||||
|     TRITON_REQUIREMENT="pytorch-triton-rocm==${TRITON_VERSION}; ${TRITON_CONSTRAINT}" | ||||
|     if [[ -n "$PYTORCH_BUILD_VERSION" && "$PYTORCH_BUILD_VERSION" =~ .*dev.* ]]; then | ||||
|         TRITON_SHORTHASH=$(cut -c1-10 $PYTORCH_ROOT/.ci/docker/ci_commit_pins/triton-rocm.txt) | ||||
|         TRITON_SHORTHASH=$(cut -c1-10 $PYTORCH_ROOT/.ci/docker/ci_commit_pins/triton.txt) | ||||
|         TRITON_REQUIREMENT="pytorch-triton-rocm==${TRITON_VERSION}+${TRITON_SHORTHASH}; ${TRITON_CONSTRAINT}" | ||||
|     fi | ||||
|     if [[ -z "${PYTORCH_EXTRA_INSTALL_REQUIREMENTS:-}" ]]; then | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/ci_commit_pins/xla.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/ci_commit_pins/xla.txt
									
									
									
									
										vendored
									
									
								
							| @ -1 +1 @@ | ||||
| 2eb4a60ed14a38260b85b0c765161f0ce45be6d1 | ||||
| r2.5 | ||||
|  | ||||
							
								
								
									
										1
									
								
								.github/pytorch-probot.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/pytorch-probot.yml
									
									
									
									
										vendored
									
									
								
							| @ -9,6 +9,7 @@ ciflow_push_tags: | ||||
| - ciflow/inductor-rocm | ||||
| - ciflow/inductor-perf-compare | ||||
| - ciflow/inductor-micro-benchmark | ||||
| - ciflow/inductor-micro-benchmark-cpu-x86 | ||||
| - ciflow/inductor-cu124 | ||||
| - ciflow/linux-aarch64 | ||||
| - ciflow/mps | ||||
|  | ||||
| @ -1,6 +1,7 @@ | ||||
| boto3==1.19.12 | ||||
| hypothesis==6.56.4 | ||||
| expecttest==0.1.6 | ||||
| expecttest==0.2.1 | ||||
| fbscribelogger==0.1.6 | ||||
| librosa>=0.6.2 | ||||
| mpmath==1.3.0 | ||||
| networkx==2.8.7 | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/scripts/build_triton_wheel.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/scripts/build_triton_wheel.py
									
									
									
									
										vendored
									
									
								
							| @ -15,9 +15,7 @@ REPO_DIR = SCRIPT_DIR.parent.parent | ||||
|  | ||||
| def read_triton_pin(device: str = "cuda") -> str: | ||||
|     triton_file = "triton.txt" | ||||
|     if device == "rocm": | ||||
|         triton_file = "triton-rocm.txt" | ||||
|     elif device == "xpu": | ||||
|     if device == "xpu": | ||||
|         triton_file = "triton-xpu.txt" | ||||
|     with open(REPO_DIR / ".ci" / "docker" / "ci_commit_pins" / triton_file) as f: | ||||
|         return f.read().strip() | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/scripts/filter_test_configs.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/scripts/filter_test_configs.py
									
									
									
									
										vendored
									
									
								
							| @ -39,9 +39,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=sxzMTP57qj.Vwz8dN1glkTK560Txq9W3" | ||||
| # 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=8f1.4S3MupuHXH8t0waxyGnPsGHJYdv9" | ||||
|  | ||||
| # Some constants used to handle disabled and unstable jobs | ||||
| JOB_NAME_SEP = "/" | ||||
|  | ||||
							
								
								
									
										47
									
								
								.github/scripts/generate_binary_build_matrix.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										47
									
								
								.github/scripts/generate_binary_build_matrix.py
									
									
									
									
										vendored
									
									
								
							| @ -325,6 +325,7 @@ def generate_wheels_matrix( | ||||
|     os: str, | ||||
|     arches: Optional[List[str]] = None, | ||||
|     python_versions: Optional[List[str]] = None, | ||||
|     use_split_build: bool = False, | ||||
| ) -> List[Dict[str, str]]: | ||||
|     package_type = "wheel" | ||||
|     if os == "linux" or os == "linux-aarch64" or os == "linux-s390x": | ||||
| @ -371,7 +372,17 @@ def generate_wheels_matrix( | ||||
|             ) and python_version == "3.13": | ||||
|                 continue | ||||
|  | ||||
|             if use_split_build and ( | ||||
|                 arch_version not in ["12.4", "12.1", "11.8", "cpu"] or os != "linux" | ||||
|             ): | ||||
|                 raise RuntimeError( | ||||
|                     "Split build is only supported on linux with cuda 12.4, 12.1, 11.8, and cpu.\n" | ||||
|                     f"Currently attempting to build on arch version {arch_version} and os {os}.\n" | ||||
|                     "Please modify the matrix generation to exclude this combination." | ||||
|                 ) | ||||
|  | ||||
|             # 12.1 linux wheels require PYTORCH_EXTRA_INSTALL_REQUIREMENTS to install | ||||
|  | ||||
|             if ( | ||||
|                 arch_version in ["12.4", "12.1", "11.8"] | ||||
|                 and os == "linux" | ||||
| @ -385,6 +396,7 @@ def generate_wheels_matrix( | ||||
|                         "desired_cuda": translate_desired_cuda( | ||||
|                             gpu_arch_type, gpu_arch_version | ||||
|                         ), | ||||
|                         "use_split_build": "True" if use_split_build else "False", | ||||
|                         "devtoolset": ( | ||||
|                             "cxx11-abi" if arch_version == "cuda-aarch64" else "" | ||||
|                         ), | ||||
| @ -400,7 +412,8 @@ def generate_wheels_matrix( | ||||
|                         ), | ||||
|                     } | ||||
|                 ) | ||||
|                 if arch_version != "cuda-aarch64": | ||||
|                 # Special build building to use on Colab. PyThon 3.10 for 12.1 CUDA | ||||
|                 if python_version == "3.10" and arch_version == "12.1": | ||||
|                     ret.append( | ||||
|                         { | ||||
|                             "python_version": python_version, | ||||
| @ -409,40 +422,16 @@ def generate_wheels_matrix( | ||||
|                             "desired_cuda": translate_desired_cuda( | ||||
|                                 gpu_arch_type, gpu_arch_version | ||||
|                             ), | ||||
|                             "use_split_build": "True", | ||||
|                             "use_split_build": "True" if use_split_build else "False", | ||||
|                             "devtoolset": "", | ||||
|                             "container_image": WHEEL_CONTAINER_IMAGES[arch_version], | ||||
|                             "package_type": package_type, | ||||
|                             "pytorch_extra_install_requirements": ( | ||||
|                                 PYTORCH_EXTRA_INSTALL_REQUIREMENTS[arch_version]  # fmt: skip | ||||
|                                 if os != "linux-aarch64" | ||||
|                                 else "" | ||||
|                             ), | ||||
|                             "build_name": f"{package_type}-py{python_version}-{gpu_arch_type}{gpu_arch_version}-split".replace(  # noqa: B950 | ||||
|                             "pytorch_extra_install_requirements": "", | ||||
|                             "build_name": f"{package_type}-py{python_version}-{gpu_arch_type}{gpu_arch_version}-full".replace(  # noqa: B950 | ||||
|                                 ".", "_" | ||||
|                             ), | ||||
|                         } | ||||
|                     ) | ||||
|                     # Special build building to use on Colab. PyThon 3.10 for 12.1 CUDA | ||||
|                     if python_version == "3.10" and arch_version == "12.1": | ||||
|                         ret.append( | ||||
|                             { | ||||
|                                 "python_version": python_version, | ||||
|                                 "gpu_arch_type": gpu_arch_type, | ||||
|                                 "gpu_arch_version": gpu_arch_version, | ||||
|                                 "desired_cuda": translate_desired_cuda( | ||||
|                                     gpu_arch_type, gpu_arch_version | ||||
|                                 ), | ||||
|                                 "use_split_build": "False", | ||||
|                                 "devtoolset": "", | ||||
|                                 "container_image": WHEEL_CONTAINER_IMAGES[arch_version], | ||||
|                                 "package_type": package_type, | ||||
|                                 "pytorch_extra_install_requirements": "", | ||||
|                                 "build_name": f"{package_type}-py{python_version}-{gpu_arch_type}{gpu_arch_version}-full".replace(  # noqa: B950 | ||||
|                                     ".", "_" | ||||
|                                 ), | ||||
|                             } | ||||
|                         ) | ||||
|             else: | ||||
|                 ret.append( | ||||
|                     { | ||||
| @ -452,6 +441,7 @@ def generate_wheels_matrix( | ||||
|                         "desired_cuda": translate_desired_cuda( | ||||
|                             gpu_arch_type, gpu_arch_version | ||||
|                         ), | ||||
|                         "use_split_build": "True" if use_split_build else "False", | ||||
|                         "devtoolset": ( | ||||
|                             "cxx11-abi" if arch_version == "cpu-cxx11-abi" else "" | ||||
|                         ), | ||||
| @ -467,6 +457,7 @@ def generate_wheels_matrix( | ||||
|                         ), | ||||
|                     } | ||||
|                 ) | ||||
|  | ||||
|     return ret | ||||
|  | ||||
|  | ||||
|  | ||||
							
								
								
									
										38
									
								
								.github/scripts/generate_ci_workflows.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										38
									
								
								.github/scripts/generate_ci_workflows.py
									
									
									
									
										vendored
									
									
								
							| @ -61,6 +61,7 @@ class BinaryBuildWorkflow: | ||||
|     # Mainly for macos | ||||
|     cross_compile_arm64: bool = False | ||||
|     macos_runner: str = "macos-14-xlarge" | ||||
|     use_split_build: bool = False | ||||
|  | ||||
|     def __post_init__(self) -> None: | ||||
|         if self.abi_version: | ||||
| @ -69,12 +70,20 @@ class BinaryBuildWorkflow: | ||||
|             ) | ||||
|         else: | ||||
|             self.build_environment = f"{self.os}-binary-{self.package_type}" | ||||
|         if self.use_split_build: | ||||
|             # added to distinguish concurrency groups | ||||
|             self.build_environment += "-split" | ||||
|  | ||||
|     def generate_workflow_file(self, workflow_template: jinja2.Template) -> None: | ||||
|         output_file_path = ( | ||||
|             GITHUB_DIR | ||||
|             / f"workflows/generated-{self.build_environment}-{self.branches}.yml" | ||||
|         ) | ||||
|         if self.use_split_build: | ||||
|             output_file_path = ( | ||||
|                 GITHUB_DIR | ||||
|                 / f"workflows/generated-{self.build_environment}-{self.branches}" | ||||
|             ) | ||||
|         with open(output_file_path, "w") as output_file: | ||||
|             GENERATED = "generated"  # Note that please keep the variable GENERATED otherwise phabricator will hide the whole file | ||||
|             output_file.writelines([f"# @{GENERATED} DO NOT EDIT MANUALLY\n"]) | ||||
| @ -110,6 +119,20 @@ LINUX_BINARY_BUILD_WORFKLOWS = [ | ||||
|             isolated_workflow=True, | ||||
|         ), | ||||
|     ), | ||||
|     BinaryBuildWorkflow( | ||||
|         os=OperatingSystem.LINUX, | ||||
|         package_type="manywheel", | ||||
|         build_configs=generate_binary_build_matrix.generate_wheels_matrix( | ||||
|             OperatingSystem.LINUX, | ||||
|             use_split_build=True, | ||||
|             arches=["11.8", "12.1", "12.4", "cpu"], | ||||
|         ), | ||||
|         ciflow_config=CIFlowConfig( | ||||
|             labels={LABEL_CIFLOW_BINARIES, LABEL_CIFLOW_BINARIES_WHEEL}, | ||||
|             isolated_workflow=True, | ||||
|         ), | ||||
|         use_split_build=True, | ||||
|     ), | ||||
|     BinaryBuildWorkflow( | ||||
|         os=OperatingSystem.LINUX, | ||||
|         package_type="conda", | ||||
| @ -162,6 +185,21 @@ LINUX_BINARY_SMOKE_WORKFLOWS = [ | ||||
|         ), | ||||
|         branches="main", | ||||
|     ), | ||||
|     BinaryBuildWorkflow( | ||||
|         os=OperatingSystem.LINUX, | ||||
|         package_type="manywheel", | ||||
|         build_configs=generate_binary_build_matrix.generate_wheels_matrix( | ||||
|             OperatingSystem.LINUX, | ||||
|             arches=["11.8", "12.1", "12.4"], | ||||
|             python_versions=["3.9"], | ||||
|             use_split_build=True, | ||||
|         ), | ||||
|         ciflow_config=CIFlowConfig( | ||||
|             labels={LABEL_CIFLOW_PERIODIC}, | ||||
|         ), | ||||
|         branches="main", | ||||
|         use_split_build=True, | ||||
|     ), | ||||
|     BinaryBuildWorkflow( | ||||
|         os=OperatingSystem.LINUX, | ||||
|         package_type="libtorch", | ||||
|  | ||||
							
								
								
									
										39
									
								
								.github/scripts/s390x-ci/README.md
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										39
									
								
								.github/scripts/s390x-ci/README.md
									
									
									
									
										vendored
									
									
								
							| @ -3,7 +3,7 @@ | ||||
| ## Install prerequisites. | ||||
|  | ||||
| ``` | ||||
| $ sudo dnf install docker | ||||
| $ sudo dnf install podman podman-docker jq | ||||
| ``` | ||||
|  | ||||
| ## Add services. | ||||
| @ -27,23 +27,48 @@ $ sudo systemctl enable --now qemu-user-static | ||||
|  | ||||
| ## Rebuild the image | ||||
|  | ||||
| In order to build or update the `iiilinuxibmcom/actions-runner` image, e.g. to get the | ||||
| latest OS security fixes, use the following commands: | ||||
| First build s390x builder image `docker.io/pytorch/manylinuxs390x-builder`, | ||||
| using following commands: | ||||
|  | ||||
| ``` | ||||
| $ cd ~ | ||||
| $ git clone https://github.com/pytorch/pytorch | ||||
| $ cd pytorch | ||||
| $ git submodule update --init --recursive | ||||
| $ GPU_ARCH_TYPE=cpu-s390x "$(pwd)/.ci/docker/manywheel/build.sh" manylinuxs390x-builder | ||||
| $ docker image tag localhost/pytorch/manylinuxs390x-builder docker.io/pytorch/manylinuxs390x-builder:cpu-s390x | ||||
| $ docker image save -o ~/manywheel-s390x.tar docker.io/pytorch/manylinuxs390x-builder:cpu-s390x | ||||
| ``` | ||||
|  | ||||
| Next step is to build `actions-runner` image using: | ||||
|  | ||||
| ``` | ||||
| $ cd self-hosted-builder | ||||
| $ sudo docker build \ | ||||
|       --build-arg repo=<owner>/<name> \ | ||||
|       --build-arg token=<***> \ | ||||
|       --pull \ | ||||
|       -f actions-runner.Dockerfile \ | ||||
|       -t iiilinuxibmcom/actions-runner \ | ||||
|       -t iiilinuxibmcom/actions-runner.<name> \ | ||||
|       . | ||||
| ``` | ||||
|  | ||||
| If it fails, ensure that selinux doesn't prevent it from working. | ||||
| If there are failures, ensure that selinux doesn't prevent it from working. | ||||
| In worst case, selinux can be disabled with `setenforce 0`. | ||||
|  | ||||
| Now prepare all necessary files for runner registration: | ||||
|  | ||||
| ``` | ||||
| $ sudo mkdir -p /etc/actions-runner/<name> | ||||
| $ sudo chmod 700 /etc/actions-runner/<name> | ||||
| $ sudo /bin/cp <github_app_private_key_file> /etc/actions-runner/<name>/key_private.pem | ||||
| $ sudo echo <github_app_id> | sudo tee /etc/actions-runner/<name>/appid.env | ||||
| $ sudo echo <github_app_install_id> | sudo tee /etc/actions-runner/<name>/installid.env | ||||
| $ sudo echo NAME=<worker_name> | sudo tee    /etc/actions-runner/<name>/env | ||||
| $ sudo echo ORG=<github_org>   | sudo tee -a /etc/actions-runner/<name>/env | ||||
| $ cd self-hosted-builder | ||||
| $ sudo /bin/cp helpers/*.sh /usr/local/bin/ | ||||
| $ sudo chmod 755 /usr/local/bin/app_token.sh /usr/local/bin/gh_token_generator.sh | ||||
| ``` | ||||
|  | ||||
| ## Autostart the runner. | ||||
|  | ||||
| ``` | ||||
|  | ||||
| @ -1,12 +1,12 @@ | ||||
| # Self-Hosted IBM Z Github Actions Runner. | ||||
|  | ||||
| # Temporary image: amd64 dependencies. | ||||
| FROM docker.io/amd64/ubuntu:22.04 as ld-prefix | ||||
| FROM docker.io/amd64/ubuntu:23.10 as ld-prefix | ||||
| ENV DEBIAN_FRONTEND=noninteractive | ||||
| RUN apt-get update && apt-get -y install ca-certificates libicu70 libssl3 | ||||
| RUN apt-get update && apt-get -y install ca-certificates libicu72 libssl3 | ||||
|  | ||||
| # Main image. | ||||
| FROM docker.io/s390x/ubuntu:22.04 | ||||
| FROM docker.io/s390x/ubuntu:23.10 | ||||
|  | ||||
| # Packages for pytorch building and testing. | ||||
| ENV DEBIAN_FRONTEND=noninteractive | ||||
| @ -16,6 +16,7 @@ RUN apt-get update && apt-get -y install \ | ||||
|         gcc \ | ||||
|         git \ | ||||
|         jq \ | ||||
|         zip \ | ||||
|         libxml2-dev \ | ||||
|         libxslt-dev \ | ||||
|         ninja-build \ | ||||
| @ -43,24 +44,28 @@ COPY fs/ / | ||||
|  | ||||
| RUN chmod +x /usr/bin/actions-runner /usr/bin/entrypoint | ||||
|  | ||||
| # install podman | ||||
| RUN apt -y install podman podman-docker | ||||
|  | ||||
| # amd64 Github Actions Runner. | ||||
| RUN useradd -m actions-runner | ||||
| USER actions-runner | ||||
| WORKDIR /home/actions-runner | ||||
| RUN curl -L https://github.com/actions/runner/releases/download/v2.309.0/actions-runner-linux-x64-2.309.0.tar.gz | tar -xz | ||||
|  | ||||
| # repository | ||||
| ARG repo | ||||
| # set up python virtual environment which is later used by runner. | ||||
| # build workflows use "python -m pip install ...", | ||||
| # and it doesn't work for non-root user | ||||
| RUN virtualenv --system-site-packages venv | ||||
|  | ||||
| # repository token | ||||
| ARG token | ||||
| # copy prebuilt manywheel docker image for builds and tests | ||||
| # build command is: | ||||
| # GPU_ARCH_TYPE=cpu-s390x "$(pwd)/manywheel/build_docker.sh" | ||||
| # and save command is: | ||||
| # docker image save -o manywheel-s390x.tar pytorch/manylinuxs390x-builder:cpu-s390x | ||||
| # | ||||
| COPY --chown=actions-runner:actions-runner manywheel-s390x.tar /home/actions-runner/manywheel-s390x.tar | ||||
|  | ||||
| RUN ./config.sh \ | ||||
|         --unattended \ | ||||
|         --url "https://github.com/${repo}" \ | ||||
|         --token "${token}" \ | ||||
|         --no-default-labels \ | ||||
|         --labels self-hosted,linux.s390x | ||||
| RUN curl -L https://github.com/actions/runner/releases/download/v2.317.0/actions-runner-linux-x64-2.317.0.tar.gz | tar -xz | ||||
|  | ||||
| ENTRYPOINT ["/usr/bin/entrypoint"] | ||||
| CMD ["/usr/bin/actions-runner"] | ||||
|  | ||||
| @ -8,12 +8,16 @@ StartLimitIntervalSec=0 | ||||
| Type=simple | ||||
| Restart=always | ||||
| ExecStartPre=-/usr/bin/docker rm --force actions-runner.%i | ||||
| ExecStartPre=-/usr/local/bin/gh_token_generator.sh /etc/actions-runner/%i/appid.env /etc/actions-runner/%i/installid.env /etc/actions-runner/%i/key_private.pem /etc/actions-runner/%i/ghtoken.env | ||||
| ExecStart=/usr/bin/docker run \ | ||||
|               --env-file=/etc/actions-runner/%i/env \ | ||||
|               --env-file=/etc/actions-runner/%i/ghtoken.env \ | ||||
|               --init \ | ||||
|               --interactive \ | ||||
|               --name=actions-runner.%i \ | ||||
|               --rm \ | ||||
|               iiilinuxibmcom/actions-runner | ||||
|               --privileged \ | ||||
|               iiilinuxibmcom/actions-runner.%i | ||||
| ExecStop=/bin/sh -c "docker exec actions-runner.%i kill -INT -- -1" | ||||
| ExecStop=/bin/sh -c "docker wait actions-runner.%i" | ||||
| ExecStop=/bin/sh -c "docker rm actions-runner.%i" | ||||
|  | ||||
| @ -2,5 +2,45 @@ | ||||
|  | ||||
| set -e -u | ||||
|  | ||||
| # first import docker image | ||||
| if [ -f ./manywheel-s390x.tar ] ; then | ||||
|         docker image load --input manywheel-s390x.tar | ||||
|         docker image tag docker.io/pytorch/manylinuxs390x-builder:cpu-s390x docker.io/pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|         rm -f manywheel-s390x.tar | ||||
| fi | ||||
|  | ||||
| token_file=registration-token.json | ||||
|  | ||||
| # Generate registration token | ||||
| curl \ | ||||
|         -X POST \ | ||||
|         -H "Accept: application/vnd.github.v3+json" \ | ||||
|         -H "Authorization: Bearer ${ACCESS_TOKEN}" \ | ||||
|         "https://api.github.com/orgs/${ORG}/actions/runners/registration-token" \ | ||||
|         -o "$token_file" | ||||
|  | ||||
| unset ACCESS_TOKEN | ||||
|  | ||||
| # register runner as ephemeral runner | ||||
| # it does one job, stops and unregisters | ||||
| registration_token=$(jq --raw-output .token "$token_file") | ||||
|  | ||||
| ./config.sh \ | ||||
|         --unattended \ | ||||
|         --ephemeral \ | ||||
|         --url "https://github.com/${ORG}" \ | ||||
|         --token "${registration_token}" \ | ||||
|         --name "${NAME}" \ | ||||
|         --no-default-labels \ | ||||
|         --labels self-hosted,linux.s390x | ||||
|  | ||||
| unset registration_token | ||||
| rm -f "$token_file" | ||||
|  | ||||
| # enter into python virtual environment. | ||||
| # build workflows use "python -m pip install ...", | ||||
| # and it doesn't work for non-root user | ||||
| source venv/bin/activate | ||||
|  | ||||
| # Run one job. | ||||
| ./run.sh --once | ||||
| ./run.sh | ||||
|  | ||||
							
								
								
									
										84
									
								
								.github/scripts/s390x-ci/self-hosted-builder/helpers/app_token.sh
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										84
									
								
								.github/scripts/s390x-ci/self-hosted-builder/helpers/app_token.sh
									
									
									
									
										vendored
									
									
										Executable file
									
								
							| @ -0,0 +1,84 @@ | ||||
| #!/usr/bin/env bash | ||||
| # | ||||
| # Request an ACCESS_TOKEN to be used by a GitHub APP | ||||
| # Environment variable that need to be set up: | ||||
| # * APP_ID, the GitHub's app ID | ||||
| # * INSTALL_ID, the Github's app's installation ID | ||||
| # * APP_PRIVATE_KEY, the content of GitHub app's private key in PEM format. | ||||
| # | ||||
| # https://github.com/orgs/community/discussions/24743#discussioncomment-3245300 | ||||
| # | ||||
|  | ||||
| set -o pipefail | ||||
|  | ||||
| _GITHUB_HOST=${GITHUB_HOST:="github.com"} | ||||
|  | ||||
| # If URL is not github.com then use the enterprise api endpoint | ||||
| if [[ ${GITHUB_HOST} = "github.com" ]]; then | ||||
|   URI="https://api.${_GITHUB_HOST}" | ||||
| else | ||||
|   URI="https://${_GITHUB_HOST}/api/v3" | ||||
| fi | ||||
|  | ||||
| API_VERSION=v3 | ||||
| API_HEADER="Accept: application/vnd.github.${API_VERSION}+json" | ||||
| CONTENT_LENGTH_HEADER="Content-Length: 0" | ||||
| APP_INSTALLATIONS_URI="${URI}/app/installations" | ||||
|  | ||||
|  | ||||
| # JWT parameters based off | ||||
| # https://docs.github.com/en/developers/apps/building-github-apps/authenticating-with-github-apps#authenticating-as-a-github-app | ||||
| # | ||||
| # JWT token issuance and expiration parameters | ||||
| JWT_IAT_DRIFT=60 | ||||
| JWT_EXP_DELTA=600 | ||||
|  | ||||
| JWT_JOSE_HEADER='{ | ||||
|     "alg": "RS256", | ||||
|     "typ": "JWT" | ||||
| }' | ||||
|  | ||||
|  | ||||
| build_jwt_payload() { | ||||
|     now=$(date +%s) | ||||
|     iat=$((now - JWT_IAT_DRIFT)) | ||||
|     jq -c \ | ||||
|         --arg iat_str "${iat}" \ | ||||
|         --arg exp_delta_str "${JWT_EXP_DELTA}" \ | ||||
|         --arg app_id_str "${APP_ID}" \ | ||||
|     ' | ||||
|         ($iat_str | tonumber) as $iat | ||||
|         | ($exp_delta_str | tonumber) as $exp_delta | ||||
|         | ($app_id_str | tonumber) as $app_id | ||||
|         | .iat = $iat | ||||
|         | .exp = ($iat + $exp_delta) | ||||
|         | .iss = $app_id | ||||
|     ' <<< "{}" | tr -d '\n' | ||||
| } | ||||
|  | ||||
| base64url() { | ||||
|     base64 | tr '+/' '-_' | tr -d '=\n' | ||||
| } | ||||
|  | ||||
| rs256_sign() { | ||||
|     openssl dgst -binary -sha256 -sign <(echo "$1") | ||||
| } | ||||
|  | ||||
| request_access_token() { | ||||
|     jwt_payload=$(build_jwt_payload) | ||||
|     encoded_jwt_parts=$(base64url <<<"${JWT_JOSE_HEADER}").$(base64url <<<"${jwt_payload}") | ||||
|     encoded_mac=$(echo -n "$encoded_jwt_parts" | rs256_sign "${APP_PRIVATE_KEY}" | base64url) | ||||
|     generated_jwt="${encoded_jwt_parts}.${encoded_mac}" | ||||
|  | ||||
|     auth_header="Authorization: Bearer ${generated_jwt}" | ||||
|  | ||||
|     app_installations_response=$(curl -sX POST \ | ||||
|         -H "${auth_header}" \ | ||||
|         -H "${API_HEADER}" \ | ||||
|         --header "X-GitHub-Api-Version: 2022-11-28" \ | ||||
|         --url "https://api.github.com/app/installations/${INSTALL_ID}/access_tokens" \ | ||||
|     ) | ||||
|     echo "$app_installations_response" | jq --raw-output '.token' | ||||
| } | ||||
|  | ||||
| request_access_token | ||||
							
								
								
									
										10
									
								
								.github/scripts/s390x-ci/self-hosted-builder/helpers/gh_token_generator.sh
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										10
									
								
								.github/scripts/s390x-ci/self-hosted-builder/helpers/gh_token_generator.sh
									
									
									
									
										vendored
									
									
										Executable file
									
								
							| @ -0,0 +1,10 @@ | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
| SCRIPT_DIR=$(dirname "$0") | ||||
| APP_ID=$1 | ||||
| INSTALL_ID=$2 | ||||
| APP_PRIVATE_KEY=$3 | ||||
| DST_FILE="$4" | ||||
|  | ||||
| ACCESS_TOKEN="$(APP_ID="$(<"${APP_ID}")" INSTALL_ID="$(<"${INSTALL_ID}")" APP_PRIVATE_KEY="$(<"${APP_PRIVATE_KEY}")" "${SCRIPT_DIR}/app_token.sh")" | ||||
| echo "ACCESS_TOKEN=${ACCESS_TOKEN}" > "${DST_FILE}" | ||||
							
								
								
									
										6
									
								
								.github/templates/common.yml.j2
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/templates/common.yml.j2
									
									
									
									
										vendored
									
									
								
							| @ -1,6 +1,6 @@ | ||||
| {%- set upload_artifact_s3_action = "seemethere/upload-artifact-s3@v5" -%} | ||||
| {%- set download_artifact_s3_action = "seemethere/download-artifact-s3@v4" -%} | ||||
| {%- set upload_artifact_action = "actions/upload-artifact@v3" -%} | ||||
| {%- set upload_artifact_action = "actions/upload-artifact@v4.4.0" -%} | ||||
| {%- set download_artifact_action = "actions/download-artifact@v4.1.7" -%} | ||||
|  | ||||
| {%- set timeout_minutes = 240 -%} | ||||
| @ -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.5" -%} | ||||
|  | ||||
| {%- 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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
| @ -142,10 +142,10 @@ 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: Pull Docker image | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.5 | ||||
|         with: | ||||
|           docker-image: !{{ config["container_image"] }} | ||||
|       - name: Test Pytorch binary | ||||
| @ -164,13 +164,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.5 | ||||
|         with: | ||||
|           docker-image: !{{ config["container_image"] }} | ||||
|       - name: Test Pytorch binary | ||||
|  | ||||
| @ -78,8 +78,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@v3.0.0 | ||||
|         if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }} | ||||
| @ -101,7 +101,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: !{{ config["build_name"] }} | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/templates/upload.yml.j2
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/templates/upload.yml.j2
									
									
									
									
										vendored
									
									
								
							| @ -45,7 +45,7 @@ | ||||
|   {%- if is_windows %} | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|   {%- endif %} | ||||
|  | ||||
| {%- else %} | ||||
|  | ||||
| @ -79,8 +79,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: | | ||||
| @ -121,8 +121,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
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/_android-build-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -37,7 +37,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.5 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -59,25 +59,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.5 | ||||
|         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.5 | ||||
|  | ||||
|       - 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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -141,5 +141,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.5 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										12
									
								
								.github/workflows/_android-full-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/_android-full-build-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -37,7 +37,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.5 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -59,25 +59,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.5 | ||||
|         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.5 | ||||
|  | ||||
|       - 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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -186,5 +186,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.5 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										14
									
								
								.github/workflows/_bazel-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/_bazel-build-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -47,7 +47,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.5 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -69,25 +69,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.5 | ||||
|         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.5 | ||||
|  | ||||
|       - 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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -97,7 +97,7 @@ jobs: | ||||
|         run: echo "IN_ARC_RUNNER=$([ -f /.inarc ] && echo true || echo false)" >> "$GITHUB_OUTPUT" | ||||
|  | ||||
|       - 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.5 | ||||
|         if: ${{ inputs.cuda-version != 'cpu' && steps.check_arc_runner.outputs.IN_ARC_RUNNER == 'false' }} | ||||
|  | ||||
|       - name: Output disk space left | ||||
| @ -206,5 +206,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.5 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										13
									
								
								.github/workflows/_binary-build-linux.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/_binary-build-linux.yml
									
									
									
									
										vendored
									
									
								
							| @ -159,13 +159,13 @@ jobs: | ||||
|  | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         if: inputs.build_environment != 'linux-s390x-binary-manywheel' | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           no-sudo: ${{ inputs.build_environment == 'linux-aarch64-binary-manywheel' || inputs.build_environment == 'linux-s390x-binary-manywheel' }} | ||||
|  | ||||
| @ -195,7 +195,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 | ||||
| @ -209,7 +208,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder to builder dir | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -235,7 +234,7 @@ jobs: | ||||
|  | ||||
|       - name: Pull Docker image | ||||
|         if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' && inputs.build_environment != 'linux-s390x-binary-manywheel' }} | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.5 | ||||
|         with: | ||||
|           docker-image: ${{ inputs.DOCKER_IMAGE }} | ||||
|  | ||||
| @ -283,7 +282,7 @@ jobs: | ||||
|           # Ensure the working directory gets chowned back to the current user | ||||
|           docker run --rm -v "${RUNNER_TEMP}/artifacts:/v" -w /v "${ALPINE_IMAGE}" chown -R "$(id -u):$(id -g)" . | ||||
|  | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: ${{ steps.filter.outputs.is-test-matrix-empty == 'False' }} | ||||
|         with: | ||||
|           name: ${{ inputs.build_name }} | ||||
| @ -293,7 +292,7 @@ jobs: | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         if: always() && inputs.build_environment != 'linux-s390x-binary-manywheel' | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.5 | ||||
|  | ||||
|       - name: Chown workspace | ||||
|         if: always() && inputs.build_environment != 'linux-s390x-binary-manywheel' | ||||
|  | ||||
							
								
								
									
										13
									
								
								.github/workflows/_binary-test-linux.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										13
									
								
								.github/workflows/_binary-test-linux.yml
									
									
									
									
										vendored
									
									
								
							| @ -142,14 +142,14 @@ jobs: | ||||
|  | ||||
|       - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)" | ||||
|         if: inputs.build_environment != 'linux-s390x-binary-manywheel' | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           no-sudo: ${{ inputs.build_environment == 'linux-aarch64-binary-manywheel' || inputs.build_environment == 'linux-s390x-binary-manywheel' }} | ||||
|  | ||||
| @ -172,7 +172,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 | ||||
|  | ||||
| @ -185,7 +184,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder to builder dir | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -216,12 +215,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.5 | ||||
|         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' && inputs.build_environment != 'linux-s390x-binary-manywheel' }} | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/pull-docker-image@release/2.5 | ||||
|         with: | ||||
|           docker-image: ${{ inputs.DOCKER_IMAGE }} | ||||
|  | ||||
| @ -231,7 +230,7 @@ jobs: | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         if: always() && inputs.build_environment != 'linux-s390x-binary-manywheel' | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.5 | ||||
|  | ||||
|       - name: Chown workspace | ||||
|         if: always() && inputs.build_environment != 'linux-s390x-binary-manywheel' | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/_binary-upload.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/_binary-upload.yml
									
									
									
									
										vendored
									
									
								
							| @ -103,7 +103,7 @@ jobs: | ||||
|       USE_SPLIT_BUILD: ${{ inputs.use_split_build }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           no-sudo: true | ||||
|  | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_buck-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/_buck-build-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -28,7 +28,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.5 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -49,7 +49,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.5 | ||||
|  | ||||
|       - name: Set up JDK 8 | ||||
|         uses: actions/setup-java@v3 | ||||
| @ -58,7 +58,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.5 | ||||
|         with: | ||||
|           python-version: 3.8 | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }} | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/_docs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/_docs.yml
									
									
									
									
										vendored
									
									
								
							| @ -84,7 +84,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.5 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|           instructions: | | ||||
| @ -95,7 +95,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.5 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
| @ -110,12 +110,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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -222,5 +222,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.5 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_ios-build-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/_ios-build-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -46,7 +46,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.5 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -80,7 +80,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.5 | ||||
|  | ||||
|       - name: Populate CI build options | ||||
|         shell: bash | ||||
| @ -102,7 +102,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.5 | ||||
|         with: | ||||
|           python-version: "3.9" | ||||
|           environment-file: .github/requirements/conda-env-iOS.txt | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/_linux-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/_linux-build.yml
									
									
									
									
										vendored
									
									
								
							| @ -108,7 +108,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.5 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
| @ -117,7 +117,7 @@ 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.5 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
| @ -132,7 +132,7 @@ 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.5 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image-name }} | ||||
|  | ||||
| @ -146,7 +146,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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -269,5 +269,5 @@ jobs: | ||||
|           s3-bucket: ${{ inputs.s3-bucket }} | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.5 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										12
									
								
								.github/workflows/_linux-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/_linux-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -72,7 +72,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.5 | ||||
|         if: ${{ !contains(matrix.runner, 'gcp.a100') }} | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -81,7 +81,7 @@ 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.5 | ||||
|  | ||||
|       - name: Setup Linux | ||||
|         uses: ./.github/actions/setup-linux | ||||
| @ -96,7 +96,7 @@ 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.5 | ||||
|         with: | ||||
|           docker-image-name: ${{ inputs.docker-image }} | ||||
|  | ||||
| @ -110,7 +110,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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
| @ -121,7 +121,7 @@ jobs: | ||||
|  | ||||
|       - 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.5 | ||||
|         if: ${{ contains(inputs.build-environment, 'cuda') && !contains(matrix.config, 'nogpu') && steps.check_arc_runner.outputs.IN_ARC_RUNNER == 'false' }} | ||||
|  | ||||
|       - name: Lock NVIDIA A100 40GB Frequency | ||||
| @ -342,7 +342,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.5 | ||||
|         if: always() | ||||
|  | ||||
|       # NB: We are currently having an intermittent GPU-related issue on G5 runners with | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/_mac-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										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.5 | ||||
|  | ||||
|       # [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.5 | ||||
|  | ||||
|       - 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.5 | ||||
|         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.5 | ||||
|         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.5 | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_mac-test-mps.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/_mac-test-mps.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.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|  | ||||
| @ -82,7 +82,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.5 | ||||
|         with: | ||||
|           python-version: ${{ inputs.python-version }} | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }} | ||||
| @ -161,4 +161,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.5 | ||||
|  | ||||
							
								
								
									
										8
									
								
								.github/workflows/_mac-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/_mac-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -74,11 +74,11 @@ jobs: | ||||
|           done | ||||
|  | ||||
|       - 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.5 | ||||
|  | ||||
|       # [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.5 | ||||
|  | ||||
|       - name: Download build artifacts | ||||
|         uses: ./.github/actions/download-build-artifacts | ||||
| @ -93,7 +93,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.5 | ||||
|         with: | ||||
|           python-version: ${{ inputs.python-version }} | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }} | ||||
| @ -217,4 +217,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.5 | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_rocm-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/_rocm-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -58,7 +58,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.5 | ||||
|         with: | ||||
|           no-sudo: true | ||||
|  | ||||
| @ -80,12 +80,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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_run_android_tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/_run_android_tests.yml
									
									
									
									
										vendored
									
									
								
							| @ -28,7 +28,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.5 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
| @ -59,10 +59,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.5 | ||||
|  | ||||
|       - name: Setup miniconda | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.5 | ||||
|         with: | ||||
|           python-version: 3.8 | ||||
|           environment-file: .github/requirements/conda-env-${{ runner.os }}-${{ runner.arch }}.txt | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/_runner-determinator.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/_runner-determinator.yml
									
									
									
									
										vendored
									
									
								
							| @ -45,7 +45,7 @@ jobs: | ||||
|       ISSUE_OWNER: ${{ inputs.issue_owner }} | ||||
|     steps: | ||||
|       # - name: Checkout PyTorch | ||||
|       #   uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|       #   uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|       #   with: | ||||
|       #     fetch-depth: 1 | ||||
|       #     submodules: true | ||||
|  | ||||
							
								
								
									
										19
									
								
								.github/workflows/_win-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/workflows/_win-build.yml
									
									
									
									
										vendored
									
									
								
							| @ -11,6 +11,16 @@ on: | ||||
|         required: true | ||||
|         type: string | ||||
|         description: What CUDA version to build with, "cpu" for none. | ||||
|       use-xpu: | ||||
|         required: false | ||||
|         type: boolean | ||||
|         default: false | ||||
|         description: If set, build with XPU support. | ||||
|       vc-year: | ||||
|         required: false | ||||
|         type: string | ||||
|         default: "2019" | ||||
|         description: The Visual Studio year to use for building. | ||||
|       build-with-debug: | ||||
|         required: false | ||||
|         type: boolean | ||||
| @ -69,10 +79,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.5 | ||||
|  | ||||
|       - 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.5 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|           instructions: | | ||||
| @ -87,7 +97,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.5 | ||||
|         with: | ||||
|           no-sudo: true | ||||
|  | ||||
| @ -141,7 +151,7 @@ jobs: | ||||
|           SCCACHE_REGION: us-east-1 | ||||
|           VC_PRODUCT: "BuildTools" | ||||
|           VC_VERSION: "" | ||||
|           VC_YEAR: "2019" | ||||
|           VC_YEAR: "${{ inputs.vc-year }}" | ||||
|           ALPINE_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/tool/alpine" | ||||
|           AWS_DEFAULT_REGION: us-east-1 | ||||
|           PR_NUMBER: ${{ github.event.pull_request.number }} | ||||
| @ -149,6 +159,7 @@ jobs: | ||||
|           DEBUG: ${{ inputs.build-with-debug && '1' || '0' }} | ||||
|           TORCH_CUDA_ARCH_LIST: "8.6" | ||||
|           USE_CUDA: ${{ inputs.cuda-version != 'cpu' && '1' || '0' }} | ||||
|           USE_XPU: ${{ inputs.use-xpu == true && '1' || '0' }} | ||||
|           OUR_GITHUB_JOB_ID: ${{ steps.get-job-id.outputs.job-id }} | ||||
|         run: | | ||||
|           .ci/pytorch/win-build.sh | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_win-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/_win-test.yml
									
									
									
									
										vendored
									
									
								
							| @ -57,10 +57,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.5 | ||||
|  | ||||
|       - 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.5 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|           instructions: | | ||||
| @ -76,7 +76,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.5 | ||||
|         with: | ||||
|           no-sudo: true | ||||
|  | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/_xpu-test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/_xpu-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.5 | ||||
|  | ||||
|       - name: Setup XPU | ||||
|         uses: ./.github/actions/setup-xpu | ||||
| @ -72,12 +72,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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.calculate-docker-image.outputs.docker-image }} | ||||
|  | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/build-conda-images.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build-conda-images.yml
									
									
									
									
										vendored
									
									
								
							| @ -40,12 +40,12 @@ jobs: | ||||
|       CUDA_VERSION: ${{ matrix.cuda_version }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: conda-builder${{ matrix.cuda_version == 'cpu' && '-' || '-cuda' }}${{matrix.cuda_version}} | ||||
|             docker-build-dir:  .ci/docker/conda | ||||
|  | ||||
							
								
								
									
										12
									
								
								.github/workflows/build-libtorch-images.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/build-libtorch-images.yml
									
									
									
									
										vendored
									
									
								
							| @ -40,12 +40,12 @@ jobs: | ||||
|       GPU_ARCH_VERSION: ${{ matrix.cuda_version }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: libtorch-cxx11-builder-cuda${{matrix.cuda_version}} | ||||
|             docker-build-dir:  .ci/docker/libtorch | ||||
| @ -75,12 +75,12 @@ jobs: | ||||
|       GPU_ARCH_VERSION: ${{ matrix.rocm_version }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: libtorch-cxx11-builder-rocm${{matrix.rocm_version}} | ||||
|             docker-build-dir:  .ci/docker/libtorch | ||||
| @ -104,12 +104,12 @@ jobs: | ||||
|     runs-on: linux.9xlarge.ephemeral | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: libtorch-cxx11-builder-cpu | ||||
|             docker-build-dir:  .ci/docker/libtorch | ||||
|  | ||||
							
								
								
									
										50
									
								
								.github/workflows/build-manywheel-images.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										50
									
								
								.github/workflows/build-manywheel-images.yml
									
									
									
									
										vendored
									
									
								
							| @ -27,6 +27,7 @@ env: | ||||
|   DOCKER_REGISTRY: "docker.io" | ||||
|   DOCKER_BUILDKIT: 1 | ||||
|   WITH_PUSH: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release')) }} | ||||
|   WITH_PUSH_ROCM: ${{ github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') }} | ||||
|  | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }} | ||||
| @ -46,12 +47,12 @@ jobs: | ||||
|       - name: Purge tools folder (free space for build) | ||||
|         run: rm -rf /opt/hostedtoolcache | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinux-builder-cuda${{matrix.cuda_version}} | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
| @ -84,12 +85,12 @@ jobs: | ||||
|       - name: Purge tools folder (free space for build) | ||||
|         run: rm -rf /opt/hostedtoolcache | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinux2_28-builder-cuda${{matrix.cuda_version}} | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
| @ -122,7 +123,7 @@ jobs: | ||||
|         uses: actions/checkout@v3 | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinuxaarch64-builder-cuda${{matrix.cuda_version}} | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
| @ -152,41 +153,42 @@ jobs: | ||||
|       GPU_ARCH_VERSION: ${{ matrix.rocm_version }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         if: env.WITH_PUSH_ROCM == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinux-builder-rocm${{matrix.rocm_version}} | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
|             always-rebuild: true | ||||
|             push: true | ||||
|       - name: Authenticate if WITH_PUSH | ||||
|         if: env.WITH_PUSH == 'true' | ||||
|       - name: Authenticate if WITH_PUSH_ROCM | ||||
|         if: env.WITH_PUSH_ROCM == 'true' | ||||
|         env: | ||||
|           DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | ||||
|           DOCKER_ID: ${{ secrets.DOCKER_ID }} | ||||
|         run: | | ||||
|           if [[ "${WITH_PUSH}" == true ]]; then | ||||
|           if [[ "${WITH_PUSH_ROCM}" == true ]]; then | ||||
|             echo "${DOCKER_TOKEN}" | docker login -u "${DOCKER_ID}" --password-stdin | ||||
|           fi | ||||
|       - name: Build Docker Image | ||||
|         if: env.WITH_PUSH == 'true' | ||||
|         if: env.WITH_PUSH_ROCM == 'true' | ||||
|         run: | | ||||
|           export WITH_PUSH=true | ||||
|           .ci/docker/manywheel/build.sh manylinux-builder:rocm${{matrix.rocm_version}} | ||||
|   build-docker-cpu: | ||||
|     environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v')) && 'docker-build' || '' }} | ||||
|     runs-on: am2.linux.9xlarge.ephemeral | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinux-builder-cpu | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
| @ -212,12 +214,12 @@ jobs: | ||||
|       GPU_ARCH_TYPE: cpu-manylinux_2_28 | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinux2_28-builder-cpu | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
| @ -243,12 +245,12 @@ jobs: | ||||
|       GPU_ARCH_TYPE: cpu-aarch64 | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinuxaarch64-builder-cpu-aarch64 | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
| @ -274,12 +276,12 @@ jobs: | ||||
|       GPU_ARCH_TYPE: cpu-aarch64-2_28 | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinux2_28_aarch64-builder-cpu-aarch64 | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
| @ -308,12 +310,12 @@ jobs: | ||||
|       GPU_ARCH_TYPE: cpu-cxx11-abi | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinuxcxx11-abi-builder-cpu-cxx11-abi | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
| @ -339,12 +341,12 @@ jobs: | ||||
|       GPU_ARCH_TYPE: xpu | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|       - name: Calculate docker image | ||||
|         if: env.WITH_PUSH == 'false' | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@main | ||||
|         uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.5 | ||||
|         with: | ||||
|             docker-image-name: manylinux2_28-builder-xpu | ||||
|             docker-build-dir:  .ci/docker/manywheel | ||||
|  | ||||
							
								
								
									
										24
									
								
								.github/workflows/build-triton-wheel.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/build-triton-wheel.yml
									
									
									
									
										vendored
									
									
								
							| @ -13,7 +13,6 @@ on: | ||||
|       - .github/scripts/build_triton_wheel.py | ||||
|       - .github/ci_commit_pins/triton.txt | ||||
|       - .ci/docker/ci_commit_pins/triton.txt | ||||
|       - .ci/docker/ci_commit_pins/triton-rocm.txt | ||||
|       - .ci/docker/ci_commit_pins/triton-xpu.txt | ||||
|   pull_request: | ||||
|     paths: | ||||
| @ -21,7 +20,6 @@ on: | ||||
|       - .github/scripts/build_triton_wheel.py | ||||
|       - .github/ci_commit_pins/triton.txt | ||||
|       - .ci/docker/ci_commit_pins/triton.txt | ||||
|       - .ci/docker/ci_commit_pins/triton-rocm.txt | ||||
|       - .ci/docker/ci_commit_pins/triton-xpu.txt | ||||
|  | ||||
| concurrency: | ||||
| @ -31,7 +29,7 @@ concurrency: | ||||
| jobs: | ||||
|   build-wheel: | ||||
|     name: "Build Triton Wheel" | ||||
|     runs-on: [self-hosted, linux.2xlarge] | ||||
|     runs-on: [self-hosted, linux.4xlarge] | ||||
|     strategy: | ||||
|       fail-fast: false | ||||
|       matrix: | ||||
| @ -49,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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|  | ||||
| @ -62,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.5 | ||||
|         with: | ||||
|           docker-image: ${{ env.DOCKER_IMAGE }} | ||||
|  | ||||
| @ -120,14 +118,14 @@ jobs: | ||||
|           fi | ||||
|           docker exec -t "${container_name}" chown -R 1000.1000 /artifacts | ||||
|  | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         with: | ||||
|           name: pytorch-triton-wheel-${{ matrix.py_vers }}-${{ matrix.device }} | ||||
|           if-no-files-found: error | ||||
|           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.5 | ||||
|         if: always() | ||||
|  | ||||
|   upload-wheel: | ||||
| @ -212,12 +210,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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|  | ||||
| @ -225,7 +223,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.5 | ||||
|         with: | ||||
|           docker-image: ${{ env.DOCKER_IMAGE }} | ||||
|  | ||||
| @ -253,14 +251,14 @@ jobs: | ||||
|           docker exec -t "${container_name}" python /pytorch/.github/scripts/build_triton_wheel.py --build-conda --py-version="${PY_VERS}" $RELEASE | ||||
|           docker exec -t "${container_name}" chown -R 1000.1000 /artifacts | ||||
|  | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         with: | ||||
|           name: pytorch-triton-conda-${{ matrix.py_vers }} | ||||
|           if-no-files-found: error | ||||
|           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.5 | ||||
|         if: always() | ||||
|  | ||||
|   upload-conda: | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/check-labels.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/check-labels.yml
									
									
									
									
										vendored
									
									
								
							| @ -35,7 +35,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.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: 1 | ||||
|  | ||||
| @ -11,7 +11,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.5 | ||||
|  | ||||
|       - name: Run close_nonexistent_disable_issues.py | ||||
|         env: | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/create_release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/create_release.yml
									
									
									
									
										vendored
									
									
								
							| @ -63,7 +63,7 @@ jobs: | ||||
|           files: ${{env.PT_RELEASE_FILE}} | ||||
|       - name: Upload source distribution to GHA artifacts for release tags | ||||
|         if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && contains(github.ref, 'rc') }} | ||||
|         uses: actions/upload-artifact@v2 | ||||
|         uses: actions/upload-artifact@v4.4.0 | ||||
|         with: | ||||
|           name: ${{ env.PT_RELEASE_FILE }} | ||||
|           path: ${{ env.PT_RELEASE_FILE }} | ||||
|  | ||||
							
								
								
									
										10
									
								
								.github/workflows/docker-builds.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/docker-builds.yml
									
									
									
									
										vendored
									
									
								
							| @ -82,28 +82,28 @@ 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.5 | ||||
|  | ||||
|       - 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.5 | ||||
|         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.5 | ||||
|         with: | ||||
|           docker-image: ${{ steps.build-docker-image.outputs.docker-image }} | ||||
|  | ||||
|       - uses: nick-fields/retry@v3.0.0 | ||||
|         name: Push to https://https://ghcr.io/ | ||||
|         id: push-to-ghcr-io | ||||
|         if: ${{ github.event_name == 'push' }} | ||||
|         if: ${{ 0 && github.event_name == 'push' }} | ||||
|         env: | ||||
|           ECR_DOCKER_IMAGE: ${{ steps.build-docker-image.outputs.docker-image }} | ||||
|           GHCR_PAT: ${{ secrets.GHCR_PAT }} | ||||
| @ -128,5 +128,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.5 | ||||
|         if: always() | ||||
|  | ||||
							
								
								
									
										8
									
								
								.github/workflows/docker-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/docker-release.yml
									
									
									
									
										vendored
									
									
								
							| @ -41,7 +41,7 @@ jobs: | ||||
|       matrix: ${{ steps.generate-matrix.outputs.matrix }} | ||||
|     steps: | ||||
|       - name: Checkout PyTorch | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|         uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: true | ||||
| @ -69,7 +69,7 @@ jobs: | ||||
|       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.5 | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
|       # [see note: pytorch repo ref] | ||||
| @ -147,12 +147,12 @@ jobs: | ||||
|           fi | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.5 | ||||
|         if: always() | ||||
|  | ||||
|   validate: | ||||
|     needs: build | ||||
|     uses: pytorch/builder/.github/workflows/validate-docker-images.yml@main | ||||
|     uses: pytorch/builder/.github/workflows/validate-docker-images.yml@release/2.5 | ||||
|     with: | ||||
|       channel: nightly | ||||
|       ref: main | ||||
|  | ||||
							
								
								
									
										60
									
								
								.github/workflows/generated-linux-aarch64-binary-manywheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										60
									
								
								.github/workflows/generated-linux-aarch64-binary-manywheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -57,7 +57,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runs_on: linux.arm64.m7g.4xlarge.ephemeral | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -80,7 +81,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -102,7 +104,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-aarch64 | ||||
|     secrets: | ||||
| @ -123,8 +126,9 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_TYPE: cuda-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-2.5 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runs_on: linux.arm64.m7g.4xlarge.ephemeral | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -147,8 +151,9 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_TYPE: cuda-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-2.5 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda-aarch64 | ||||
|     secrets: | ||||
| @ -169,7 +174,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runs_on: linux.arm64.m7g.4xlarge.ephemeral | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -192,7 +198,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -214,7 +221,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-aarch64 | ||||
|     secrets: | ||||
| @ -235,8 +243,9 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_TYPE: cuda-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-2.5 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runs_on: linux.arm64.m7g.4xlarge.ephemeral | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -259,8 +268,9 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_TYPE: cuda-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-2.5 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cuda-aarch64 | ||||
|     secrets: | ||||
| @ -281,7 +291,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runs_on: linux.arm64.m7g.4xlarge.ephemeral | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -304,7 +315,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -326,7 +338,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-aarch64 | ||||
|     secrets: | ||||
| @ -347,8 +360,9 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_TYPE: cuda-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-2.5 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runs_on: linux.arm64.m7g.4xlarge.ephemeral | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -371,8 +385,9 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_TYPE: cuda-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-2.5 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cuda-aarch64 | ||||
|     secrets: | ||||
| @ -393,7 +408,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runs_on: linux.arm64.m7g.4xlarge.ephemeral | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -416,7 +432,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-aarch64 | ||||
|       build_environment: linux-aarch64-binary-manywheel | ||||
| @ -438,7 +455,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-aarch64 | ||||
|     secrets: | ||||
| @ -459,8 +477,9 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_TYPE: cuda-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-2.5 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runs_on: linux.arm64.m7g.4xlarge.ephemeral | ||||
|       ALPINE_IMAGE: "arm64v8/alpine" | ||||
| @ -483,8 +502,9 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_TYPE: cuda-aarch64 | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxaarch64-builder:cuda12.4-2.5 | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cuda-aarch64 | ||||
|     secrets: | ||||
|  | ||||
							
								
								
									
										96
									
								
								.github/workflows/generated-linux-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										96
									
								
								.github/workflows/generated-linux-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -57,7 +57,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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: conda-py3_9-cpu | ||||
| @ -78,7 +78,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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -100,7 +100,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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cpu | ||||
|     secrets: | ||||
| @ -122,7 +122,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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -168,7 +168,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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda11_8 | ||||
|     secrets: | ||||
| @ -190,7 +190,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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -213,7 +213,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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -236,7 +236,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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda12_1 | ||||
|     secrets: | ||||
| @ -258,7 +258,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -281,7 +281,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda12_4 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -304,7 +304,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cuda12_4 | ||||
|     secrets: | ||||
| @ -325,7 +325,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: conda-py3_10-cpu | ||||
| @ -346,7 +346,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -368,7 +368,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cpu | ||||
|     secrets: | ||||
| @ -390,7 +390,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -413,7 +413,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -436,7 +436,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda11_8 | ||||
|     secrets: | ||||
| @ -458,7 +458,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -481,7 +481,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -504,7 +504,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda12_1 | ||||
|     secrets: | ||||
| @ -526,7 +526,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -549,7 +549,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda12_4 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -572,7 +572,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cuda12_4 | ||||
|     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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: conda-py3_11-cpu | ||||
| @ -614,7 +614,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -636,7 +636,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cpu | ||||
|     secrets: | ||||
| @ -658,7 +658,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -681,7 +681,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -704,7 +704,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda11_8 | ||||
|     secrets: | ||||
| @ -726,7 +726,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -749,7 +749,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -772,7 +772,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda12_1 | ||||
|     secrets: | ||||
| @ -794,7 +794,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -817,7 +817,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda12_4 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -840,7 +840,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cuda12_4 | ||||
|     secrets: | ||||
| @ -861,7 +861,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: conda-py3_12-cpu | ||||
| @ -882,7 +882,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cpu | ||||
|       build_environment: linux-binary-conda | ||||
| @ -904,7 +904,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cpu | ||||
|     secrets: | ||||
| @ -926,7 +926,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -949,7 +949,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda11_8 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -972,7 +972,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda11_8 | ||||
|     secrets: | ||||
| @ -994,7 +994,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -1017,7 +1017,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda12_1 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -1040,7 +1040,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda12_1 | ||||
|     secrets: | ||||
| @ -1062,7 +1062,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.24xlarge.ephemeral | ||||
| @ -1085,7 +1085,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda12_4 | ||||
|       build_environment: linux-binary-conda | ||||
| @ -1108,7 +1108,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/conda-builder:cuda12.4-2.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cuda12_4 | ||||
|     secrets: | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/generated-linux-binary-libtorch-cxx11-abi-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/generated-linux-binary-libtorch-cxx11-abi-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -52,7 +52,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -74,7 +74,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
|  | ||||
							
								
								
									
										50
									
								
								.github/workflows/generated-linux-binary-libtorch-cxx11-abi-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										50
									
								
								.github/workflows/generated-linux-binary-libtorch-cxx11-abi-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -57,7 +57,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -79,7 +79,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
| @ -102,7 +102,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
| @ -125,7 +125,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -148,7 +148,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-cxx11-abi | ||||
| @ -172,7 +172,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-cxx11-abi | ||||
| @ -195,7 +195,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -218,7 +218,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-cxx11-abi | ||||
| @ -242,7 +242,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-cxx11-abi | ||||
| @ -265,7 +265,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.4-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -288,7 +288,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.4-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda12_4-shared-with-deps-cxx11-abi | ||||
| @ -312,7 +312,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:cuda12.4-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cuda12_4-shared-with-deps-cxx11-abi | ||||
| @ -335,7 +335,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm6.1 | ||||
|       GPU_ARCH_VERSION: 6.1 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.1-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.1-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -360,7 +360,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 6.1 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.1-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.1-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|     steps: | ||||
| @ -374,7 +374,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 | ||||
| @ -386,7 +385,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -400,9 +399,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.5 | ||||
|         with: | ||||
|           docker-image: pytorch/libtorch-cxx11-builder:rocm6.1-main | ||||
|           docker-image: pytorch/libtorch-cxx11-builder:rocm6.1-2.5 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -422,7 +421,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm6.1 | ||||
|       GPU_ARCH_VERSION: 6.1 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.1-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.1-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-rocm6_1-shared-with-deps-cxx11-abi | ||||
| @ -445,7 +444,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm6.2 | ||||
|       GPU_ARCH_VERSION: 6.2 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.2-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.2-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -470,7 +469,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 6.2 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.2-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.2-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|     steps: | ||||
| @ -484,7 +483,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 | ||||
| @ -496,7 +494,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -510,9 +508,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.5 | ||||
|         with: | ||||
|           docker-image: pytorch/libtorch-cxx11-builder:rocm6.2-main | ||||
|           docker-image: pytorch/libtorch-cxx11-builder:rocm6.2-2.5 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -532,7 +530,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm6.2 | ||||
|       GPU_ARCH_VERSION: 6.2 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.2-main | ||||
|       DOCKER_IMAGE: pytorch/libtorch-cxx11-builder:rocm6.2-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-rocm6_2-shared-with-deps-cxx11-abi | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/generated-linux-binary-libtorch-pre-cxx11-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/generated-linux-binary-libtorch-pre-cxx11-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -52,7 +52,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -74,7 +74,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cpu-shared-with-deps-pre-cxx11 | ||||
|  | ||||
							
								
								
									
										50
									
								
								.github/workflows/generated-linux-binary-libtorch-pre-cxx11-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										50
									
								
								.github/workflows/generated-linux-binary-libtorch-pre-cxx11-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -57,7 +57,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -79,7 +79,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cpu-shared-with-deps-pre-cxx11 | ||||
| @ -102,7 +102,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cpu-shared-with-deps-pre-cxx11 | ||||
| @ -125,7 +125,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -148,7 +148,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-pre-cxx11 | ||||
| @ -172,7 +172,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-pre-cxx11 | ||||
| @ -195,7 +195,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -218,7 +218,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-pre-cxx11 | ||||
| @ -242,7 +242,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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-pre-cxx11 | ||||
| @ -265,7 +265,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -288,7 +288,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda12_4-shared-with-deps-pre-cxx11 | ||||
| @ -312,7 +312,7 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-cuda12_4-shared-with-deps-pre-cxx11 | ||||
| @ -335,7 +335,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm6.1 | ||||
|       GPU_ARCH_VERSION: 6.1 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.1-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -360,7 +360,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 6.1 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.1-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|     steps: | ||||
| @ -374,7 +374,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 | ||||
| @ -386,7 +385,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -400,9 +399,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.5 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm6.1-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm6.1-2.5 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -422,7 +421,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm6.1 | ||||
|       GPU_ARCH_VERSION: 6.1 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.1-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.1-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-rocm6_1-shared-with-deps-pre-cxx11 | ||||
| @ -445,7 +444,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm6.2 | ||||
|       GPU_ARCH_VERSION: 6.2 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.2-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.2-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
| @ -470,7 +469,7 @@ jobs: | ||||
|       GPU_ARCH_VERSION: 6.2 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       SKIP_ALL_TESTS: 1 | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.2-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.2-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|     steps: | ||||
| @ -484,7 +483,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 | ||||
| @ -496,7 +494,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -510,9 +508,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.5 | ||||
|         with: | ||||
|           docker-image: pytorch/manylinux-builder:rocm6.2-main | ||||
|           docker-image: pytorch/manylinux-builder:rocm6.2-2.5 | ||||
|       - name: Test Pytorch binary | ||||
|         uses: ./pytorch/.github/actions/test-pytorch-binary | ||||
|       - name: Teardown ROCm | ||||
| @ -532,7 +530,7 @@ jobs: | ||||
|       DESIRED_CUDA: rocm6.2 | ||||
|       GPU_ARCH_VERSION: 6.2 | ||||
|       GPU_ARCH_TYPE: rocm | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.2-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:rocm6.2-2.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: pre-cxx11 | ||||
|       build_name: libtorch-rocm6_2-shared-with-deps-pre-cxx11 | ||||
|  | ||||
							
								
								
									
										159
									
								
								.github/workflows/generated-linux-binary-manywheel-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										159
									
								
								.github/workflows/generated-linux-binary-manywheel-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -53,7 +53,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda11_8 | ||||
| @ -76,7 +77,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -85,53 +87,6 @@ jobs: | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   manywheel-py3_9-cuda11_8-split-build: | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     uses: ./.github/workflows/_binary-build-linux.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda11_8-split | ||||
|       build_environment: linux-binary-manywheel | ||||
|       PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu11==11.8.89; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu11==11.8.89; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu11==11.8.87; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu11==9.1.0.70; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu11==11.11.3.6; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu11==10.9.0.58; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu11==10.3.0.86; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu11==11.4.1.48; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu11==11.7.5.86; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu11==2.21.5; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu11==11.8.86; platform_system == 'Linux' and platform_machine == 'x86_64' | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|   manywheel-py3_9-cuda11_8-split-test:  # Testing | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     needs: | ||||
|       - manywheel-py3_9-cuda11_8-split-build | ||||
|       - get-label-type | ||||
|     uses: ./.github/workflows/_binary-test-linux.yml | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-main | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda11_8-split | ||||
|       build_environment: linux-binary-manywheel | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.4xlarge.nvidia.gpu | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   manywheel-py3_9-cuda12_1-build: | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     uses: ./.github/workflows/_binary-build-linux.yml | ||||
| @ -145,7 +100,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda12_1 | ||||
| @ -168,7 +124,8 @@ 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.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -177,53 +134,6 @@ jobs: | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   manywheel-py3_9-cuda12_1-split-build: | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     uses: ./.github/workflows/_binary-build-linux.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda12_1-split | ||||
|       build_environment: linux-binary-manywheel | ||||
|       PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu12==9.1.0.70; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu12==12.1.3.1; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu12==11.0.2.54; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu12==10.3.2.106; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu12==11.4.5.107; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu12==12.1.0.106; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu12==2.21.5; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|   manywheel-py3_9-cuda12_1-split-test:  # Testing | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     needs: | ||||
|       - manywheel-py3_9-cuda12_1-split-build | ||||
|       - get-label-type | ||||
|     uses: ./.github/workflows/_binary-test-linux.yml | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-main | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_1-split | ||||
|       build_environment: linux-binary-manywheel | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.4xlarge.nvidia.gpu | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   manywheel-py3_9-cuda12_4-build: | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     uses: ./.github/workflows/_binary-build-linux.yml | ||||
| @ -237,7 +147,8 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda12_4 | ||||
| @ -260,7 +171,8 @@ jobs: | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-main | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_4 | ||||
|       build_environment: linux-binary-manywheel | ||||
| @ -268,50 +180,3 @@ jobs: | ||||
|       runs_on: linux.4xlarge.nvidia.gpu | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   manywheel-py3_9-cuda12_4-split-build: | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     uses: ./.github/workflows/_binary-build-linux.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-main | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda12_4-split | ||||
|       build_environment: linux-binary-manywheel | ||||
|       PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu12==9.1.0.70; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu12==12.4.5.8; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu12==11.2.1.3; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu12==10.3.5.147; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu12==11.6.1.9; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu12==12.3.1.170; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu12==2.21.5; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvjitlink-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|   manywheel-py3_9-cuda12_4-split-test:  # Testing | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     needs: | ||||
|       - manywheel-py3_9-cuda12_4-split-build | ||||
|       - get-label-type | ||||
|     uses: ./.github/workflows/_binary-test-linux.yml | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-main | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_4-split | ||||
|       build_environment: linux-binary-manywheel | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.4xlarge.nvidia.gpu | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
							
								
								
									
										1504
									
								
								.github/workflows/generated-linux-binary-manywheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										1504
									
								
								.github/workflows/generated-linux-binary-manywheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										182
									
								
								.github/workflows/generated-linux-binary-manywheel-split-main
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										182
									
								
								.github/workflows/generated-linux-binary-manywheel-split-main
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,182 @@ | ||||
| # @generated DO NOT EDIT MANUALLY | ||||
|  | ||||
| # Template is at:    .github/templates/linux_binary_build_workflow.yml.j2 | ||||
| # Generation script: .github/scripts/generate_ci_workflows.py | ||||
| name: linux-binary-manywheel-split | ||||
|  | ||||
|  | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
|     tags: | ||||
|       - 'ciflow/periodic/*' | ||||
|   workflow_dispatch: | ||||
|  | ||||
| env: | ||||
|   # Needed for conda builds | ||||
|   ALPINE_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/tool/alpine" | ||||
|   ANACONDA_USER: pytorch | ||||
|   AWS_DEFAULT_REGION: us-east-1 | ||||
|   BINARY_ENV_FILE: /tmp/env | ||||
|   BUILD_ENVIRONMENT: linux-binary-manywheel-split | ||||
|   BUILDER_ROOT: /builder | ||||
|   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|   PR_NUMBER: ${{ github.event.pull_request.number }} | ||||
|   PYTORCH_FINAL_PACKAGE_DIR: /artifacts | ||||
|   PYTORCH_ROOT: /pytorch | ||||
|   SHA1: ${{ github.event.pull_request.head.sha || github.sha }} | ||||
|   SKIP_ALL_TESTS: 0 | ||||
| concurrency: | ||||
|   group: linux-binary-manywheel-split-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| jobs: | ||||
|   get-label-type: | ||||
|     name: get-label-type | ||||
|     uses: ./.github/workflows/_runner-determinator.yml | ||||
|     with: | ||||
|       triggering_actor: ${{ github.triggering_actor }} | ||||
|       issue_owner: ${{ github.event.pull_request.user.login || github.event.issue.user.login }} | ||||
|       curr_branch: ${{ github.head_ref || github.ref_name }} | ||||
|       curr_ref_type: ${{ github.ref_type }} | ||||
|   manywheel-py3_9-cuda11_8-build: | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     uses: ./.github/workflows/_binary-build-linux.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.5 | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel-split | ||||
|       PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu11==11.8.89; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu11==11.8.89; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu11==11.8.87; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu11==9.1.0.70; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu11==11.11.3.6; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu11==10.9.0.58; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu11==10.3.0.86; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu11==11.4.1.48; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu11==11.7.5.86; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu11==2.21.5; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu11==11.8.86; platform_system == 'Linux' and platform_machine == 'x86_64' | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|   manywheel-py3_9-cuda11_8-test:  # Testing | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     needs: | ||||
|       - manywheel-py3_9-cuda11_8-build | ||||
|       - get-label-type | ||||
|     uses: ./.github/workflows/_binary-test-linux.yml | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu118 | ||||
|       GPU_ARCH_VERSION: 11.8 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda11.8-2.5 | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda11_8 | ||||
|       build_environment: linux-binary-manywheel-split | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.4xlarge.nvidia.gpu | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   manywheel-py3_9-cuda12_1-build: | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     uses: ./.github/workflows/_binary-build-linux.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.5 | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel-split | ||||
|       PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu12==9.1.0.70; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu12==12.1.3.1; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu12==11.0.2.54; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu12==10.3.2.106; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu12==11.4.5.107; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu12==12.1.0.106; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu12==2.21.5; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|   manywheel-py3_9-cuda12_1-test:  # Testing | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     needs: | ||||
|       - manywheel-py3_9-cuda12_1-build | ||||
|       - get-label-type | ||||
|     uses: ./.github/workflows/_binary-test-linux.yml | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu121 | ||||
|       GPU_ARCH_VERSION: 12.1 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.1-2.5 | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_1 | ||||
|       build_environment: linux-binary-manywheel-split | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.4xlarge.nvidia.gpu | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
|   manywheel-py3_9-cuda12_4-build: | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     uses: ./.github/workflows/_binary-build-linux.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-2.5 | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build_name: manywheel-py3_9-cuda12_4 | ||||
|       build_environment: linux-binary-manywheel-split | ||||
|       PYTORCH_EXTRA_INSTALL_REQUIREMENTS: nvidia-cuda-nvrtc-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-runtime-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cuda-cupti-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cudnn-cu12==9.1.0.70; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cublas-cu12==12.4.5.8; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cufft-cu12==11.2.1.3; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-curand-cu12==10.3.5.147; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusolver-cu12==11.6.1.9; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-cusparse-cu12==12.3.1.170; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nccl-cu12==2.21.5; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvtx-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-nvjitlink-cu12==12.4.127; platform_system == 'Linux' and platform_machine == 'x86_64' | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|   manywheel-py3_9-cuda12_4-test:  # Testing | ||||
|     if: ${{ github.repository_owner == 'pytorch' }} | ||||
|     needs: | ||||
|       - manywheel-py3_9-cuda12_4-build | ||||
|       - get-label-type | ||||
|     uses: ./.github/workflows/_binary-test-linux.yml | ||||
|     with: | ||||
|       PYTORCH_ROOT: /pytorch | ||||
|       BUILDER_ROOT: /builder | ||||
|       PACKAGE_TYPE: manywheel | ||||
|       # TODO: This is a legacy variable that we eventually want to get rid of in | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cu124 | ||||
|       GPU_ARCH_VERSION: 12.4 | ||||
|       GPU_ARCH_TYPE: cuda | ||||
|       DOCKER_IMAGE: pytorch/manylinux-builder:cuda12.4-2.5 | ||||
|       use_split_build: True | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cuda12_4 | ||||
|       build_environment: linux-binary-manywheel-split | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       runs_on: linux.4xlarge.nvidia.gpu | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
							
								
								
									
										1516
									
								
								.github/workflows/generated-linux-binary-manywheel-split-nightly
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1516
									
								
								.github/workflows/generated-linux-binary-manywheel-split-nightly
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										45
									
								
								.github/workflows/generated-linux-s390x-binary-manywheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										45
									
								
								.github/workflows/generated-linux-s390x-binary-manywheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -57,7 +57,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       runs_on: linux.s390x | ||||
|       ALPINE_IMAGE: "docker.io/s390x/alpine" | ||||
| @ -80,7 +81,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-s390x | ||||
|       build_environment: linux-s390x-binary-manywheel | ||||
| @ -102,7 +104,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: manywheel-py3_9-cpu-s390x | ||||
|     secrets: | ||||
| @ -123,7 +126,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       runs_on: linux.s390x | ||||
|       ALPINE_IMAGE: "docker.io/s390x/alpine" | ||||
| @ -146,7 +150,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-s390x | ||||
|       build_environment: linux-s390x-binary-manywheel | ||||
| @ -168,7 +173,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: manywheel-py3_10-cpu-s390x | ||||
|     secrets: | ||||
| @ -189,7 +195,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       runs_on: linux.s390x | ||||
|       ALPINE_IMAGE: "docker.io/s390x/alpine" | ||||
| @ -212,7 +219,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-s390x | ||||
|       build_environment: linux-s390x-binary-manywheel | ||||
| @ -234,7 +242,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: manywheel-py3_11-cpu-s390x | ||||
|     secrets: | ||||
| @ -255,7 +264,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       runs_on: linux.s390x | ||||
|       ALPINE_IMAGE: "docker.io/s390x/alpine" | ||||
| @ -278,7 +288,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-s390x | ||||
|       build_environment: linux-s390x-binary-manywheel | ||||
| @ -300,7 +311,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: manywheel-py3_12-cpu-s390x | ||||
|     secrets: | ||||
| @ -321,7 +333,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.13" | ||||
|       runs_on: linux.s390x | ||||
|       ALPINE_IMAGE: "docker.io/s390x/alpine" | ||||
| @ -344,7 +357,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.13" | ||||
|       build_name: manywheel-py3_13-cpu-s390x | ||||
|       build_environment: linux-s390x-binary-manywheel | ||||
| @ -366,7 +380,8 @@ jobs: | ||||
|       #       favor of GPU_ARCH_VERSION | ||||
|       DESIRED_CUDA: cpu | ||||
|       GPU_ARCH_TYPE: cpu-s390x | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-main | ||||
|       DOCKER_IMAGE: pytorch/manylinuxs390x-builder:cpu-s390x-2.5 | ||||
|       use_split_build: False | ||||
|       DESIRED_PYTHON: "3.13" | ||||
|       build_name: manywheel-py3_13-cpu-s390x | ||||
|     secrets: | ||||
|  | ||||
							
								
								
									
										28
									
								
								.github/workflows/generated-macos-arm64-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/generated-macos-arm64-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -74,7 +74,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 | ||||
| @ -86,7 +85,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -117,7 +116,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_9-cpu | ||||
| @ -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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: conda-py3_9-cpu | ||||
|       use_s3: False | ||||
| @ -189,7 +188,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 | ||||
| @ -201,7 +199,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -232,7 +230,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_10-cpu | ||||
| @ -253,7 +251,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: conda-py3_10-cpu | ||||
|       use_s3: False | ||||
| @ -304,7 +302,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 | ||||
| @ -316,7 +313,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -347,7 +344,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_11-cpu | ||||
| @ -368,7 +365,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: conda-py3_11-cpu | ||||
|       use_s3: False | ||||
| @ -419,7 +416,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 | ||||
| @ -431,7 +427,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -462,7 +458,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_12-cpu | ||||
| @ -483,7 +479,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: conda-py3_12-cpu | ||||
|       use_s3: False | ||||
|  | ||||
							
								
								
									
										9
									
								
								.github/workflows/generated-macos-arm64-binary-libtorch-cxx11-abi-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								.github/workflows/generated-macos-arm64-binary-libtorch-cxx11-abi-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -49,7 +49,7 @@ jobs: | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       # NOTE: These environment variables are put here so that they can be applied on every job equally | ||||
|       #       They are also here because setting them at a workflow level doesn't give us access to the | ||||
| @ -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.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -121,7 +120,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
| @ -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.5 | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       DESIRED_DEVTOOLSET: cxx11-abi | ||||
|       build_name: libtorch-cpu-shared-with-deps-cxx11-abi | ||||
|  | ||||
							
								
								
									
										28
									
								
								.github/workflows/generated-macos-arm64-binary-wheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/generated-macos-arm64-binary-wheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -75,7 +75,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 | ||||
| @ -87,7 +86,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -118,7 +117,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: wheel-py3_9-cpu | ||||
| @ -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.5 | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: wheel-py3_9-cpu | ||||
|       use_s3: False | ||||
| @ -191,7 +190,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 | ||||
| @ -203,7 +201,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -234,7 +232,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: wheel-py3_10-cpu | ||||
| @ -255,7 +253,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.5 | ||||
|       DESIRED_PYTHON: "3.10" | ||||
|       build_name: wheel-py3_10-cpu | ||||
|       use_s3: False | ||||
| @ -307,7 +305,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 | ||||
| @ -319,7 +316,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -350,7 +347,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: wheel-py3_11-cpu | ||||
| @ -371,7 +368,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.5 | ||||
|       DESIRED_PYTHON: "3.11" | ||||
|       build_name: wheel-py3_11-cpu | ||||
|       use_s3: False | ||||
| @ -423,7 +420,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 | ||||
| @ -435,7 +431,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -466,7 +462,7 @@ jobs: | ||||
|           # shellcheck disable=SC1091 | ||||
|           source "${RUNNER_TEMP}/anaconda/bin/activate" | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_macos_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: wheel-py3_12-cpu | ||||
| @ -487,7 +483,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.5 | ||||
|       DESIRED_PYTHON: "3.12" | ||||
|       build_name: wheel-py3_12-cpu | ||||
|       use_s3: False | ||||
|  | ||||
							
								
								
									
										192
									
								
								.github/workflows/generated-windows-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										192
									
								
								.github/workflows/generated-windows-binary-conda-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -71,7 +71,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -102,7 +102,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 | ||||
| @ -114,7 +113,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -132,7 +131,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_9-cpu | ||||
| @ -185,7 +184,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -221,7 +220,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 | ||||
| @ -233,7 +231,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -317,7 +315,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -348,7 +346,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 | ||||
| @ -360,7 +357,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -378,7 +375,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_9-cuda11_8 | ||||
| @ -432,7 +429,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -468,7 +465,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 | ||||
| @ -480,7 +476,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -565,7 +561,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -596,7 +592,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 | ||||
| @ -608,7 +603,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -626,7 +621,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_9-cuda12_1 | ||||
| @ -680,7 +675,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -716,7 +711,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 | ||||
| @ -728,7 +722,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -813,7 +807,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -844,7 +838,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 | ||||
| @ -856,7 +849,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -874,7 +867,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_9-cuda12_4 | ||||
| @ -928,7 +921,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -964,7 +957,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 | ||||
| @ -976,7 +968,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1060,7 +1052,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1091,7 +1083,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 | ||||
| @ -1103,7 +1094,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1121,7 +1112,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_10-cpu | ||||
| @ -1174,7 +1165,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1210,7 +1201,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 | ||||
| @ -1222,7 +1212,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1306,7 +1296,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1337,7 +1327,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 | ||||
| @ -1349,7 +1338,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1367,7 +1356,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_10-cuda11_8 | ||||
| @ -1421,7 +1410,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1457,7 +1446,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 | ||||
| @ -1469,7 +1457,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1554,7 +1542,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1585,7 +1573,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 | ||||
| @ -1597,7 +1584,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1615,7 +1602,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_10-cuda12_1 | ||||
| @ -1669,7 +1656,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1705,7 +1692,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 | ||||
| @ -1717,7 +1703,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1802,7 +1788,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1833,7 +1819,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 | ||||
| @ -1845,7 +1830,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1863,7 +1848,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_10-cuda12_4 | ||||
| @ -1917,7 +1902,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1953,7 +1938,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 | ||||
| @ -1965,7 +1949,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2049,7 +2033,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2080,7 +2064,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 | ||||
| @ -2092,7 +2075,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2110,7 +2093,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_11-cpu | ||||
| @ -2163,7 +2146,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2199,7 +2182,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 | ||||
| @ -2211,7 +2193,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2295,7 +2277,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2326,7 +2308,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 | ||||
| @ -2338,7 +2319,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2356,7 +2337,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_11-cuda11_8 | ||||
| @ -2410,7 +2391,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2446,7 +2427,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 | ||||
| @ -2458,7 +2438,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2543,7 +2523,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2574,7 +2554,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 | ||||
| @ -2586,7 +2565,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2604,7 +2583,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_11-cuda12_1 | ||||
| @ -2658,7 +2637,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2694,7 +2673,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 | ||||
| @ -2706,7 +2684,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2791,7 +2769,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2822,7 +2800,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 | ||||
| @ -2834,7 +2811,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -2852,7 +2829,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_11-cuda12_4 | ||||
| @ -2906,7 +2883,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -2942,7 +2919,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 | ||||
| @ -2954,7 +2930,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3038,7 +3014,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3069,7 +3045,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 | ||||
| @ -3081,7 +3056,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3099,7 +3074,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_12-cpu | ||||
| @ -3152,7 +3127,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3188,7 +3163,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 | ||||
| @ -3200,7 +3174,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3284,7 +3258,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3315,7 +3289,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 | ||||
| @ -3327,7 +3300,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3345,7 +3318,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_12-cuda11_8 | ||||
| @ -3399,7 +3372,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3435,7 +3408,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 | ||||
| @ -3447,7 +3419,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3532,7 +3504,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3563,7 +3535,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 | ||||
| @ -3575,7 +3546,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3593,7 +3564,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_12-cuda12_1 | ||||
| @ -3647,7 +3618,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3683,7 +3654,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 | ||||
| @ -3695,7 +3665,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3780,7 +3750,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3811,7 +3781,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 | ||||
| @ -3823,7 +3792,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -3841,7 +3810,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: conda-py3_12-cuda12_4 | ||||
| @ -3895,7 +3864,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -3931,7 +3900,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 | ||||
| @ -3943,7 +3911,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										16
									
								
								.github/workflows/generated-windows-binary-libtorch-debug-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/generated-windows-binary-libtorch-debug-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -51,7 +51,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -68,7 +68,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -99,7 +99,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 | ||||
| @ -111,7 +110,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -129,7 +128,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cpu-shared-with-deps-debug | ||||
| @ -169,7 +168,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -186,7 +185,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -222,7 +221,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 | ||||
| @ -234,7 +232,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										72
									
								
								.github/workflows/generated-windows-binary-libtorch-debug-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										72
									
								
								.github/workflows/generated-windows-binary-libtorch-debug-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -58,7 +58,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -75,7 +75,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -106,7 +106,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 | ||||
| @ -118,7 +117,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -136,7 +135,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cpu-shared-with-deps-debug | ||||
| @ -176,7 +175,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -193,7 +192,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -229,7 +228,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 | ||||
| @ -241,7 +239,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -290,7 +288,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: libtorch-cpu-shared-with-deps-debug | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -316,7 +314,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -333,7 +331,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -364,7 +362,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 | ||||
| @ -376,7 +373,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -394,7 +391,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cuda11_8-shared-with-deps-debug | ||||
| @ -435,7 +432,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -452,7 +449,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -488,7 +485,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 | ||||
| @ -500,7 +496,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -550,7 +546,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-debug | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -576,7 +572,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -593,7 +589,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -624,7 +620,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 | ||||
| @ -636,7 +631,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -654,7 +649,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cuda12_1-shared-with-deps-debug | ||||
| @ -695,7 +690,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -712,7 +707,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -748,7 +743,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 | ||||
| @ -760,7 +754,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -810,7 +804,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-debug | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -836,7 +830,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -853,7 +847,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -884,7 +878,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 | ||||
| @ -896,7 +889,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -914,7 +907,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cuda12_4-shared-with-deps-debug | ||||
| @ -955,7 +948,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -972,7 +965,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1008,7 +1001,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 | ||||
| @ -1020,7 +1012,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1070,7 +1062,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: libtorch-cuda12_4-shared-with-deps-debug | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
							
								
								
									
										16
									
								
								.github/workflows/generated-windows-binary-libtorch-release-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/generated-windows-binary-libtorch-release-main.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -51,7 +51,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -68,7 +68,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -99,7 +99,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 | ||||
| @ -111,7 +110,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -129,7 +128,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cpu-shared-with-deps-release | ||||
| @ -169,7 +168,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -186,7 +185,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -222,7 +221,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 | ||||
| @ -234,7 +232,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
|  | ||||
							
								
								
									
										72
									
								
								.github/workflows/generated-windows-binary-libtorch-release-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										72
									
								
								.github/workflows/generated-windows-binary-libtorch-release-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -58,7 +58,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -75,7 +75,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -106,7 +106,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 | ||||
| @ -118,7 +117,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -136,7 +135,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cpu-shared-with-deps-release | ||||
| @ -176,7 +175,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -193,7 +192,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -229,7 +228,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 | ||||
| @ -241,7 +239,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -290,7 +288,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: libtorch-cpu-shared-with-deps-release | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -316,7 +314,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -333,7 +331,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -364,7 +362,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 | ||||
| @ -376,7 +373,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -394,7 +391,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cuda11_8-shared-with-deps-release | ||||
| @ -435,7 +432,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -452,7 +449,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -488,7 +485,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 | ||||
| @ -500,7 +496,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -550,7 +546,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: libtorch-cuda11_8-shared-with-deps-release | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -576,7 +572,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -593,7 +589,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -624,7 +620,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 | ||||
| @ -636,7 +631,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -654,7 +649,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cuda12_1-shared-with-deps-release | ||||
| @ -695,7 +690,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -712,7 +707,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -748,7 +743,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 | ||||
| @ -760,7 +754,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -810,7 +804,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: libtorch-cuda12_1-shared-with-deps-release | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -836,7 +830,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -853,7 +847,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -884,7 +878,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 | ||||
| @ -896,7 +889,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -914,7 +907,7 @@ jobs: | ||||
|         shell: bash | ||||
|         run: | | ||||
|           "${PYTORCH_ROOT}/.circleci/scripts/binary_windows_build.sh" | ||||
|       - uses: actions/upload-artifact@v3 | ||||
|       - uses: actions/upload-artifact@v4.4.0 | ||||
|         if: always() | ||||
|         with: | ||||
|           name: libtorch-cuda12_4-shared-with-deps-release | ||||
| @ -955,7 +948,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|     steps: | ||||
|       - name: Display EC2 information | ||||
|         shell: bash | ||||
| @ -972,7 +965,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.5 | ||||
|         continue-on-error: true | ||||
|         with: | ||||
|           github-secret: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -1008,7 +1001,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 | ||||
| @ -1020,7 +1012,7 @@ jobs: | ||||
|       - name: Checkout pytorch/builder | ||||
|         uses: malfet/checkout@silent-checkout | ||||
|         with: | ||||
|           ref: main | ||||
|           ref: release/2.5 | ||||
|           submodules: recursive | ||||
|           repository: pytorch/builder | ||||
|           path: builder | ||||
| @ -1070,7 +1062,7 @@ jobs: | ||||
|       LIBTORCH_VARIANT: shared-with-deps | ||||
|       # This is a dummy value for libtorch to work correctly with our batch scripts | ||||
|       # without this value pip does not get installed for some reason | ||||
|       DESIRED_PYTHON: "3.8" | ||||
|       DESIRED_PYTHON: "3.9" | ||||
|       build_name: libtorch-cuda12_4-shared-with-deps-release | ||||
|     secrets: | ||||
|       github-token: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
							
								
								
									
										240
									
								
								.github/workflows/generated-windows-binary-wheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										240
									
								
								.github/workflows/generated-windows-binary-wheel-nightly.yml
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										40
									
								
								.github/workflows/inductor-micro-benchmark-x86.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								.github/workflows/inductor-micro-benchmark-x86.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,40 @@ | ||||
| name: inductor-micro-benchmark-x86 | ||||
|  | ||||
| on: | ||||
|   schedule: | ||||
|     - cron: 0 7 * * * | ||||
|   push: | ||||
|     tags: | ||||
|       - ciflow/inductor-micro-benchmark-cpu-x86/* | ||||
|   workflow_dispatch: | ||||
|  | ||||
|  | ||||
| concurrency: | ||||
|   group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| permissions: read-all | ||||
|  | ||||
| jobs: | ||||
|   linux-jammy-cpu-py3_9-gcc11-inductor-build: | ||||
|     name: linux-jammy-cpu-py3.9-gcc11-inductor | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     with: | ||||
|       build-environment: linux-jammy-py3.9-gcc11 | ||||
|       docker-image-name: pytorch-linux-jammy-py3.9-gcc11-inductor-benchmarks | ||||
|       # Use metal host for benchmark jobs | ||||
|       test-matrix: | | ||||
|         { include: [ | ||||
|           { config: "inductor-micro-benchmark-cpu-x86", shard: 1, num_shards: 1, runner: "linux.24xl.spr-metal" }, | ||||
|         ]} | ||||
|  | ||||
|   linux-jammy-cpu-py3_9-gcc11-inductor-micro-benchmark-test: | ||||
|     name: linux-jammy-cpu-py3.9-gcc11-inductor | ||||
|     uses: ./.github/workflows/_linux-test.yml | ||||
|     needs: linux-jammy-cpu-py3_9-gcc11-inductor-build | ||||
|     with: | ||||
|       build-environment: linux-jammy-py3.9-gcc11 | ||||
|       docker-image: ${{ needs.linux-jammy-cpu-py3_9-gcc11-inductor-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-jammy-cpu-py3_9-gcc11-inductor-build.outputs.test-matrix }} | ||||
|       use-gha: anything-non-empty-to-use-gha | ||||
|       timeout-minutes: 720 | ||||
							
								
								
									
										18
									
								
								.github/workflows/inductor-rocm.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.github/workflows/inductor-rocm.yml
									
									
									
									
										vendored
									
									
								
							| @ -22,11 +22,11 @@ concurrency: | ||||
| permissions: read-all | ||||
|  | ||||
| jobs: | ||||
|   linux-focal-rocm6_1-py3_8-inductor-build: | ||||
|     name: rocm6.1-py3.8-inductor | ||||
|   linux-focal-rocm6_2-py3_10-inductor-build: | ||||
|     name: rocm6.2-py3.10-inductor | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     with: | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image-name: pytorch-linux-focal-rocm-n-py3 | ||||
|       test-matrix: | | ||||
|         { include: [ | ||||
| @ -34,14 +34,14 @@ jobs: | ||||
|           { config: "inductor", shard: 2, num_shards: 2, runner: "linux.rocm.gpu.2" }, | ||||
|         ]} | ||||
|  | ||||
|   linux-focal-rocm6_1-py3_8-inductor-test: | ||||
|   linux-focal-rocm6_2-py3_10-inductor-test: | ||||
|     permissions: | ||||
|       id-token: write | ||||
|       contents: read | ||||
|     name: rocm6.1-py3.8-inductor | ||||
|     name: rocm6.2-py3.10-inductor | ||||
|     uses: ./.github/workflows/_rocm-test.yml | ||||
|     needs: linux-focal-rocm6_1-py3_8-inductor-build | ||||
|     needs: linux-focal-rocm6_2-py3_10-inductor-build | ||||
|     with: | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       docker-image: ${{ needs.linux-focal-rocm6_1-py3_8-inductor-build.outputs.docker-image }} | ||||
|       test-matrix:  ${{ needs.linux-focal-rocm6_1-py3_8-inductor-build.outputs.test-matrix }} | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image: ${{ needs.linux-focal-rocm6_2-py3_10-inductor-build.outputs.docker-image }} | ||||
|       test-matrix:  ${{ needs.linux-focal-rocm6_2-py3_10-inductor-build.outputs.test-matrix }} | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/lint-bc.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/lint-bc.yml
									
									
									
									
										vendored
									
									
								
							| @ -15,7 +15,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.5 | ||||
|         with: | ||||
|           repo: ${{ github.event.pull_request.head.repo.full_name }} | ||||
|           base_sha: ${{ github.event.pull_request.base.sha }} | ||||
|  | ||||
							
								
								
									
										25
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							| @ -24,7 +24,7 @@ jobs: | ||||
|       curr_branch: ${{ github.head_ref || github.ref_name }} | ||||
|  | ||||
|   lintrunner-clang: | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       timeout: 120 | ||||
| @ -41,7 +41,7 @@ jobs: | ||||
|         .github/scripts/lintrunner.sh | ||||
|  | ||||
|   lintrunner-noclang: | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       timeout: 120 | ||||
| @ -57,7 +57,7 @@ jobs: | ||||
|         .github/scripts/lintrunner.sh | ||||
|  | ||||
|   quick-checks: | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@main | ||||
|     uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.5 | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" | ||||
| @ -100,7 +100,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.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: -1 | ||||
| @ -113,7 +113,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.5 | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" | ||||
| @ -127,6 +127,7 @@ jobs: | ||||
|         conda activate "${CONDA_ENV}" | ||||
|  | ||||
|         # Regenerate workflows | ||||
|         export RELEASE_VERSION_TAG="2.5" | ||||
|         .github/scripts/generate_ci_workflows.py | ||||
|  | ||||
|         RC=0 | ||||
| @ -150,7 +151,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.5 | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" | ||||
| @ -189,7 +190,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.5 | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       runner: "${{ needs.get-label-type.outputs.label-type }}linux.2xlarge" | ||||
| @ -211,19 +212,19 @@ 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.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: 1 | ||||
|       - name: Setup Python 3.8 | ||||
|       - name: Setup Python 3.9 | ||||
|         uses: actions/setup-python@v4 | ||||
|         with: | ||||
|           python-version: '3.8' | ||||
|           python-version: '3.9' | ||||
|           architecture: x64 | ||||
|           cache: pip | ||||
|       - name: Install dependencies | ||||
|         run: | | ||||
|           pip install pytest-rerunfailures==11.1.* pytest-flakefinder==1.1.* pytest-xdist==3.3.* expecttest==0.1.* numpy==1.24.* | ||||
|           pip install pytest-rerunfailures==11.1.* pytest-flakefinder==1.1.* pytest-xdist==3.3.* expecttest==0.2.* fbscribelogger==0.1.* numpy==1.24.* | ||||
|           pip install torch --pre --index-url https://download.pytorch.org/whl/nightly/cpu/ | ||||
|       - name: Run run_test.py (nonretryable) | ||||
|         run: | | ||||
| @ -241,7 +242,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.5 | ||||
|         with: | ||||
|           submodules: false | ||||
|           fetch-depth: 1 | ||||
|  | ||||
							
								
								
									
										4
									
								
								.github/workflows/llm_td_retrieval.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/llm_td_retrieval.yml
									
									
									
									
										vendored
									
									
								
							| @ -48,7 +48,7 @@ jobs: | ||||
|           path: llm-target-determinator | ||||
|  | ||||
|       - name: Setup miniconda | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@main | ||||
|         uses: pytorch/test-infra/.github/actions/setup-miniconda@release/2.5 | ||||
|         with: | ||||
|           python-version: "3.9" | ||||
|  | ||||
| @ -117,5 +117,5 @@ jobs: | ||||
|           AWS_REGION: "" | ||||
|  | ||||
|       - name: Teardown Linux | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@main | ||||
|         uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.5 | ||||
|         if: always() | ||||
|  | ||||
| @ -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.5 | ||||
|         with: | ||||
|           fetch-depth: 1 | ||||
|           submodules: false | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/nightly.yml
									
									
									
									
										vendored
									
									
								
							| @ -56,7 +56,7 @@ jobs: | ||||
|     if: ${{ github.event_name == 'schedule' }} | ||||
|     steps: | ||||
|       - name: update-vision-commit-hash | ||||
|         uses: pytorch/test-infra/.github/actions/update-commit-hash@main | ||||
|         uses: pytorch/test-infra/.github/actions/update-commit-hash@release/2.5 | ||||
|         with: | ||||
|           repo-name: vision | ||||
|           branch: main | ||||
| @ -71,7 +71,7 @@ jobs: | ||||
|     if: ${{ github.event_name == 'schedule' }} | ||||
|     steps: | ||||
|       - name: update-audio-commit-hash | ||||
|         uses: pytorch/test-infra/.github/actions/update-commit-hash@main | ||||
|         uses: pytorch/test-infra/.github/actions/update-commit-hash@release/2.5 | ||||
|         with: | ||||
|           repo-name: audio | ||||
|           branch: main | ||||
| @ -86,7 +86,7 @@ jobs: | ||||
|     if: ${{ github.event_name == 'schedule' }} | ||||
|     steps: | ||||
|       - name: update-executorch-commit-hash | ||||
|         uses: pytorch/test-infra/.github/actions/update-commit-hash@main | ||||
|         uses: pytorch/test-infra/.github/actions/update-commit-hash@release/2.5 | ||||
|         with: | ||||
|           repo-name: executorch | ||||
|           branch: main | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/nitpicker.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/nitpicker.yml
									
									
									
									
										vendored
									
									
								
							| @ -19,7 +19,7 @@ jobs: | ||||
|     if: ${{ github.event.pull_request.number != 26921 && github.repository_owner == 'pytorch' }} | ||||
|     steps: | ||||
|     - name: Checkout PyTorch | ||||
|       uses: pytorch/pytorch/.github/actions/checkout-pytorch@main | ||||
|       uses: pytorch/pytorch/.github/actions/checkout-pytorch@release/2.5 | ||||
|     - uses: ethanis/nitpicker@v1 | ||||
|       with: | ||||
|         nitpicks: '.github/nitpicks.yml' | ||||
|  | ||||
							
								
								
									
										22
									
								
								.github/workflows/periodic.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										22
									
								
								.github/workflows/periodic.yml
									
									
									
									
										vendored
									
									
								
							| @ -214,7 +214,9 @@ jobs: | ||||
|   # TODO: Figure out how to migrate this job to M1 runner | ||||
|   ios-build-test: | ||||
|     name: ios-build-test | ||||
|     if: github.event_name != 'schedule' || github.event.schedule == '45 0,8,16 * * 1-5' || github.event.schedule == '45 4 * * 0,6' || github.event.schedule == '29 8 * * *' | ||||
|     # Has been broken for a while, see https://github.com/pytorch/pytorch/issues/136284 | ||||
|     # if: github.event_name != 'schedule' || github.event.schedule == '45 0,8,16 * * 1-5' || github.event.schedule == '45 4 * * 0,6' || github.event.schedule == '29 8 * * *' | ||||
|     if: false | ||||
|     uses: ./.github/workflows/_ios-build-test.yml | ||||
|     with: | ||||
|       trigger-event: ${{ github.event_name }} | ||||
| @ -293,13 +295,13 @@ jobs: | ||||
|       docker-image: ${{ needs.linux-vulkan-focal-py3_11-clang10-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-vulkan-focal-py3_11-clang10-build.outputs.test-matrix }} | ||||
|  | ||||
|   linux-focal-rocm6_1-py3_8-build: | ||||
|     name: linux-focal-rocm6.1-py3.8 | ||||
|   linux-focal-rocm6_2-py3_10-build: | ||||
|     name: linux-focal-rocm6.2-py3.10 | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image-name: pytorch-linux-focal-rocm-n-py3 | ||||
|       test-matrix: | | ||||
|         { include: [ | ||||
| @ -308,19 +310,19 @@ jobs: | ||||
|           { config: "distributed", shard: 3, num_shards: 3, runner: "linux.rocm.gpu" }, | ||||
|         ]} | ||||
|  | ||||
|   linux-focal-rocm6_1-py3_8-test: | ||||
|   linux-focal-rocm6_2-py3_10-test: | ||||
|     permissions: | ||||
|       id-token: write | ||||
|       contents: read | ||||
|     name: linux-focal-rocm6.1-py3.8 | ||||
|     name: linux-focal-rocm6.2-py3.10 | ||||
|     uses: ./.github/workflows/_rocm-test.yml | ||||
|     needs: | ||||
|       - linux-focal-rocm6_1-py3_8-build | ||||
|       - linux-focal-rocm6_2-py3_10-build | ||||
|       - target-determination | ||||
|     with: | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       docker-image: ${{ needs.linux-focal-rocm6_1-py3_8-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-focal-rocm6_1-py3_8-build.outputs.test-matrix }} | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image: ${{ needs.linux-focal-rocm6_2-py3_10-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-focal-rocm6_2-py3_10-build.outputs.test-matrix }} | ||||
|  | ||||
|   linux-focal-cuda12_1-py3_10-gcc9-experimental-split-build: | ||||
|     name: linux-focal-cuda12.1-py3.10-gcc9-experimental-split-build | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/pull.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/pull.yml
									
									
									
									
										vendored
									
									
								
							| @ -503,15 +503,15 @@ jobs: | ||||
|         ]} | ||||
|     secrets: inherit | ||||
|  | ||||
|   linux-focal-rocm6_1-py3_8-build: | ||||
|   linux-focal-rocm6_2-py3_10-build: | ||||
|     # don't run build twice on main | ||||
|     if: github.event_name == 'pull_request' | ||||
|     name: linux-focal-rocm6.1-py3.8 | ||||
|     name: linux-focal-rocm6.2-py3.10 | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image-name: pytorch-linux-focal-rocm-n-py3 | ||||
|       sync-tag: rocm-build | ||||
|       test-matrix: | | ||||
|  | ||||
							
								
								
									
										18
									
								
								.github/workflows/rocm.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.github/workflows/rocm.yml
									
									
									
									
										vendored
									
									
								
							| @ -31,11 +31,11 @@ jobs: | ||||
|       id-token: write | ||||
|       contents: read | ||||
|  | ||||
|   linux-focal-rocm6_1-py3_8-build: | ||||
|     name: linux-focal-rocm6.1-py3.8 | ||||
|   linux-focal-rocm6_2-py3_10-build: | ||||
|     name: linux-focal-rocm6.2-py3.10 | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     with: | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image-name: pytorch-linux-focal-rocm-n-py3 | ||||
|       sync-tag: rocm-build | ||||
|       test-matrix: | | ||||
| @ -48,16 +48,16 @@ jobs: | ||||
|           { config: "default", shard: 6, num_shards: 6, runner: "linux.rocm.gpu.2" }, | ||||
|         ]} | ||||
|  | ||||
|   linux-focal-rocm6_1-py3_8-test: | ||||
|   linux-focal-rocm6_2-py3_10-test: | ||||
|     permissions: | ||||
|       id-token: write | ||||
|       contents: read | ||||
|     name: linux-focal-rocm6.1-py3.8 | ||||
|     name: linux-focal-rocm6.2-py3.10 | ||||
|     uses: ./.github/workflows/_rocm-test.yml | ||||
|     needs: | ||||
|       - linux-focal-rocm6_1-py3_8-build | ||||
|       - linux-focal-rocm6_2-py3_10-build | ||||
|       - target-determination | ||||
|     with: | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       docker-image: ${{ needs.linux-focal-rocm6_1-py3_8-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-focal-rocm6_1-py3_8-build.outputs.test-matrix }} | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image: ${{ needs.linux-focal-rocm6_2-py3_10-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-focal-rocm6_2-py3_10-build.outputs.test-matrix }} | ||||
|  | ||||
							
								
								
									
										50
									
								
								.github/workflows/slow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										50
									
								
								.github/workflows/slow.yml
									
									
									
									
										vendored
									
									
								
							| @ -22,6 +22,7 @@ permissions: read-all | ||||
|  | ||||
| jobs: | ||||
|   llm-td: | ||||
|     if: false | ||||
|     name: before-test | ||||
|     uses: ./.github/workflows/llm_td_retrieval.yml | ||||
|     permissions: | ||||
| @ -29,6 +30,7 @@ jobs: | ||||
|       contents: read | ||||
|  | ||||
|   target-determination: | ||||
|     if: false | ||||
|     name: before-test | ||||
|     uses: ./.github/workflows/target_determination.yml | ||||
|     needs: llm-td | ||||
| @ -37,6 +39,7 @@ jobs: | ||||
|       contents: read | ||||
|  | ||||
|   get-label-type: | ||||
|     if: false | ||||
|     name: get-label-type | ||||
|     uses: ./.github/workflows/_runner-determinator.yml | ||||
|     with: | ||||
| @ -46,6 +49,7 @@ jobs: | ||||
|       curr_ref_type: ${{ github.ref_type }} | ||||
|  | ||||
|   linux-focal-cuda12_1-py3-gcc9-slow-gradcheck-build: | ||||
|     if: false | ||||
|     name: linux-focal-cuda12.1-py3-gcc9-slow-gradcheck | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     needs: get-label-type | ||||
| @ -56,15 +60,18 @@ jobs: | ||||
|       cuda-arch-list: 8.6 | ||||
|       test-matrix: | | ||||
|         { include: [ | ||||
|           { config: "default", shard: 1, num_shards: 6, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 2, num_shards: 6, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 3, num_shards: 6, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 4, num_shards: 6, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 5, num_shards: 6, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 6, num_shards: 6, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 1, num_shards: 8, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 2, num_shards: 8, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 3, num_shards: 8, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 4, num_shards: 8, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 5, num_shards: 8, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 6, num_shards: 8, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 7, num_shards: 8, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "default", shard: 8, num_shards: 8, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|         ]} | ||||
|  | ||||
|   linux-focal-cuda12_1-py3-gcc9-slow-gradcheck-test: | ||||
|     if: false | ||||
|     name: linux-focal-cuda12.1-py3-gcc9-slow-gradcheck | ||||
|     uses: ./.github/workflows/_linux-test.yml | ||||
|     needs: | ||||
| @ -77,6 +84,7 @@ jobs: | ||||
|       timeout-minutes: 300 | ||||
|  | ||||
|   linux-focal-cuda12_1-py3_10-gcc9-sm86-build: | ||||
|     if: false | ||||
|     name: linux-focal-cuda12.1-py3.10-gcc9-sm86 | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     needs: get-label-type | ||||
| @ -87,11 +95,13 @@ jobs: | ||||
|       cuda-arch-list: 8.6 | ||||
|       test-matrix: | | ||||
|         { include: [ | ||||
|           { config: "slow", shard: 1, num_shards: 2, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "slow", shard: 2, num_shards: 2, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "slow", shard: 1, num_shards: 3, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "slow", shard: 2, num_shards: 3, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|           { config: "slow", shard: 3, num_shards: 3, runner: "${{ needs.get-label-type.outputs.label-type }}linux.g5.4xlarge.nvidia.gpu" }, | ||||
|         ]} | ||||
|  | ||||
|   linux-focal-cuda12_1-py3_10-gcc9-sm86-test: | ||||
|     if: false | ||||
|     name: linux-focal-cuda12.1-py3.10-gcc9-sm86 | ||||
|     uses: ./.github/workflows/_linux-test.yml | ||||
|     needs: | ||||
| @ -103,6 +113,7 @@ jobs: | ||||
|       test-matrix: ${{ needs.linux-focal-cuda12_1-py3_10-gcc9-sm86-build.outputs.test-matrix }} | ||||
|  | ||||
|   linux-focal-py3_9-clang10-build: | ||||
|     if: false | ||||
|     name: linux-focal-py3.9-clang10 | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     needs: get-label-type | ||||
| @ -117,6 +128,7 @@ jobs: | ||||
|         ]} | ||||
|  | ||||
|   linux-focal-py3_9-clang10-test: | ||||
|     if: false | ||||
|     name: linux-focal-py3.9-clang10 | ||||
|     uses: ./.github/workflows/_linux-test.yml | ||||
|     needs: | ||||
| @ -127,13 +139,14 @@ jobs: | ||||
|       docker-image: ${{ needs.linux-focal-py3_9-clang10-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-focal-py3_9-clang10-build.outputs.test-matrix }} | ||||
|  | ||||
|   linux-focal-rocm6_1-py3_8-build: | ||||
|     name: linux-focal-rocm6.1-py3.8 | ||||
|   linux-focal-rocm6_2-py3_10-build: | ||||
|     if: false | ||||
|     name: linux-focal-rocm6.2-py3.10 | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     needs: get-label-type | ||||
|     with: | ||||
|       runner_prefix: "${{ needs.get-label-type.outputs.label-type }}" | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image-name: pytorch-linux-focal-rocm-n-py3 | ||||
|       test-matrix: | | ||||
|         { include: [ | ||||
| @ -141,21 +154,23 @@ jobs: | ||||
|           { config: "slow", shard: 2, num_shards: 2, runner: "linux.rocm.gpu" }, | ||||
|         ]} | ||||
|  | ||||
|   linux-focal-rocm6_1-py3_8-test: | ||||
|   linux-focal-rocm6_2-py3_10-test: | ||||
|     if: false | ||||
|     permissions: | ||||
|       id-token: write | ||||
|       contents: read | ||||
|     name: linux-focal-rocm6.1-py3.8 | ||||
|     name: linux-focal-rocm6.2-py3.10 | ||||
|     uses: ./.github/workflows/_rocm-test.yml | ||||
|     needs: | ||||
|       - linux-focal-rocm6_1-py3_8-build | ||||
|       - linux-focal-rocm6_2-py3_10-build | ||||
|       - target-determination | ||||
|     with: | ||||
|       build-environment: linux-focal-rocm6.1-py3.8 | ||||
|       docker-image: ${{ needs.linux-focal-rocm6_1-py3_8-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-focal-rocm6_1-py3_8-build.outputs.test-matrix }} | ||||
|       build-environment: linux-focal-rocm6.2-py3.10 | ||||
|       docker-image: ${{ needs.linux-focal-rocm6_2-py3_10-build.outputs.docker-image }} | ||||
|       test-matrix: ${{ needs.linux-focal-rocm6_2-py3_10-build.outputs.test-matrix }} | ||||
|  | ||||
|   linux-jammy-py3_10-clang15-asan-build: | ||||
|     if: false | ||||
|     name: linux-jammy-py3.10-clang15-asan | ||||
|     uses: ./.github/workflows/_linux-build.yml | ||||
|     needs: get-label-type | ||||
| @ -173,6 +188,7 @@ jobs: | ||||
|     secrets: inherit | ||||
|  | ||||
|   linux-jammy-py3_10-clang15-asan-test: | ||||
|     if: false | ||||
|     name: linux-jammy-py3.10-clang15-asan | ||||
|     uses: ./.github/workflows/_linux-test.yml | ||||
|     needs: | ||||
|  | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user
	