Skip to content

Commit

Permalink
fix cudf/cuml version pins with micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
djherbis committed Oct 4, 2024
1 parent c02f4c1 commit 6b5b81b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ RUN micromamba install -y mkl cartopy imagemagick pyproj "shapely<2" && \
# b/341938540: unistall grpc-cpp to allow >=v24.4 cudf and cuml to be installed.
{{ if eq .Accelerator "gpu" }}
RUN pip uninstall -y pyarrow && \
micromamba install -vvvy spacy cudf>=24.4 cuml>=24.4 cupy cuda-version=$CUDA_MAJOR_VERSION.$CUDA_MINOR_VERSION && \
micromamba remove -y --force grpc-cpp && \
micromamba install -vvvy spacy "cudf>=24.4" "cuml>=24.4" cupy cuda-version=$CUDA_MAJOR_VERSION.$CUDA_MINOR_VERSION && \
/tmp/clean-layer.sh
{{ else }}
RUN pip install spacy && \
Expand Down

0 comments on commit 6b5b81b

Please sign in to comment.