Skip to content

Commit

Permalink
Remove CUPY package installation from base image
Browse files Browse the repository at this point in the history
  • Loading branch information
edopao committed Jul 1, 2024
1 parent 4af3cff commit a2d0634
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions ci/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ RUN pyenv update && \

ENV PATH="/root/.pyenv/shims:${PATH}"

ARG CUPY_PACKAGE=cupy-cuda12x
RUN pip install --upgrade pip setuptools wheel tox ${CUPY_PACKAGE}==12.3.0
RUN pip install --upgrade pip setuptools wheel tox
4 changes: 1 addition & 3 deletions ci/cscs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,15 @@ stages:
DOCKERFILE: ci/base.Dockerfile
# change to 'always' if you want to rebuild, even if target tag exists already (if-not-exists is the default, i.e. we could also skip the variable)
CSCS_REBUILD_POLICY: if-not-exists
DOCKER_BUILD_ARGS: '["CUDA_VERSION=$CUDA_VERSION", "CUPY_PACKAGE=$CUPY_PACKAGE", "PYVERSION=$PYVERSION", "CI_PROJECT_DIR=$CI_PROJECT_DIR"]'
DOCKER_BUILD_ARGS: '["CUDA_VERSION=$CUDA_VERSION", "PYVERSION=$PYVERSION", "CI_PROJECT_DIR=$CI_PROJECT_DIR"]'
.build_baseimage_x86_64:
extends: [.container-builder-cscs-zen2, .build_baseimage]
variables:
CUDA_VERSION: 11.2.2
CUPY_PACKAGE: cupy-cuda11x
.build_baseimage_aarch64:
extends: [.container-builder-cscs-gh200, .build_baseimage]
variables:
CUDA_VERSION: 12.4.1
CUPY_PACKAGE: cupy-cuda12x

build_py311_baseimage_x86_64:
extends: .build_baseimage_x86_64
Expand Down

0 comments on commit a2d0634

Please sign in to comment.