Skip to content

Commit

Permalink
cuml
Browse files Browse the repository at this point in the history
  • Loading branch information
calderjo committed May 21, 2024
1 parent 873dbab commit d6a01fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ ENV PROJ_LIB=/opt/conda/share/proj
# the remaining pip commands: https://www.anaconda.com/using-pip-in-a-conda-environment/
RUN conda config --add channels nvidia && \
conda config --add channels rapidsai && \
conda config --set solver libmamba && \
# b/299991198 remove curl/libcurl install once DLVM base image includes version >= 7.86
conda install -c conda-forge mamba curl libcurl && \
# Base image channel order: conda-forge (highest priority), defaults.
Expand All @@ -112,13 +113,13 @@ RUN mamba install -y -c conda-forge spacy cupy cuda-version=$CUDA_MAJOR_VERSION.
/tmp/clean-layer.sh
{{ else }}
RUN pip install spacy && \
/tmp/clean-layer.sh
/tmp/clean-layer.sht
{{ end}}
{{ if eq .Accelerator "gpu" }}

# b/232247930: uninstall pyarrow to avoid double installation with the GPU specific version.
RUN pip uninstall -y pyarrow && \
mamba install -y cudf cuml && \
conda install -y cudf=24.4 cuml=24.4 && \
/tmp/clean-layer.sh

# TODO: b/296444923 - Resolve pandas dependency another way
Expand Down

0 comments on commit d6a01fd

Please sign in to comment.