Unverified Commit dafd6d35 authored by Eli Uriegas's avatar Eli Uriegas Committed by GitHub
Browse files

Cherry picking changes for release improvements (#2352)



* .circleci: Add workflows to run on tag
Signed-off-by: default avatarEli Uriegas <eliuriegas@fb.com>

* packaging: Add backslash to escape
Signed-off-by: default avatarEli Uriegas <eliuriegas@fb.com>
parent efe90f84
...@@ -470,6 +470,8 @@ workflows: ...@@ -470,6 +470,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.6_cpu name: binary_win_wheel_py3.6_cpu
python_version: '3.6' python_version: '3.6'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -477,6 +479,8 @@ workflows: ...@@ -477,6 +479,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.6_cu92 name: binary_win_wheel_py3.6_cu92
python_version: '3.6' python_version: '3.6'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -484,6 +488,8 @@ workflows: ...@@ -484,6 +488,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.6_cu101 name: binary_win_wheel_py3.6_cu101
python_version: '3.6' python_version: '3.6'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -491,6 +497,8 @@ workflows: ...@@ -491,6 +497,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.6_cu102 name: binary_win_wheel_py3.6_cu102
python_version: '3.6' python_version: '3.6'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -498,6 +506,8 @@ workflows: ...@@ -498,6 +506,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.7_cpu name: binary_win_wheel_py3.7_cpu
python_version: '3.7' python_version: '3.7'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -505,6 +515,8 @@ workflows: ...@@ -505,6 +515,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.7_cu92 name: binary_win_wheel_py3.7_cu92
python_version: '3.7' python_version: '3.7'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -512,6 +524,8 @@ workflows: ...@@ -512,6 +524,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.7_cu101 name: binary_win_wheel_py3.7_cu101
python_version: '3.7' python_version: '3.7'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -519,6 +533,8 @@ workflows: ...@@ -519,6 +533,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.7_cu102 name: binary_win_wheel_py3.7_cu102
python_version: '3.7' python_version: '3.7'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -530,6 +546,8 @@ workflows: ...@@ -530,6 +546,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.8_cu92 name: binary_win_wheel_py3.8_cu92
python_version: '3.8' python_version: '3.8'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -537,6 +555,8 @@ workflows: ...@@ -537,6 +555,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.8_cu101 name: binary_win_wheel_py3.8_cu101
python_version: '3.8' python_version: '3.8'
- binary_win_wheel_release: - binary_win_wheel_release:
...@@ -623,6 +643,8 @@ workflows: ...@@ -623,6 +643,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.6_cpu name: binary_win_conda_py3.6_cpu
python_version: '3.6' python_version: '3.6'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -630,6 +652,8 @@ workflows: ...@@ -630,6 +652,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.6_cu92 name: binary_win_conda_py3.6_cu92
python_version: '3.6' python_version: '3.6'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -637,6 +661,8 @@ workflows: ...@@ -637,6 +661,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.6_cu101 name: binary_win_conda_py3.6_cu101
python_version: '3.6' python_version: '3.6'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -644,6 +670,8 @@ workflows: ...@@ -644,6 +670,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.6_cu102 name: binary_win_conda_py3.6_cu102
python_version: '3.6' python_version: '3.6'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -651,6 +679,8 @@ workflows: ...@@ -651,6 +679,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.7_cpu name: binary_win_conda_py3.7_cpu
python_version: '3.7' python_version: '3.7'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -658,6 +688,8 @@ workflows: ...@@ -658,6 +688,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.7_cu92 name: binary_win_conda_py3.7_cu92
python_version: '3.7' python_version: '3.7'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -665,6 +697,8 @@ workflows: ...@@ -665,6 +697,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.7_cu101 name: binary_win_conda_py3.7_cu101
python_version: '3.7' python_version: '3.7'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -672,6 +706,8 @@ workflows: ...@@ -672,6 +706,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.7_cu102 name: binary_win_conda_py3.7_cu102
python_version: '3.7' python_version: '3.7'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -683,6 +719,8 @@ workflows: ...@@ -683,6 +719,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.8_cu92 name: binary_win_conda_py3.8_cu92
python_version: '3.8' python_version: '3.8'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -690,6 +728,8 @@ workflows: ...@@ -690,6 +728,8 @@ workflows:
filters: filters:
branches: branches:
only: master only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.8_cu101 name: binary_win_conda_py3.8_cu101
python_version: '3.8' python_version: '3.8'
- binary_win_conda_release: - binary_win_conda_release:
...@@ -723,6 +763,8 @@ workflows: ...@@ -723,6 +763,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.6_cpu name: nightly_binary_linux_wheel_py3.6_cpu
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -742,6 +784,8 @@ workflows: ...@@ -742,6 +784,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.6_cu92 name: nightly_binary_linux_wheel_py3.6_cu92
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda92 wheel_docker_image: pytorch/manylinux-cuda92
...@@ -761,6 +805,8 @@ workflows: ...@@ -761,6 +805,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.6_cu101 name: nightly_binary_linux_wheel_py3.6_cu101
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda101 wheel_docker_image: pytorch/manylinux-cuda101
...@@ -780,6 +826,8 @@ workflows: ...@@ -780,6 +826,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.6_cu102 name: nightly_binary_linux_wheel_py3.6_cu102
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -799,6 +847,8 @@ workflows: ...@@ -799,6 +847,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cpu name: nightly_binary_linux_wheel_py3.7_cpu
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -818,6 +868,8 @@ workflows: ...@@ -818,6 +868,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu92 name: nightly_binary_linux_wheel_py3.7_cu92
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda92 wheel_docker_image: pytorch/manylinux-cuda92
...@@ -837,6 +889,8 @@ workflows: ...@@ -837,6 +889,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu101 name: nightly_binary_linux_wheel_py3.7_cu101
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda101 wheel_docker_image: pytorch/manylinux-cuda101
...@@ -856,6 +910,8 @@ workflows: ...@@ -856,6 +910,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.7_cu102 name: nightly_binary_linux_wheel_py3.7_cu102
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -875,6 +931,8 @@ workflows: ...@@ -875,6 +931,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cpu name: nightly_binary_linux_wheel_py3.8_cpu
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -894,6 +952,8 @@ workflows: ...@@ -894,6 +952,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu92 name: nightly_binary_linux_wheel_py3.8_cu92
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda92 wheel_docker_image: pytorch/manylinux-cuda92
...@@ -913,6 +973,8 @@ workflows: ...@@ -913,6 +973,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu101 name: nightly_binary_linux_wheel_py3.8_cu101
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda101 wheel_docker_image: pytorch/manylinux-cuda101
...@@ -932,6 +994,8 @@ workflows: ...@@ -932,6 +994,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_wheel_py3.8_cu102 name: nightly_binary_linux_wheel_py3.8_cu102
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -951,6 +1015,8 @@ workflows: ...@@ -951,6 +1015,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.6_cpu name: nightly_binary_macos_wheel_py3.6_cpu
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -970,6 +1036,8 @@ workflows: ...@@ -970,6 +1036,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.7_cpu name: nightly_binary_macos_wheel_py3.7_cpu
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -989,6 +1057,8 @@ workflows: ...@@ -989,6 +1057,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_wheel_py3.8_cpu name: nightly_binary_macos_wheel_py3.8_cpu
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1008,6 +1078,8 @@ workflows: ...@@ -1008,6 +1078,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.6_cpu name: nightly_binary_win_wheel_py3.6_cpu
python_version: '3.6' python_version: '3.6'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1026,6 +1098,8 @@ workflows: ...@@ -1026,6 +1098,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.6_cu92 name: nightly_binary_win_wheel_py3.6_cu92
python_version: '3.6' python_version: '3.6'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1044,6 +1118,8 @@ workflows: ...@@ -1044,6 +1118,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.6_cu101 name: nightly_binary_win_wheel_py3.6_cu101
python_version: '3.6' python_version: '3.6'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1062,6 +1138,8 @@ workflows: ...@@ -1062,6 +1138,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.6_cu102 name: nightly_binary_win_wheel_py3.6_cu102
python_version: '3.6' python_version: '3.6'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1080,6 +1158,8 @@ workflows: ...@@ -1080,6 +1158,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cpu name: nightly_binary_win_wheel_py3.7_cpu
python_version: '3.7' python_version: '3.7'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1098,6 +1178,8 @@ workflows: ...@@ -1098,6 +1178,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cu92 name: nightly_binary_win_wheel_py3.7_cu92
python_version: '3.7' python_version: '3.7'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1116,6 +1198,8 @@ workflows: ...@@ -1116,6 +1198,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cu101 name: nightly_binary_win_wheel_py3.7_cu101
python_version: '3.7' python_version: '3.7'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1134,6 +1218,8 @@ workflows: ...@@ -1134,6 +1218,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cu102 name: nightly_binary_win_wheel_py3.7_cu102
python_version: '3.7' python_version: '3.7'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1152,6 +1238,8 @@ workflows: ...@@ -1152,6 +1238,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.8_cpu name: nightly_binary_win_wheel_py3.8_cpu
python_version: '3.8' python_version: '3.8'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1170,6 +1258,8 @@ workflows: ...@@ -1170,6 +1258,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.8_cu92 name: nightly_binary_win_wheel_py3.8_cu92
python_version: '3.8' python_version: '3.8'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1188,6 +1278,8 @@ workflows: ...@@ -1188,6 +1278,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.8_cu101 name: nightly_binary_win_wheel_py3.8_cu101
python_version: '3.8' python_version: '3.8'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1206,6 +1298,8 @@ workflows: ...@@ -1206,6 +1298,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.8_cu102 name: nightly_binary_win_wheel_py3.8_cu102
python_version: '3.8' python_version: '3.8'
- binary_wheel_upload: - binary_wheel_upload:
...@@ -1224,6 +1318,8 @@ workflows: ...@@ -1224,6 +1318,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.6_cpu name: nightly_binary_linux_conda_py3.6_cpu
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1242,6 +1338,8 @@ workflows: ...@@ -1242,6 +1338,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.6_cu92 name: nightly_binary_linux_conda_py3.6_cu92
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda92 wheel_docker_image: pytorch/manylinux-cuda92
...@@ -1260,6 +1358,8 @@ workflows: ...@@ -1260,6 +1358,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.6_cu101 name: nightly_binary_linux_conda_py3.6_cu101
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda101 wheel_docker_image: pytorch/manylinux-cuda101
...@@ -1278,6 +1378,8 @@ workflows: ...@@ -1278,6 +1378,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.6_cu102 name: nightly_binary_linux_conda_py3.6_cu102
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1296,6 +1398,8 @@ workflows: ...@@ -1296,6 +1398,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.7_cpu name: nightly_binary_linux_conda_py3.7_cpu
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1314,6 +1418,8 @@ workflows: ...@@ -1314,6 +1418,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.7_cu92 name: nightly_binary_linux_conda_py3.7_cu92
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda92 wheel_docker_image: pytorch/manylinux-cuda92
...@@ -1332,6 +1438,8 @@ workflows: ...@@ -1332,6 +1438,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.7_cu101 name: nightly_binary_linux_conda_py3.7_cu101
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda101 wheel_docker_image: pytorch/manylinux-cuda101
...@@ -1350,6 +1458,8 @@ workflows: ...@@ -1350,6 +1458,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.7_cu102 name: nightly_binary_linux_conda_py3.7_cu102
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1368,6 +1478,8 @@ workflows: ...@@ -1368,6 +1478,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.8_cpu name: nightly_binary_linux_conda_py3.8_cpu
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1386,6 +1498,8 @@ workflows: ...@@ -1386,6 +1498,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.8_cu92 name: nightly_binary_linux_conda_py3.8_cu92
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda92 wheel_docker_image: pytorch/manylinux-cuda92
...@@ -1404,6 +1518,8 @@ workflows: ...@@ -1404,6 +1518,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.8_cu101 name: nightly_binary_linux_conda_py3.8_cu101
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda101 wheel_docker_image: pytorch/manylinux-cuda101
...@@ -1422,6 +1538,8 @@ workflows: ...@@ -1422,6 +1538,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_linux_conda_py3.8_cu102 name: nightly_binary_linux_conda_py3.8_cu102
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1440,6 +1558,8 @@ workflows: ...@@ -1440,6 +1558,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_conda_py3.6_cpu name: nightly_binary_macos_conda_py3.6_cpu
python_version: '3.6' python_version: '3.6'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1458,6 +1578,8 @@ workflows: ...@@ -1458,6 +1578,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_conda_py3.7_cpu name: nightly_binary_macos_conda_py3.7_cpu
python_version: '3.7' python_version: '3.7'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1476,6 +1598,8 @@ workflows: ...@@ -1476,6 +1598,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_macos_conda_py3.8_cpu name: nightly_binary_macos_conda_py3.8_cpu
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda102 wheel_docker_image: pytorch/manylinux-cuda102
...@@ -1494,6 +1618,8 @@ workflows: ...@@ -1494,6 +1618,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.6_cpu name: nightly_binary_win_conda_py3.6_cpu
python_version: '3.6' python_version: '3.6'
- binary_conda_upload: - binary_conda_upload:
...@@ -1511,6 +1637,8 @@ workflows: ...@@ -1511,6 +1637,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.6_cu92 name: nightly_binary_win_conda_py3.6_cu92
python_version: '3.6' python_version: '3.6'
- binary_conda_upload: - binary_conda_upload:
...@@ -1528,6 +1656,8 @@ workflows: ...@@ -1528,6 +1656,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.6_cu101 name: nightly_binary_win_conda_py3.6_cu101
python_version: '3.6' python_version: '3.6'
- binary_conda_upload: - binary_conda_upload:
...@@ -1545,6 +1675,8 @@ workflows: ...@@ -1545,6 +1675,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.6_cu102 name: nightly_binary_win_conda_py3.6_cu102
python_version: '3.6' python_version: '3.6'
- binary_conda_upload: - binary_conda_upload:
...@@ -1562,6 +1694,8 @@ workflows: ...@@ -1562,6 +1694,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.7_cpu name: nightly_binary_win_conda_py3.7_cpu
python_version: '3.7' python_version: '3.7'
- binary_conda_upload: - binary_conda_upload:
...@@ -1579,6 +1713,8 @@ workflows: ...@@ -1579,6 +1713,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.7_cu92 name: nightly_binary_win_conda_py3.7_cu92
python_version: '3.7' python_version: '3.7'
- binary_conda_upload: - binary_conda_upload:
...@@ -1596,6 +1732,8 @@ workflows: ...@@ -1596,6 +1732,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.7_cu101 name: nightly_binary_win_conda_py3.7_cu101
python_version: '3.7' python_version: '3.7'
- binary_conda_upload: - binary_conda_upload:
...@@ -1613,6 +1751,8 @@ workflows: ...@@ -1613,6 +1751,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.7_cu102 name: nightly_binary_win_conda_py3.7_cu102
python_version: '3.7' python_version: '3.7'
- binary_conda_upload: - binary_conda_upload:
...@@ -1630,6 +1770,8 @@ workflows: ...@@ -1630,6 +1770,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.8_cpu name: nightly_binary_win_conda_py3.8_cpu
python_version: '3.8' python_version: '3.8'
- binary_conda_upload: - binary_conda_upload:
...@@ -1647,6 +1789,8 @@ workflows: ...@@ -1647,6 +1789,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.8_cu92 name: nightly_binary_win_conda_py3.8_cu92
python_version: '3.8' python_version: '3.8'
- binary_conda_upload: - binary_conda_upload:
...@@ -1664,6 +1808,8 @@ workflows: ...@@ -1664,6 +1808,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.8_cu101 name: nightly_binary_win_conda_py3.8_cu101
python_version: '3.8' python_version: '3.8'
- binary_conda_upload: - binary_conda_upload:
...@@ -1681,6 +1827,8 @@ workflows: ...@@ -1681,6 +1827,8 @@ workflows:
filters: filters:
branches: branches:
only: nightly only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.8_cu102 name: nightly_binary_win_conda_py3.8_cu102
python_version: '3.8' python_version: '3.8'
- binary_conda_upload: - binary_conda_upload:
......
...@@ -86,7 +86,16 @@ def generate_base_workflow(base_workflow_name, python_version, cu_version, ...@@ -86,7 +86,16 @@ def generate_base_workflow(base_workflow_name, python_version, cu_version,
d["wheel_docker_image"] = get_manylinux_image(cu_version) d["wheel_docker_image"] = get_manylinux_image(cu_version)
if filter_branch is not None: if filter_branch is not None:
d["filters"] = {"branches": {"only": filter_branch}} d["filters"] = {
"branches": {
"only": filter_branch
},
"tags": {
# Using a raw string here to avoid having to escape
# anything
"only": r"/v[0-9]+(\.[0-9]+)*-rc[0-9]+/"
}
}
w = f"binary_{os_type}_{btype}_release" if os_type == "win" else f"binary_{os_type}_{btype}" w = f"binary_{os_type}_{btype}_release" if os_type == "win" else f"binary_{os_type}_{btype}"
return {w: d} return {w: d}
......
...@@ -214,7 +214,7 @@ setup_pip_pytorch_version() { ...@@ -214,7 +214,7 @@ setup_pip_pytorch_version() {
else else
pip_install "torch==$PYTORCH_VERSION$PYTORCH_VERSION_SUFFIX" \ pip_install "torch==$PYTORCH_VERSION$PYTORCH_VERSION_SUFFIX" \
-f https://download.pytorch.org/whl/torch_stable.html \ -f https://download.pytorch.org/whl/torch_stable.html \
-f https://download.pytorch.org/whl/test/torch_test.html -f https://download.pytorch.org/whl/test/torch_test.html \
-f https://download.pytorch.org/whl/nightly/torch_nightly.html -f https://download.pytorch.org/whl/nightly/torch_nightly.html
fi fi
} }
......
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