Unverified Commit e88a5549 authored by Nikita Shulga's avatar Nikita Shulga Committed by GitHub
Browse files

Add Python-3.10 (build and test) (#5420)



* Add Python-3.10 (build and test)

* Fix functional.adjust_gamma
Co-authored-by: default avatarVasilis Vryniotis <datumbox@users.noreply.github.com>
Co-authored-by: default avatarJoao Gomes <joaopsgomes@gmail.com>
parent 034c2225
...@@ -1209,6 +1209,46 @@ workflows: ...@@ -1209,6 +1209,46 @@ workflows:
name: binary_linux_wheel_py3.9_rocm4.5.2 name: binary_linux_wheel_py3.9_rocm4.5.2
python_version: '3.9' python_version: '3.9'
wheel_docker_image: pytorch/manylinux-rocm:4.5.2 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: - binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu cu_version: cpu
...@@ -1227,6 +1267,12 @@ workflows: ...@@ -1227,6 +1267,12 @@ workflows:
name: binary_macos_wheel_py3.9_cpu name: binary_macos_wheel_py3.9_cpu
python_version: '3.9' python_version: '3.9'
wheel_docker_image: pytorch/manylinux-cuda102 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: - binary_win_wheel:
cu_version: cpu cu_version: cpu
filters: filters:
...@@ -1301,6 +1347,11 @@ workflows: ...@@ -1301,6 +1347,11 @@ workflows:
python_version: '3.8' python_version: '3.8'
- binary_win_wheel: - binary_win_wheel:
cu_version: cpu cu_version: cpu
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.9_cpu name: binary_win_wheel_py3.9_cpu
python_version: '3.9' python_version: '3.9'
- binary_win_wheel: - binary_win_wheel:
...@@ -1323,8 +1374,39 @@ workflows: ...@@ -1323,8 +1374,39 @@ workflows:
python_version: '3.9' python_version: '3.9'
- binary_win_wheel: - binary_win_wheel:
cu_version: cu115 cu_version: cu115
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.9_cu115 name: binary_win_wheel_py3.9_cu115
python_version: '3.9' 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: - binary_linux_conda:
conda_docker_image: pytorch/conda-builder:cpu conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu cu_version: cpu
...@@ -1415,6 +1497,36 @@ workflows: ...@@ -1415,6 +1497,36 @@ workflows:
name: binary_linux_conda_py3.9_cu115 name: binary_linux_conda_py3.9_cu115
python_version: '3.9' python_version: '3.9'
wheel_docker_image: pytorch/manylinux-cuda115 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: - binary_macos_conda:
conda_docker_image: pytorch/conda-builder:cpu conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu cu_version: cpu
...@@ -1433,6 +1545,12 @@ workflows: ...@@ -1433,6 +1545,12 @@ workflows:
name: binary_macos_conda_py3.9_cpu name: binary_macos_conda_py3.9_cpu
python_version: '3.9' python_version: '3.9'
wheel_docker_image: pytorch/manylinux-cuda102 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: - binary_win_conda:
cu_version: cpu cu_version: cpu
filters: filters:
...@@ -1507,6 +1625,11 @@ workflows: ...@@ -1507,6 +1625,11 @@ workflows:
python_version: '3.8' python_version: '3.8'
- binary_win_conda: - binary_win_conda:
cu_version: cpu cu_version: cpu
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.9_cpu name: binary_win_conda_py3.9_cpu
python_version: '3.9' python_version: '3.9'
- binary_win_conda: - binary_win_conda:
...@@ -1529,8 +1652,39 @@ workflows: ...@@ -1529,8 +1652,39 @@ workflows:
python_version: '3.9' python_version: '3.9'
- binary_win_conda: - binary_win_conda:
cu_version: cu115 cu_version: cu115
filters:
branches:
only: main
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.9_cu115 name: binary_win_conda_py3.9_cu115
python_version: '3.9' 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: - build_docs:
filters: filters:
branches: branches:
...@@ -1585,6 +1739,10 @@ workflows: ...@@ -1585,6 +1739,10 @@ workflows:
cu_version: cpu cu_version: cpu
name: unittest_linux_cpu_py3.9 name: unittest_linux_cpu_py3.9
python_version: '3.9' python_version: '3.9'
- unittest_linux_cpu:
cu_version: cpu
name: unittest_linux_cpu_py3.10
python_version: '3.10'
- unittest_linux_gpu: - unittest_linux_gpu:
cu_version: cu102 cu_version: cu102
filters: filters:
...@@ -1607,6 +1765,15 @@ workflows: ...@@ -1607,6 +1765,15 @@ workflows:
- nightly - nightly
name: unittest_linux_gpu_py3.9 name: unittest_linux_gpu_py3.9
python_version: '3.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: - unittest_windows_cpu:
cu_version: cpu cu_version: cpu
name: unittest_windows_cpu_py3.7 name: unittest_windows_cpu_py3.7
...@@ -1619,6 +1786,10 @@ workflows: ...@@ -1619,6 +1786,10 @@ workflows:
cu_version: cpu cu_version: cpu
name: unittest_windows_cpu_py3.9 name: unittest_windows_cpu_py3.9
python_version: '3.9' python_version: '3.9'
- unittest_windows_cpu:
cu_version: cpu
name: unittest_windows_cpu_py3.10
python_version: '3.10'
- unittest_windows_gpu: - unittest_windows_gpu:
cu_version: cu102 cu_version: cu102
filters: filters:
...@@ -1641,6 +1812,15 @@ workflows: ...@@ -1641,6 +1812,15 @@ workflows:
- nightly - nightly
name: unittest_windows_gpu_py3.9 name: unittest_windows_gpu_py3.9
python_version: '3.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: - unittest_macos_cpu:
cu_version: cpu cu_version: cpu
name: unittest_macos_cpu_py3.7 name: unittest_macos_cpu_py3.7
...@@ -1653,6 +1833,10 @@ workflows: ...@@ -1653,6 +1833,10 @@ workflows:
cu_version: cpu cu_version: cpu
name: unittest_macos_cpu_py3.9 name: unittest_macos_cpu_py3.9
python_version: '3.9' python_version: '3.9'
- unittest_macos_cpu:
cu_version: cpu
name: unittest_macos_cpu_py3.10
python_version: '3.10'
cmake: cmake:
jobs: jobs:
...@@ -2361,7 +2545,7 @@ workflows: ...@@ -2361,7 +2545,7 @@ workflows:
python_version: '3.9' python_version: '3.9'
requires: requires:
- nightly_binary_linux_wheel_py3.9_rocm4.5.2_upload - nightly_binary_linux_wheel_py3.9_rocm4.5.2_upload
- binary_macos_wheel: - binary_linux_wheel:
conda_docker_image: pytorch/conda-builder:cpu conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu cu_version: cpu
filters: filters:
...@@ -2369,8 +2553,8 @@ workflows: ...@@ -2369,8 +2553,8 @@ workflows:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.7_cpu name: nightly_binary_linux_wheel_py3.10_cpu
python_version: '3.7' python_version: '3.10'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
...@@ -2379,20 +2563,29 @@ workflows: ...@@ -2379,20 +2563,29 @@ workflows:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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: requires:
- nightly_binary_macos_wheel_py3.7_cpu - nightly_binary_linux_wheel_py3.10_cpu
subfolder: '' subfolder: cpu/
- binary_macos_wheel: - smoke_test_linux_pip:
conda_docker_image: pytorch/conda-builder:cpu filters:
cu_version: cpu 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: filters:
branches: branches:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.8_cpu name: nightly_binary_linux_wheel_py3.10_cu102
python_version: '3.8' python_version: '3.10'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
...@@ -2401,21 +2594,30 @@ workflows: ...@@ -2401,21 +2594,30 @@ workflows:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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: requires:
- nightly_binary_macos_wheel_py3.8_cpu - nightly_binary_linux_wheel_py3.10_cu102
subfolder: '' subfolder: cu102/
- binary_macos_wheel: - smoke_test_linux_pip:
conda_docker_image: pytorch/conda-builder:cpu filters:
cu_version: cpu 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: filters:
branches: branches:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.9_cpu name: nightly_binary_linux_wheel_py3.10_cu111
python_version: '3.9' python_version: '3.10'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda111
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
...@@ -2423,19 +2625,30 @@ workflows: ...@@ -2423,19 +2625,30 @@ workflows:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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: requires:
- nightly_binary_macos_wheel_py3.9_cpu - nightly_binary_linux_wheel_py3.10_cu111
subfolder: '' subfolder: cu111/
- binary_win_wheel: - smoke_test_linux_pip:
cu_version: cpu 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: filters:
branches: branches:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cpu name: nightly_binary_linux_wheel_py3.10_cu113
python_version: '3.7' python_version: '3.10'
wheel_docker_image: pytorch/manylinux-cuda113
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
...@@ -2443,28 +2656,30 @@ workflows: ...@@ -2443,28 +2656,30 @@ workflows:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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: requires:
- nightly_binary_win_wheel_py3.7_cpu - nightly_binary_linux_wheel_py3.10_cu113
subfolder: cpu/ subfolder: cu113/
- smoke_test_win_pip: - smoke_test_linux_pip:
filters: filters:
branches: branches:
only: only:
- nightly - nightly
name: nightly_binary_win_wheel_py3.7_cpu_smoke_test_pip name: nightly_binary_linux_wheel_py3.10_cu113_smoke_test_pip
python_version: '3.7' python_version: '3.10'
requires: requires:
- nightly_binary_win_wheel_py3.7_cpu_upload - nightly_binary_linux_wheel_py3.10_cu113_upload
- binary_win_wheel: - binary_linux_wheel:
cu_version: cu111 conda_docker_image: pytorch/conda-builder:cuda115
cu_version: cu115
filters: filters:
branches: branches:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cu111 name: nightly_binary_linux_wheel_py3.10_cu115
python_version: '3.7' python_version: '3.10'
wheel_docker_image: pytorch/manylinux-cuda115
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
...@@ -2472,28 +2687,29 @@ workflows: ...@@ -2472,28 +2687,29 @@ workflows:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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: requires:
- nightly_binary_win_wheel_py3.7_cu111 - nightly_binary_linux_wheel_py3.10_cu115
subfolder: cu111/ subfolder: cu115/
- smoke_test_win_pip: - smoke_test_linux_pip:
filters: filters:
branches: branches:
only: only:
- nightly - nightly
name: nightly_binary_win_wheel_py3.7_cu111_smoke_test_pip name: nightly_binary_linux_wheel_py3.10_cu115_smoke_test_pip
python_version: '3.7' python_version: '3.10'
requires: requires:
- nightly_binary_win_wheel_py3.7_cu111_upload - nightly_binary_linux_wheel_py3.10_cu115_upload
- binary_win_wheel: - binary_linux_wheel:
cu_version: cu113 cu_version: rocm4.3.1
filters: filters:
branches: branches:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cu113 name: nightly_binary_linux_wheel_py3.10_rocm4.3.1
python_version: '3.7' python_version: '3.10'
wheel_docker_image: pytorch/manylinux-rocm:4.3.1
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
...@@ -2501,28 +2717,29 @@ workflows: ...@@ -2501,28 +2717,29 @@ workflows:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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: requires:
- nightly_binary_win_wheel_py3.7_cu113 - nightly_binary_linux_wheel_py3.10_rocm4.3.1
subfolder: cu113/ subfolder: rocm4.3.1/
- smoke_test_win_pip: - smoke_test_linux_pip:
filters: filters:
branches: branches:
only: only:
- nightly - nightly
name: nightly_binary_win_wheel_py3.7_cu113_smoke_test_pip name: nightly_binary_linux_wheel_py3.10_rocm4.3.1_smoke_test_pip
python_version: '3.7' python_version: '3.10'
requires: requires:
- nightly_binary_win_wheel_py3.7_cu113_upload - nightly_binary_linux_wheel_py3.10_rocm4.3.1_upload
- binary_win_wheel: - binary_linux_wheel:
cu_version: cu115 cu_version: rocm4.5.2
filters: filters:
branches: branches:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cu115 name: nightly_binary_linux_wheel_py3.10_rocm4.5.2
python_version: '3.7' python_version: '3.10'
wheel_docker_image: pytorch/manylinux-rocm:4.5.2
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
...@@ -2530,28 +2747,232 @@ workflows: ...@@ -2530,28 +2747,232 @@ workflows:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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: requires:
- nightly_binary_win_wheel_py3.7_cu115 - nightly_binary_linux_wheel_py3.10_rocm4.5.2
subfolder: cu115/ subfolder: rocm4.5.2/
- smoke_test_win_pip: - smoke_test_linux_pip:
filters: filters:
branches: branches:
only: only:
- nightly - nightly
name: nightly_binary_win_wheel_py3.7_cu115_smoke_test_pip name: nightly_binary_linux_wheel_py3.10_rocm4.5.2_smoke_test_pip
python_version: '3.7' python_version: '3.10'
requires: requires:
- nightly_binary_win_wheel_py3.7_cu115_upload - nightly_binary_linux_wheel_py3.10_rocm4.5.2_upload
- binary_win_wheel: - binary_macos_wheel:
conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu cu_version: cpu
filters: filters:
branches: branches:
only: nightly only: nightly
tags: tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.8_cpu name: nightly_binary_macos_wheel_py3.7_cpu
python_version: '3.8' 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: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
...@@ -2775,6 +3196,122 @@ workflows: ...@@ -2775,6 +3196,122 @@ workflows:
python_version: '3.9' python_version: '3.9'
requires: requires:
- nightly_binary_win_wheel_py3.9_cu115_upload - 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: - binary_linux_conda:
conda_docker_image: pytorch/conda-builder:cpu conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu cu_version: cpu
...@@ -3225,6 +3762,156 @@ workflows: ...@@ -3225,6 +3762,156 @@ workflows:
python_version: '3.9' python_version: '3.9'
requires: requires:
- nightly_binary_linux_conda_py3.9_cu115_upload - 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: - binary_macos_conda:
conda_docker_image: pytorch/conda-builder:cpu conda_docker_image: pytorch/conda-builder:cpu
cu_version: cpu cu_version: cpu
...@@ -3288,6 +3975,27 @@ workflows: ...@@ -3288,6 +3975,27 @@ workflows:
name: nightly_binary_macos_conda_py3.9_cpu_upload name: nightly_binary_macos_conda_py3.9_cpu_upload
requires: requires:
- nightly_binary_macos_conda_py3.9_cpu - 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: - binary_win_conda:
cu_version: cpu cu_version: cpu
filters: filters:
...@@ -3624,6 +4332,118 @@ workflows: ...@@ -3624,6 +4332,118 @@ workflows:
python_version: '3.9' python_version: '3.9'
requires: requires:
- nightly_binary_win_conda_py3.9_cu115_upload - 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: docker_build:
triggers: triggers:
- schedule: - schedule:
......
...@@ -21,7 +21,7 @@ import yaml ...@@ -21,7 +21,7 @@ import yaml
from jinja2 import select_autoescape 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]+/" RC_PATTERN = r"/v[0-9]+(\.[0-9]+)*-rc[0-9]+/"
......
...@@ -205,6 +205,7 @@ setup_wheel_python() { ...@@ -205,6 +205,7 @@ setup_wheel_python() {
3.7) python_abi=cp37-cp37m ;; 3.7) python_abi=cp37-cp37m ;;
3.8) python_abi=cp38-cp38 ;; 3.8) python_abi=cp38-cp38 ;;
3.9) python_abi=cp39-cp39 ;; 3.9) python_abi=cp39-cp39 ;;
3.10) python_abi=cp310-cp310 ;;
*) *)
echo "Unrecognized PYTHON_VERSION=$PYTHON_VERSION" echo "Unrecognized PYTHON_VERSION=$PYTHON_VERSION"
exit 1 exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment