Unverified Commit 195c41ee authored by peterjc123's avatar peterjc123 Committed by GitHub
Browse files

Disable CUDA 9.2 jobs & Fix unit tests (for Windows) (#2636)

parent 5f616a2b
...@@ -639,15 +639,6 @@ workflows: ...@@ -639,15 +639,6 @@ workflows:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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:
cu_version: cu92
filters:
branches:
only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.6_cu92
python_version: '3.6'
- binary_win_wheel: - binary_win_wheel:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -675,15 +666,6 @@ workflows: ...@@ -675,15 +666,6 @@ workflows:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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:
cu_version: cu92
filters:
branches:
only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.7_cu92
python_version: '3.7'
- binary_win_wheel: - binary_win_wheel:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -706,15 +688,6 @@ workflows: ...@@ -706,15 +688,6 @@ workflows:
cu_version: cpu cu_version: cpu
name: binary_win_wheel_py3.8_cpu name: binary_win_wheel_py3.8_cpu
python_version: '3.8' python_version: '3.8'
- binary_win_wheel:
cu_version: cu92
filters:
branches:
only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_wheel_py3.8_cu92
python_version: '3.8'
- binary_win_wheel: - binary_win_wheel:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -812,15 +785,6 @@ workflows: ...@@ -812,15 +785,6 @@ workflows:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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:
cu_version: cu92
filters:
branches:
only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.6_cu92
python_version: '3.6'
- binary_win_conda: - binary_win_conda:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -848,15 +812,6 @@ workflows: ...@@ -848,15 +812,6 @@ workflows:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/ 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:
cu_version: cu92
filters:
branches:
only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.7_cu92
python_version: '3.7'
- binary_win_conda: - binary_win_conda:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -879,15 +834,6 @@ workflows: ...@@ -879,15 +834,6 @@ workflows:
cu_version: cpu cu_version: cpu
name: binary_win_conda_py3.8_cpu name: binary_win_conda_py3.8_cpu
python_version: '3.8' python_version: '3.8'
- binary_win_conda:
cu_version: cu92
filters:
branches:
only: master
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: binary_win_conda_py3.8_cu92
python_version: '3.8'
- binary_win_conda: - binary_win_conda:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -1433,35 +1379,6 @@ workflows: ...@@ -1433,35 +1379,6 @@ workflows:
python_version: '3.6' python_version: '3.6'
requires: requires:
- nightly_binary_win_wheel_py3.6_cpu_upload - nightly_binary_win_wheel_py3.6_cpu_upload
- binary_win_wheel:
cu_version: cu92
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.6_cu92
python_version: '3.6'
- 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.6_cu92_upload
requires:
- nightly_binary_win_wheel_py3.6_cu92
subfolder: cu92/
- smoke_test_win_pip:
filters:
branches:
only:
- nightly
name: nightly_binary_win_wheel_py3.6_cu92_smoke_test_pip
python_version: '3.6'
requires:
- nightly_binary_win_wheel_py3.6_cu92_upload
- binary_win_wheel: - binary_win_wheel:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -1549,35 +1466,6 @@ workflows: ...@@ -1549,35 +1466,6 @@ workflows:
python_version: '3.7' python_version: '3.7'
requires: requires:
- nightly_binary_win_wheel_py3.7_cpu_upload - nightly_binary_win_wheel_py3.7_cpu_upload
- binary_win_wheel:
cu_version: cu92
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.7_cu92
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_cu92_upload
requires:
- nightly_binary_win_wheel_py3.7_cu92
subfolder: cu92/
- smoke_test_win_pip:
filters:
branches:
only:
- nightly
name: nightly_binary_win_wheel_py3.7_cu92_smoke_test_pip
python_version: '3.7'
requires:
- nightly_binary_win_wheel_py3.7_cu92_upload
- binary_win_wheel: - binary_win_wheel:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -1665,35 +1553,6 @@ workflows: ...@@ -1665,35 +1553,6 @@ workflows:
python_version: '3.8' python_version: '3.8'
requires: requires:
- nightly_binary_win_wheel_py3.8_cpu_upload - nightly_binary_win_wheel_py3.8_cpu_upload
- binary_win_wheel:
cu_version: cu92
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_wheel_py3.8_cu92
python_version: '3.8'
- 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.8_cu92_upload
requires:
- nightly_binary_win_wheel_py3.8_cu92
subfolder: cu92/
- smoke_test_win_pip:
filters:
branches:
only:
- nightly
name: nightly_binary_win_wheel_py3.8_cu92_smoke_test_pip
python_version: '3.8'
requires:
- nightly_binary_win_wheel_py3.8_cu92_upload
- binary_win_wheel: - binary_win_wheel:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -2188,34 +2047,6 @@ workflows: ...@@ -2188,34 +2047,6 @@ workflows:
python_version: '3.6' python_version: '3.6'
requires: requires:
- nightly_binary_win_conda_py3.6_cpu_upload - nightly_binary_win_conda_py3.6_cpu_upload
- binary_win_conda:
cu_version: cu92
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.6_cu92
python_version: '3.6'
- 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.6_cu92_upload
requires:
- nightly_binary_win_conda_py3.6_cu92
- smoke_test_win_conda:
filters:
branches:
only:
- nightly
name: nightly_binary_win_conda_py3.6_cu92_smoke_test_conda
python_version: '3.6'
requires:
- nightly_binary_win_conda_py3.6_cu92_upload
- binary_win_conda: - binary_win_conda:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -2300,34 +2131,6 @@ workflows: ...@@ -2300,34 +2131,6 @@ workflows:
python_version: '3.7' python_version: '3.7'
requires: requires:
- nightly_binary_win_conda_py3.7_cpu_upload - nightly_binary_win_conda_py3.7_cpu_upload
- binary_win_conda:
cu_version: cu92
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.7_cu92
python_version: '3.7'
- 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.7_cu92_upload
requires:
- nightly_binary_win_conda_py3.7_cu92
- smoke_test_win_conda:
filters:
branches:
only:
- nightly
name: nightly_binary_win_conda_py3.7_cu92_smoke_test_conda
python_version: '3.7'
requires:
- nightly_binary_win_conda_py3.7_cu92_upload
- binary_win_conda: - binary_win_conda:
cu_version: cu101 cu_version: cu101
filters: filters:
...@@ -2412,34 +2215,6 @@ workflows: ...@@ -2412,34 +2215,6 @@ workflows:
python_version: '3.8' python_version: '3.8'
requires: requires:
- nightly_binary_win_conda_py3.8_cpu_upload - nightly_binary_win_conda_py3.8_cpu_upload
- binary_win_conda:
cu_version: cu92
filters:
branches:
only: nightly
tags:
only: /v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name: nightly_binary_win_conda_py3.8_cu92
python_version: '3.8'
- 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.8_cu92_upload
requires:
- nightly_binary_win_conda_py3.8_cu92
- smoke_test_win_conda:
filters:
branches:
only:
- nightly
name: nightly_binary_win_conda_py3.8_cu92_smoke_test_conda
python_version: '3.8'
requires:
- nightly_binary_win_conda_py3.8_cu92_upload
- binary_win_conda: - binary_win_conda:
cu_version: cu101 cu_version: cu101
filters: filters:
......
...@@ -27,7 +27,10 @@ def build_workflows(prefix='', filter_branch=None, upload=False, indentation=6, ...@@ -27,7 +27,10 @@ def build_workflows(prefix='', filter_branch=None, upload=False, indentation=6,
for btype in ["wheel", "conda"]: for btype in ["wheel", "conda"]:
for os_type in ["linux", "macos", "win"]: for os_type in ["linux", "macos", "win"]:
python_versions = PYTHON_VERSIONS python_versions = PYTHON_VERSIONS
cu_versions = (["cpu", "cu92", "cu101", "cu102"] if os_type == "linux" or os_type == "win" else ["cpu"]) cu_versions_dict = {"linux": ["cpu", "cu92", "cu101", "cu102"],
"win": ["cpu", "cu101", "cu102"],
"macos": ["cpu"]}
cu_versions = cu_versions_dict[os_type]
for python_version in python_versions: for python_version in python_versions:
for cu_version in cu_versions: for cu_version in cu_versions:
for unicode in ([False, True] if btype == "wheel" and python_version == "2.7" else [False]): for unicode in ([False, True] if btype == "wheel" and python_version == "2.7" else [False]):
......
...@@ -14,3 +14,4 @@ dependencies: ...@@ -14,3 +14,4 @@ dependencies:
- pillow>=4.1.1 - pillow>=4.1.1
- scipy==1.4.1 - scipy==1.4.1
- av - av
- dataclasses
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