Unverified Commit 91d9797e authored by Vasilis Vryniotis's avatar Vasilis Vryniotis Committed by GitHub
Browse files

Change CI cuda versions to 10.2 (#3869)

* Change cuda versions.

* changing cu_version

* patching regenerate.py

* more changes.
parent 95226780
...@@ -133,7 +133,7 @@ binary_common: &binary_common ...@@ -133,7 +133,7 @@ binary_common: &binary_common
wheel_docker_image: wheel_docker_image:
description: "Wheel only: what docker image to use" description: "Wheel only: what docker image to use"
type: string type: string
default: "pytorch/manylinux-cuda101" default: "pytorch/manylinux-cuda102"
conda_docker_image: conda_docker_image:
description: "Conda only: what docker image to use" description: "Conda only: what docker image to use"
type: string type: string
...@@ -660,10 +660,10 @@ jobs: ...@@ -660,10 +660,10 @@ jobs:
unittest_linux_gpu: unittest_linux_gpu:
<<: *binary_common <<: *binary_common
machine: machine:
image: ubuntu-1604-cuda-10.1:201909-23 image: ubuntu-1604-cuda-10.2:202012-01
resource_class: gpu.small resource_class: gpu.small
environment: environment:
image_name: "pytorch/manylinux-cuda101" image_name: "pytorch/manylinux-cuda102"
PYTHON_VERSION: << parameters.python_version >> PYTHON_VERSION: << parameters.python_version >>
steps: steps:
- checkout - checkout
...@@ -743,7 +743,7 @@ jobs: ...@@ -743,7 +743,7 @@ jobs:
executor: executor:
name: windows-gpu name: windows-gpu
environment: environment:
CUDA_VERSION: "10.1" CUDA_VERSION: "10.2"
PYTHON_VERSION: << parameters.python_version >> PYTHON_VERSION: << parameters.python_version >>
steps: steps:
- checkout - checkout
...@@ -839,7 +839,7 @@ jobs: ...@@ -839,7 +839,7 @@ jobs:
cmake_linux_gpu: cmake_linux_gpu:
<<: *binary_common <<: *binary_common
machine: machine:
image: ubuntu-1604-cuda-10.1:201909-23 image: ubuntu-1604-cuda-10.2:202012-01
resource_class: gpu.small resource_class: gpu.small
environment: environment:
PYTHON_VERSION: << parameters.python_version >> PYTHON_VERSION: << parameters.python_version >>
...@@ -1468,7 +1468,7 @@ workflows: ...@@ -1468,7 +1468,7 @@ workflows:
name: unittest_linux_cpu_py3.9 name: unittest_linux_cpu_py3.9
python_version: '3.9' python_version: '3.9'
- unittest_linux_gpu: - unittest_linux_gpu:
cu_version: cu101 cu_version: cu102
filters: filters:
branches: branches:
only: only:
...@@ -1477,7 +1477,7 @@ workflows: ...@@ -1477,7 +1477,7 @@ workflows:
name: unittest_linux_gpu_py3.6 name: unittest_linux_gpu_py3.6
python_version: '3.6' python_version: '3.6'
- unittest_linux_gpu: - unittest_linux_gpu:
cu_version: cu101 cu_version: cu102
filters: filters:
branches: branches:
only: only:
...@@ -1486,11 +1486,11 @@ workflows: ...@@ -1486,11 +1486,11 @@ workflows:
name: unittest_linux_gpu_py3.7 name: unittest_linux_gpu_py3.7
python_version: '3.7' python_version: '3.7'
- unittest_linux_gpu: - unittest_linux_gpu:
cu_version: cu101 cu_version: cu102
name: unittest_linux_gpu_py3.8 name: unittest_linux_gpu_py3.8
python_version: '3.8' python_version: '3.8'
- unittest_linux_gpu: - unittest_linux_gpu:
cu_version: cu101 cu_version: cu102
filters: filters:
branches: branches:
only: only:
...@@ -1515,7 +1515,7 @@ workflows: ...@@ -1515,7 +1515,7 @@ workflows:
name: unittest_windows_cpu_py3.9 name: unittest_windows_cpu_py3.9
python_version: '3.9' python_version: '3.9'
- unittest_windows_gpu: - unittest_windows_gpu:
cu_version: cu101 cu_version: cu102
filters: filters:
branches: branches:
only: only:
...@@ -1524,7 +1524,7 @@ workflows: ...@@ -1524,7 +1524,7 @@ workflows:
name: unittest_windows_gpu_py3.6 name: unittest_windows_gpu_py3.6
python_version: '3.6' python_version: '3.6'
- unittest_windows_gpu: - unittest_windows_gpu:
cu_version: cu101 cu_version: cu102
filters: filters:
branches: branches:
only: only:
...@@ -1533,11 +1533,11 @@ workflows: ...@@ -1533,11 +1533,11 @@ workflows:
name: unittest_windows_gpu_py3.7 name: unittest_windows_gpu_py3.7
python_version: '3.7' python_version: '3.7'
- unittest_windows_gpu: - unittest_windows_gpu:
cu_version: cu101 cu_version: cu102
name: unittest_windows_gpu_py3.8 name: unittest_windows_gpu_py3.8
python_version: '3.8' python_version: '3.8'
- unittest_windows_gpu: - unittest_windows_gpu:
cu_version: cu101 cu_version: cu102
filters: filters:
branches: branches:
only: only:
...@@ -1569,16 +1569,16 @@ workflows: ...@@ -1569,16 +1569,16 @@ workflows:
name: cmake_linux_cpu name: cmake_linux_cpu
python_version: '3.8' python_version: '3.8'
- cmake_linux_gpu: - cmake_linux_gpu:
cu_version: cu101 cu_version: cu102
name: cmake_linux_gpu name: cmake_linux_gpu
python_version: '3.8' python_version: '3.8'
wheel_docker_image: pytorch/manylinux-cuda101 wheel_docker_image: pytorch/manylinux-cuda102
- cmake_windows_cpu: - cmake_windows_cpu:
cu_version: cpu cu_version: cpu
name: cmake_windows_cpu name: cmake_windows_cpu
python_version: '3.8' python_version: '3.8'
- cmake_windows_gpu: - cmake_windows_gpu:
cu_version: cu101 cu_version: cu102
name: cmake_windows_gpu name: cmake_windows_gpu
python_version: '3.8' python_version: '3.8'
- cmake_macos_cpu: - cmake_macos_cpu:
......
...@@ -133,7 +133,7 @@ binary_common: &binary_common ...@@ -133,7 +133,7 @@ binary_common: &binary_common
wheel_docker_image: wheel_docker_image:
description: "Wheel only: what docker image to use" description: "Wheel only: what docker image to use"
type: string type: string
default: "pytorch/manylinux-cuda101" default: "pytorch/manylinux-cuda102"
conda_docker_image: conda_docker_image:
description: "Conda only: what docker image to use" description: "Conda only: what docker image to use"
type: string type: string
...@@ -660,10 +660,10 @@ jobs: ...@@ -660,10 +660,10 @@ jobs:
unittest_linux_gpu: unittest_linux_gpu:
<<: *binary_common <<: *binary_common
machine: machine:
image: ubuntu-1604-cuda-10.1:201909-23 image: ubuntu-1604-cuda-10.2:202012-01
resource_class: gpu.small resource_class: gpu.small
environment: environment:
image_name: "pytorch/manylinux-cuda101" image_name: "pytorch/manylinux-cuda102"
PYTHON_VERSION: << parameters.python_version >> PYTHON_VERSION: << parameters.python_version >>
steps: steps:
- checkout - checkout
...@@ -743,7 +743,7 @@ jobs: ...@@ -743,7 +743,7 @@ jobs:
executor: executor:
name: windows-gpu name: windows-gpu
environment: environment:
CUDA_VERSION: "10.1" CUDA_VERSION: "10.2"
PYTHON_VERSION: << parameters.python_version >> PYTHON_VERSION: << parameters.python_version >>
steps: steps:
- checkout - checkout
...@@ -839,7 +839,7 @@ jobs: ...@@ -839,7 +839,7 @@ jobs:
cmake_linux_gpu: cmake_linux_gpu:
<<: *binary_common <<: *binary_common
machine: machine:
image: ubuntu-1604-cuda-10.1:201909-23 image: ubuntu-1604-cuda-10.2:202012-01
resource_class: gpu.small resource_class: gpu.small
environment: environment:
PYTHON_VERSION: << parameters.python_version >> PYTHON_VERSION: << parameters.python_version >>
......
...@@ -234,7 +234,7 @@ def unittest_workflows(indentation=6): ...@@ -234,7 +234,7 @@ def unittest_workflows(indentation=6):
if device_type == 'gpu': if device_type == 'gpu':
if python_version != "3.8": if python_version != "3.8":
job['filters'] = gen_filter_branch_tree('master', 'nightly') job['filters'] = gen_filter_branch_tree('master', 'nightly')
job['cu_version'] = 'cu101' job['cu_version'] = 'cu102'
else: else:
job['cu_version'] = 'cpu' job['cu_version'] = 'cpu'
...@@ -255,9 +255,9 @@ def cmake_workflows(indentation=6): ...@@ -255,9 +255,9 @@ def cmake_workflows(indentation=6):
'python_version': python_version 'python_version': python_version
} }
job['cu_version'] = 'cu101' if device == 'gpu' else 'cpu' job['cu_version'] = 'cu102' if device == 'gpu' else 'cpu'
if device == 'gpu' and os_type == 'linux': if device == 'gpu' and os_type == 'linux':
job['wheel_docker_image'] = 'pytorch/manylinux-cuda101' job['wheel_docker_image'] = 'pytorch/manylinux-cuda102'
jobs.append({f'cmake_{os_type}_{device}': job}) jobs.append({f'cmake_{os_type}_{device}': job})
return indent(indentation, jobs) return indent(indentation, jobs)
......
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