Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
trying to fix gpu image
  • Loading branch information
djherbis committed Oct 4, 2024
commit fc5c14bb850eed4c64183babd8393b3e8c1b6154
3 changes: 1 addition & 2 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ 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 remove -y --force grpc-cpp && \
micromamba install -y -c conda-forge spacy cudf>=24.4 cuml>=24.4 cupy cuda-version=$CUDA_MAJOR_VERSION.$CUDA_MINOR_VERSION && \
micromamba install -y 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