From 9c6b90654eb8cdbc127aae953072c2fccbb60121 Mon Sep 17 00:00:00 2001 From: Divye Gala Date: Thu, 29 Jun 2023 17:29:11 -0400 Subject: [PATCH] Use new wheel containers (#105) https://github.com/rapidsai/cibuildwheel-imgs/pull/22 allowed for new wheel containers to be built with only one python version per container --- .github/workflows/wheels-manylinux-build.yml | 19 +++++++++---------- .github/workflows/wheels-manylinux-test.yml | 2 +- .github/workflows/wheels-pure-build.yml | 2 +- .github/workflows/wheels-pure-test.yml | 2 +- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/wheels-manylinux-build.yml b/.github/workflows/wheels-manylinux-build.yml index d0c391ff..acd870b0 100644 --- a/.github/workflows/wheels-manylinux-build.yml +++ b/.github/workflows/wheels-manylinux-build.yml @@ -115,14 +115,14 @@ jobs: set -eo pipefail export MATRIX=" - - { ctk: '11.8.0', arch: 'amd64', python: '3.9', image: 'rapidsai/manylinux_v2_2014:cuda-devel-11.8.0-centos7'} - - { ctk: '11.8.0', arch: 'amd64', python: '3.10', image: 'rapidsai/manylinux_v2_2014:cuda-devel-11.8.0-centos7' } - - { ctk: '11.8.0', arch: 'arm64', python: '3.9', image: 'rapidsai/manylinux_v2_2_31:cuda-devel-11.8.0-ubuntu20.04' } - - { ctk: '11.8.0', arch: 'arm64', python: '3.10', image: 'rapidsai/manylinux_v2_2_31:cuda-devel-11.8.0-ubuntu20.04' } - - { ctk: '12.0.1', arch: 'amd64', python: '3.9', image: 'rapidsai/manylinux_v2_2014:cuda-devel-12.0.1-centos7'} - - { ctk: '12.0.1', arch: 'amd64', python: '3.10', image: 'rapidsai/manylinux_v2_2014:cuda-devel-12.0.1-centos7' } - - { ctk: '12.0.1', arch: 'arm64', python: '3.9', image: 'rapidsai/manylinux_v2_2_31:cuda-devel-12.0.1-ubuntu20.04' } - - { ctk: '12.0.1', arch: 'arm64', python: '3.10', image: 'rapidsai/manylinux_v2_2_31:cuda-devel-12.0.1-ubuntu20.04' } + - { ctk: '11.8.0', arch: 'amd64', python: '3.9', linux_ver: 'centos7' } + - { ctk: '11.8.0', arch: 'amd64', python: '3.10', linux_ver: 'centos7' } + - { ctk: '11.8.0', arch: 'arm64', python: '3.9', linux_ver: 'ubuntu20.04' } + - { ctk: '11.8.0', arch: 'arm64', python: '3.10', linux_ver: 'ubuntu20.04' } + - { ctk: '12.0.1', arch: 'amd64', python: '3.9', linux_ver: 'centos7' } + - { ctk: '12.0.1', arch: 'amd64', python: '3.10', linux_ver: 'centos7' } + - { ctk: '12.0.1', arch: 'arm64', python: '3.9', linux_ver: 'ubuntu20.04' } + - { ctk: '12.0.1', arch: 'arm64', python: '3.10', linux_ver: 'ubuntu20.04' } " echo "MATRIX=$( @@ -137,8 +137,7 @@ jobs: matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }} runs-on: "linux-${{ matrix.arch }}-${{ inputs.node_type }}" container: - image: "${{ matrix.image }}" - + image: "rapidsai/ci-wheel:cuda${{ matrix.ctk }}-${{ matrix.linux_ver }}-py${{ matrix.python }}" env: RAPIDS_BUILD_TYPE: ${{ inputs.build_type }} RAPIDS_PY_VERSION: ${{ matrix.python }} diff --git a/.github/workflows/wheels-manylinux-test.yml b/.github/workflows/wheels-manylinux-test.yml index f3caceb6..79fad71a 100644 --- a/.github/workflows/wheels-manylinux-test.yml +++ b/.github/workflows/wheels-manylinux-test.yml @@ -118,7 +118,7 @@ jobs: matrix: ${{ fromJSON(needs.wheel-test-compute-matrix.outputs.MATRIX) }} runs-on: "linux-${{ matrix.arch }}-gpu-${{ matrix.gpu }}-${{ matrix.driver }}-1" container: - image: "rapidsai/citestwheel:cuda-devel-${{ matrix.ctk }}-${{ matrix.image }}" + image: "rapidsai/citestwheel:cuda${{ matrix.ctk }}-${{ matrix.image }}-py${{ matrix.python }}" options: ${{ inputs.test-docker-options }} env: NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} # GPU jobs must set this container env variable diff --git a/.github/workflows/wheels-pure-build.yml b/.github/workflows/wheels-pure-build.yml index e929e7b7..1809eb89 100644 --- a/.github/workflows/wheels-pure-build.yml +++ b/.github/workflows/wheels-pure-build.yml @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest container: # Always use the manylinux container built on x86 to match the runner arch - image: "rapidsai/manylinux_v2_2014:cuda-devel-11.8.0-centos7" + image: "rapidsai/ci-wheel:cuda${{ matrix.ctk }}-centos7-py3.10" env: RAPIDS_BUILD_TYPE: ${{ inputs.build_type }} RAPIDS_PY_VERSION: "3.10" diff --git a/.github/workflows/wheels-pure-test.yml b/.github/workflows/wheels-pure-test.yml index 400003fc..e9b354f5 100644 --- a/.github/workflows/wheels-pure-test.yml +++ b/.github/workflows/wheels-pure-test.yml @@ -78,7 +78,7 @@ jobs: strategy: matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }} container: - image: "rapidsai/citestwheel:cuda-devel-${{ matrix.CUDA_VER }}-ubuntu18.04" + image: "rapidsai/citestwheel:cuda${{ matrix.CUDA_VER }}-ubuntu18.04-py3.10" env: NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} # GPU jobs must set this container env variable RAPIDS_PY_VERSION: "3.10"