diff --git a/.circleci/config.yml b/.circleci/config.yml index f1ddaf861ac..69d9764ab78 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1209,6 +1209,46 @@ workflows: name: binary_linux_wheel_py3.9_rocm4.5.2 python_version: '3.9' wheel_docker_image: pytorch/manylinux-rocm:4.5.2 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_wheel_py3.10_cpu + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_wheel_py3.10_cu102 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_wheel_py3.10_cu111 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda113 + cu_version: cu113 + name: binary_linux_wheel_py3.10_cu113 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda113 + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda115 + cu_version: cu115 + name: binary_linux_wheel_py3.10_cu115 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda115 + - binary_linux_wheel: + cu_version: rocm4.3.1 + name: binary_linux_wheel_py3.10_rocm4.3.1 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-rocm:4.3.1 + - binary_linux_wheel: + cu_version: rocm4.5.2 + name: binary_linux_wheel_py3.10_rocm4.5.2 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-rocm:4.5.2 - binary_macos_wheel: conda_docker_image: pytorch/conda-builder:cpu cu_version: cpu @@ -1227,6 +1267,12 @@ workflows: name: binary_macos_wheel_py3.9_cpu python_version: '3.9' wheel_docker_image: pytorch/manylinux-cuda102 + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_wheel_py3.10_cpu + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 - binary_win_wheel: cu_version: cpu filters: @@ -1301,6 +1347,11 @@ workflows: python_version: '3.8' - binary_win_wheel: cu_version: cpu + filters: + branches: + only: main + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ name: binary_win_wheel_py3.9_cpu python_version: '3.9' - binary_win_wheel: @@ -1323,8 +1374,39 @@ workflows: python_version: '3.9' - binary_win_wheel: cu_version: cu115 + filters: + branches: + only: main + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ name: binary_win_wheel_py3.9_cu115 python_version: '3.9' + - binary_win_wheel: + cu_version: cpu + name: binary_win_wheel_py3.10_cpu + python_version: '3.10' + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: main + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.10_cu111 + python_version: '3.10' + - binary_win_wheel: + cu_version: cu113 + filters: + branches: + only: main + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_wheel_py3.10_cu113 + python_version: '3.10' + - binary_win_wheel: + cu_version: cu115 + name: binary_win_wheel_py3.10_cu115 + python_version: '3.10' - binary_linux_conda: conda_docker_image: pytorch/conda-builder:cpu cu_version: cpu @@ -1415,6 +1497,36 @@ workflows: name: binary_linux_conda_py3.9_cu115 python_version: '3.9' wheel_docker_image: pytorch/manylinux-cuda115 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_linux_conda_py3.10_cpu + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + name: binary_linux_conda_py3.10_cu102 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + name: binary_linux_conda_py3.10_cu111 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda113 + cu_version: cu113 + name: binary_linux_conda_py3.10_cu113 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda113 + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda115 + cu_version: cu115 + name: binary_linux_conda_py3.10_cu115 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda115 - binary_macos_conda: conda_docker_image: pytorch/conda-builder:cpu cu_version: cpu @@ -1433,6 +1545,12 @@ workflows: name: binary_macos_conda_py3.9_cpu python_version: '3.9' wheel_docker_image: pytorch/manylinux-cuda102 + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + name: binary_macos_conda_py3.10_cpu + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 - binary_win_conda: cu_version: cpu filters: @@ -1507,6 +1625,11 @@ workflows: python_version: '3.8' - binary_win_conda: cu_version: cpu + filters: + branches: + only: main + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ name: binary_win_conda_py3.9_cpu python_version: '3.9' - binary_win_conda: @@ -1529,8 +1652,39 @@ workflows: python_version: '3.9' - binary_win_conda: cu_version: cu115 + filters: + branches: + only: main + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ name: binary_win_conda_py3.9_cu115 python_version: '3.9' + - binary_win_conda: + cu_version: cpu + name: binary_win_conda_py3.10_cpu + python_version: '3.10' + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: main + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.10_cu111 + python_version: '3.10' + - binary_win_conda: + cu_version: cu113 + filters: + branches: + only: main + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: binary_win_conda_py3.10_cu113 + python_version: '3.10' + - binary_win_conda: + cu_version: cu115 + name: binary_win_conda_py3.10_cu115 + python_version: '3.10' - build_docs: filters: branches: @@ -1585,6 +1739,10 @@ workflows: cu_version: cpu name: unittest_linux_cpu_py3.9 python_version: '3.9' + - unittest_linux_cpu: + cu_version: cpu + name: unittest_linux_cpu_py3.10 + python_version: '3.10' - unittest_linux_gpu: cu_version: cu102 filters: @@ -1607,6 +1765,15 @@ workflows: - nightly name: unittest_linux_gpu_py3.9 python_version: '3.9' + - unittest_linux_gpu: + cu_version: cu102 + filters: + branches: + only: + - main + - nightly + name: unittest_linux_gpu_py3.10 + python_version: '3.10' - unittest_windows_cpu: cu_version: cpu name: unittest_windows_cpu_py3.7 @@ -1619,6 +1786,10 @@ workflows: cu_version: cpu name: unittest_windows_cpu_py3.9 python_version: '3.9' + - unittest_windows_cpu: + cu_version: cpu + name: unittest_windows_cpu_py3.10 + python_version: '3.10' - unittest_windows_gpu: cu_version: cu102 filters: @@ -1641,6 +1812,15 @@ workflows: - nightly name: unittest_windows_gpu_py3.9 python_version: '3.9' + - unittest_windows_gpu: + cu_version: cu102 + filters: + branches: + only: + - main + - nightly + name: unittest_windows_gpu_py3.10 + python_version: '3.10' - unittest_macos_cpu: cu_version: cpu name: unittest_macos_cpu_py3.7 @@ -1653,6 +1833,10 @@ workflows: cu_version: cpu name: unittest_macos_cpu_py3.9 python_version: '3.9' + - unittest_macos_cpu: + cu_version: cpu + name: unittest_macos_cpu_py3.10 + python_version: '3.10' cmake: jobs: @@ -2361,7 +2545,7 @@ workflows: python_version: '3.9' requires: - nightly_binary_linux_wheel_py3.9_rocm4.5.2_upload - - binary_macos_wheel: + - binary_linux_wheel: conda_docker_image: pytorch/conda-builder:cpu cu_version: cpu filters: @@ -2369,8 +2553,8 @@ workflows: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.7_cpu - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_cpu + python_version: '3.10' wheel_docker_image: pytorch/manylinux-cuda102 - binary_wheel_upload: context: org-member @@ -2379,20 +2563,29 @@ workflows: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.7_cpu_upload + name: nightly_binary_linux_wheel_py3.10_cpu_upload requires: - - nightly_binary_macos_wheel_py3.7_cpu - subfolder: '' - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu + - nightly_binary_linux_wheel_py3.10_cpu + subfolder: cpu/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.10_cpu_smoke_test_pip + python_version: '3.10' + requires: + - nightly_binary_linux_wheel_py3.10_cpu_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 filters: branches: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.8_cpu - python_version: '3.8' + name: nightly_binary_linux_wheel_py3.10_cu102 + python_version: '3.10' wheel_docker_image: pytorch/manylinux-cuda102 - binary_wheel_upload: context: org-member @@ -2401,21 +2594,30 @@ workflows: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.8_cpu_upload + name: nightly_binary_linux_wheel_py3.10_cu102_upload requires: - - nightly_binary_macos_wheel_py3.8_cpu - subfolder: '' - - binary_macos_wheel: - conda_docker_image: pytorch/conda-builder:cpu - cu_version: cpu + - nightly_binary_linux_wheel_py3.10_cu102 + subfolder: cu102/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.10_cu102_smoke_test_pip + python_version: '3.10' + requires: + - nightly_binary_linux_wheel_py3.10_cu102_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 filters: branches: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.9_cpu - python_version: '3.9' - wheel_docker_image: pytorch/manylinux-cuda102 + name: nightly_binary_linux_wheel_py3.10_cu111 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda111 - binary_wheel_upload: context: org-member filters: @@ -2423,19 +2625,30 @@ workflows: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_macos_wheel_py3.9_cpu_upload + name: nightly_binary_linux_wheel_py3.10_cu111_upload requires: - - nightly_binary_macos_wheel_py3.9_cpu - subfolder: '' - - binary_win_wheel: - cu_version: cpu + - nightly_binary_linux_wheel_py3.10_cu111 + subfolder: cu111/ + - smoke_test_linux_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_wheel_py3.10_cu111_smoke_test_pip + python_version: '3.10' + requires: + - nightly_binary_linux_wheel_py3.10_cu111_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda113 + cu_version: cu113 filters: branches: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cpu - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_cu113 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda113 - binary_wheel_upload: context: org-member filters: @@ -2443,28 +2656,30 @@ workflows: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cpu_upload + name: nightly_binary_linux_wheel_py3.10_cu113_upload requires: - - nightly_binary_win_wheel_py3.7_cpu - subfolder: cpu/ - - smoke_test_win_pip: + - nightly_binary_linux_wheel_py3.10_cu113 + subfolder: cu113/ + - smoke_test_linux_pip: filters: branches: only: - nightly - name: nightly_binary_win_wheel_py3.7_cpu_smoke_test_pip - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_cu113_smoke_test_pip + python_version: '3.10' requires: - - nightly_binary_win_wheel_py3.7_cpu_upload - - binary_win_wheel: - cu_version: cu111 + - nightly_binary_linux_wheel_py3.10_cu113_upload + - binary_linux_wheel: + conda_docker_image: pytorch/conda-builder:cuda115 + cu_version: cu115 filters: branches: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cu111 - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_cu115 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda115 - binary_wheel_upload: context: org-member filters: @@ -2472,28 +2687,29 @@ workflows: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cu111_upload + name: nightly_binary_linux_wheel_py3.10_cu115_upload requires: - - nightly_binary_win_wheel_py3.7_cu111 - subfolder: cu111/ - - smoke_test_win_pip: + - nightly_binary_linux_wheel_py3.10_cu115 + subfolder: cu115/ + - smoke_test_linux_pip: filters: branches: only: - nightly - name: nightly_binary_win_wheel_py3.7_cu111_smoke_test_pip - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_cu115_smoke_test_pip + python_version: '3.10' requires: - - nightly_binary_win_wheel_py3.7_cu111_upload - - binary_win_wheel: - cu_version: cu113 + - nightly_binary_linux_wheel_py3.10_cu115_upload + - binary_linux_wheel: + cu_version: rocm4.3.1 filters: branches: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cu113 - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_rocm4.3.1 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-rocm:4.3.1 - binary_wheel_upload: context: org-member filters: @@ -2501,28 +2717,29 @@ workflows: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cu113_upload + name: nightly_binary_linux_wheel_py3.10_rocm4.3.1_upload requires: - - nightly_binary_win_wheel_py3.7_cu113 - subfolder: cu113/ - - smoke_test_win_pip: + - nightly_binary_linux_wheel_py3.10_rocm4.3.1 + subfolder: rocm4.3.1/ + - smoke_test_linux_pip: filters: branches: only: - nightly - name: nightly_binary_win_wheel_py3.7_cu113_smoke_test_pip - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_rocm4.3.1_smoke_test_pip + python_version: '3.10' requires: - - nightly_binary_win_wheel_py3.7_cu113_upload - - binary_win_wheel: - cu_version: cu115 + - nightly_binary_linux_wheel_py3.10_rocm4.3.1_upload + - binary_linux_wheel: + cu_version: rocm4.5.2 filters: branches: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cu115 - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_rocm4.5.2 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-rocm:4.5.2 - binary_wheel_upload: context: org-member filters: @@ -2530,28 +2747,232 @@ workflows: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.7_cu115_upload + name: nightly_binary_linux_wheel_py3.10_rocm4.5.2_upload requires: - - nightly_binary_win_wheel_py3.7_cu115 - subfolder: cu115/ - - smoke_test_win_pip: + - nightly_binary_linux_wheel_py3.10_rocm4.5.2 + subfolder: rocm4.5.2/ + - smoke_test_linux_pip: filters: branches: only: - nightly - name: nightly_binary_win_wheel_py3.7_cu115_smoke_test_pip - python_version: '3.7' + name: nightly_binary_linux_wheel_py3.10_rocm4.5.2_smoke_test_pip + python_version: '3.10' requires: - - nightly_binary_win_wheel_py3.7_cu115_upload - - binary_win_wheel: + - nightly_binary_linux_wheel_py3.10_rocm4.5.2_upload + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu cu_version: cpu filters: branches: only: nightly tags: only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ - name: nightly_binary_win_wheel_py3.8_cpu - python_version: '3.8' + name: nightly_binary_macos_wheel_py3.7_cpu + python_version: '3.7' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.7_cpu_upload + requires: + - nightly_binary_macos_wheel_py3.7_cpu + subfolder: '' + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.8_cpu + python_version: '3.8' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.8_cpu_upload + requires: + - nightly_binary_macos_wheel_py3.8_cpu + subfolder: '' + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.9_cpu + python_version: '3.9' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.9_cpu_upload + requires: + - nightly_binary_macos_wheel_py3.9_cpu + subfolder: '' + - binary_macos_wheel: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.10_cpu + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_wheel_py3.10_cpu_upload + requires: + - nightly_binary_macos_wheel_py3.10_cpu + subfolder: '' + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cpu + python_version: '3.7' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cpu_upload + requires: + - nightly_binary_win_wheel_py3.7_cpu + subfolder: cpu/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.7_cpu_smoke_test_pip + python_version: '3.7' + requires: + - nightly_binary_win_wheel_py3.7_cpu_upload + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cu111 + python_version: '3.7' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cu111_upload + requires: + - nightly_binary_win_wheel_py3.7_cu111 + subfolder: cu111/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.7_cu111_smoke_test_pip + python_version: '3.7' + requires: + - nightly_binary_win_wheel_py3.7_cu111_upload + - binary_win_wheel: + cu_version: cu113 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cu113 + python_version: '3.7' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cu113_upload + requires: + - nightly_binary_win_wheel_py3.7_cu113 + subfolder: cu113/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.7_cu113_smoke_test_pip + python_version: '3.7' + requires: + - nightly_binary_win_wheel_py3.7_cu113_upload + - binary_win_wheel: + cu_version: cu115 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cu115 + python_version: '3.7' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.7_cu115_upload + requires: + - nightly_binary_win_wheel_py3.7_cu115 + subfolder: cu115/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.7_cu115_smoke_test_pip + python_version: '3.7' + requires: + - nightly_binary_win_wheel_py3.7_cu115_upload + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.8_cpu + python_version: '3.8' - binary_wheel_upload: context: org-member filters: @@ -2775,6 +3196,122 @@ workflows: python_version: '3.9' requires: - nightly_binary_win_wheel_py3.9_cu115_upload + - binary_win_wheel: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.10_cpu + python_version: '3.10' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.10_cpu_upload + requires: + - nightly_binary_win_wheel_py3.10_cpu + subfolder: cpu/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.10_cpu_smoke_test_pip + python_version: '3.10' + requires: + - nightly_binary_win_wheel_py3.10_cpu_upload + - binary_win_wheel: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.10_cu111 + python_version: '3.10' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.10_cu111_upload + requires: + - nightly_binary_win_wheel_py3.10_cu111 + subfolder: cu111/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.10_cu111_smoke_test_pip + python_version: '3.10' + requires: + - nightly_binary_win_wheel_py3.10_cu111_upload + - binary_win_wheel: + cu_version: cu113 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.10_cu113 + python_version: '3.10' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.10_cu113_upload + requires: + - nightly_binary_win_wheel_py3.10_cu113 + subfolder: cu113/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.10_cu113_smoke_test_pip + python_version: '3.10' + requires: + - nightly_binary_win_wheel_py3.10_cu113_upload + - binary_win_wheel: + cu_version: cu115 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.10_cu115 + python_version: '3.10' + - binary_wheel_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_wheel_py3.10_cu115_upload + requires: + - nightly_binary_win_wheel_py3.10_cu115 + subfolder: cu115/ + - smoke_test_win_pip: + filters: + branches: + only: + - nightly + name: nightly_binary_win_wheel_py3.10_cu115_smoke_test_pip + python_version: '3.10' + requires: + - nightly_binary_win_wheel_py3.10_cu115_upload - binary_linux_conda: conda_docker_image: pytorch/conda-builder:cpu cu_version: cpu @@ -3225,6 +3762,156 @@ workflows: python_version: '3.9' requires: - nightly_binary_linux_conda_py3.9_cu115_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cpu + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cpu_upload + requires: + - nightly_binary_linux_conda_py3.10_cpu + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.10_cpu_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_linux_conda_py3.10_cpu_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda102 + cu_version: cu102 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cu102 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cu102_upload + requires: + - nightly_binary_linux_conda_py3.10_cu102 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.10_cu102_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_linux_conda_py3.10_cu102_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda111 + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cu111 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda111 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cu111_upload + requires: + - nightly_binary_linux_conda_py3.10_cu111 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.10_cu111_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_linux_conda_py3.10_cu111_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda113 + cu_version: cu113 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cu113 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda113 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cu113_upload + requires: + - nightly_binary_linux_conda_py3.10_cu113 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.10_cu113_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_linux_conda_py3.10_cu113_upload + - binary_linux_conda: + conda_docker_image: pytorch/conda-builder:cuda115 + cu_version: cu115 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cu115 + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda115 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_linux_conda_py3.10_cu115_upload + requires: + - nightly_binary_linux_conda_py3.10_cu115 + - smoke_test_linux_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_linux_conda_py3.10_cu115_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_linux_conda_py3.10_cu115_upload - binary_macos_conda: conda_docker_image: pytorch/conda-builder:cpu cu_version: cpu @@ -3288,6 +3975,27 @@ workflows: name: nightly_binary_macos_conda_py3.9_cpu_upload requires: - nightly_binary_macos_conda_py3.9_cpu + - binary_macos_conda: + conda_docker_image: pytorch/conda-builder:cpu + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.10_cpu + python_version: '3.10' + wheel_docker_image: pytorch/manylinux-cuda102 + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_macos_conda_py3.10_cpu_upload + requires: + - nightly_binary_macos_conda_py3.10_cpu - binary_win_conda: cu_version: cpu filters: @@ -3624,6 +4332,118 @@ workflows: python_version: '3.9' requires: - nightly_binary_win_conda_py3.9_cu115_upload + - binary_win_conda: + cu_version: cpu + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.10_cpu + python_version: '3.10' + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.10_cpu_upload + requires: + - nightly_binary_win_conda_py3.10_cpu + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.10_cpu_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_win_conda_py3.10_cpu_upload + - binary_win_conda: + cu_version: cu111 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.10_cu111 + python_version: '3.10' + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.10_cu111_upload + requires: + - nightly_binary_win_conda_py3.10_cu111 + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.10_cu111_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_win_conda_py3.10_cu111_upload + - binary_win_conda: + cu_version: cu113 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.10_cu113 + python_version: '3.10' + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.10_cu113_upload + requires: + - nightly_binary_win_conda_py3.10_cu113 + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.10_cu113_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_win_conda_py3.10_cu113_upload + - binary_win_conda: + cu_version: cu115 + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.10_cu115 + python_version: '3.10' + - binary_conda_upload: + context: org-member + filters: + branches: + only: nightly + tags: + only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ + name: nightly_binary_win_conda_py3.10_cu115_upload + requires: + - nightly_binary_win_conda_py3.10_cu115 + - smoke_test_win_conda: + filters: + branches: + only: + - nightly + name: nightly_binary_win_conda_py3.10_cu115_smoke_test_conda + python_version: '3.10' + requires: + - nightly_binary_win_conda_py3.10_cu115_upload docker_build: triggers: - schedule: diff --git a/.circleci/regenerate.py b/.circleci/regenerate.py index a7a042cc75a..5825389c830 100755 --- a/.circleci/regenerate.py +++ b/.circleci/regenerate.py @@ -21,7 +21,7 @@ from jinja2 import select_autoescape -PYTHON_VERSIONS = ["3.7", "3.8", "3.9"] +PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"] RC_PATTERN = r"/v[0-9]+(\.[0-9]+)*-rc[0-9]+/" diff --git a/packaging/pkg_helpers.bash b/packaging/pkg_helpers.bash index 002e5cda256..329891a0721 100644 --- a/packaging/pkg_helpers.bash +++ b/packaging/pkg_helpers.bash @@ -205,6 +205,7 @@ setup_wheel_python() { 3.7) python_abi=cp37-cp37m ;; 3.8) python_abi=cp38-cp38 ;; 3.9) python_abi=cp39-cp39 ;; + 3.10) python_abi=cp310-cp310 ;; *) echo "Unrecognized PYTHON_VERSION=$PYTHON_VERSION" exit 1