Skip to content

Commit

Permalink
Use new wheel containers (#105)
Browse files Browse the repository at this point in the history
rapidsai/cibuildwheel-imgs#22 allowed for new
wheel containers to be built with only one python version per container
  • Loading branch information
divyegala authored Jun 29, 2023
1 parent 0366832 commit 9c6b906
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/wheels-manylinux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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=$(
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels-manylinux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels-pure-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels-pure-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9c6b906

Please sign in to comment.